mirror of
https://github.com/mpv-player/mpv
synced 2024-12-29 02:22:19 +00:00
fabc92453f
Fixes: audio-hotplug-test.lua:1:7: unused variable utils audio-hotplug-test.lua:3:61: unused argument name audio-hotplug-test.lua:5:9: unused loop variable index
7 lines
218 B
Lua
7 lines
218 B
Lua
mp.observe_property("audio-device-list", "native", function(_, val)
|
|
print("Audio device list changed:")
|
|
for _, e in ipairs(val) do
|
|
print(" - '" .. e.name .. "' (" .. e.description .. ")")
|
|
end
|
|
end)
|