summaryrefslogtreecommitdiffstats
path: root/core/codecs.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-11-25 18:15:45 +0100
committerwm4 <wm4@nowhere>2014-11-25 18:15:45 +0100
commite1ae936e6bc693b0b957a10b7c6689a6e4d81814 (patch)
treef8f4b3b1c27c2352301606854b248bfeaf00d155 /core/codecs.c
parent5d5f5b094b7e238fc2b0c996bc4baeed23b085dc (diff)
downloadmpv-e1ae936e6bc693b0b957a10b7c6689a6e4d81814.tar.bz2
mpv-e1ae936e6bc693b0b957a10b7c6689a6e4d81814.tar.xz
ao_alsa: always enable "plug" plugin for non-default device
This seems safer: otherwise, opening the AO could randomly fail if the audio formats happens to be not float. Unfortunately, this only works if the user does not select a device. Since ALSA devices are arbitrary strings, including plugins with complex parameters, it's not trivial or maybe even impossible to edit the string in a way the "plug" plugin is added. With --audio-device, it would be safe for users to select either "default" or one of the "plughw" devices. Everything else seems questionable.
Diffstat (limited to 'core/codecs.c')
0 files changed, 0 insertions, 0 deletions