mirror of
https://github.com/mpv-player/mpv
synced 2024-12-29 02:22:19 +00:00
b6af3db568
Coreaudio stopped setting it a few releases ago (66a958bb4f
). There is
not much of a user- or API-visible change, so remove it without
deprecation.
9 lines
260 B
Lua
9 lines
260 B
Lua
local utils = require("mp.utils")
|
|
|
|
mp.observe_property("audio-device-list", "native", function(name, val)
|
|
print("Audio device list changed:")
|
|
for index, e in ipairs(val) do
|
|
print(" - '" .. e.name .. "' (" .. e.description .. ")")
|
|
end
|
|
end)
|