diff options
author | wm4 <wm4@nowhere> | 2016-11-14 13:41:25 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-11-14 13:42:49 +0100 |
commit | c1ae1def85846584c04525d8dbb061191f08ff2d (patch) | |
tree | 219bd2aba3fe3031aa42a6e34210e4466ec2bfb4 /common/av_common.h | |
parent | a2b93e0c275931532dc15c2cf6a5ebeafec9ed6c (diff) | |
download | mpv-c1ae1def85846584c04525d8dbb061191f08ff2d.tar.bz2 mpv-c1ae1def85846584c04525d8dbb061191f08ff2d.tar.xz |
ao_alsa: explicitly add default device manually
The "default" entry (which is and always was mpv/mplayer's default) does
not have a description set in the ALSA API. (While "sysdefault"
strangely has.)
Instead of an empty description, this should show something nice, so
reuse the ao.c code for naming default devices (see previous commit).
It's still a bit ugly that audio-device-list will have a default entry
for "Autoselect device" and "Default (alsa)", but then again we probably
want to allow the user to force ALSA (i.e. prevent fallbacks to other
AOs) just because ALSA is so flaky and makes this a legitimate feature.
Diffstat (limited to 'common/av_common.h')
0 files changed, 0 insertions, 0 deletions