diff options
Diffstat (limited to 'TOOLS')
-rw-r--r-- | TOOLS/lua/audio-hotplug-test.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/TOOLS/lua/audio-hotplug-test.lua b/TOOLS/lua/audio-hotplug-test.lua index 8dedc68cbe..f27b793151 100644 --- a/TOOLS/lua/audio-hotplug-test.lua +++ b/TOOLS/lua/audio-hotplug-test.lua @@ -6,3 +6,8 @@ mp.observe_property("audio-device-list", "native", function(name, val) print(" - '" .. e.name .. "' (" .. e.description .. ")") end end) + +mp.observe_property("audio-out-detected-device", "native", function(name, val) + print("Detected audio device changed:") + print(" - '" .. val) +end) |