diff options
author | wm4 <wm4@nowhere> | 2014-11-25 18:15:45 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-11-25 18:15:45 +0100 |
commit | e1ae936e6bc693b0b957a10b7c6689a6e4d81814 (patch) | |
tree | f8f4b3b1c27c2352301606854b248bfeaf00d155 /audio/decode/ad_lavc.c | |
parent | 5d5f5b094b7e238fc2b0c996bc4baeed23b085dc (diff) | |
download | mpv-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 'audio/decode/ad_lavc.c')
0 files changed, 0 insertions, 0 deletions