0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00
mpv/audio
wm4 c1e97161f4 ao_alsa: try to fallback to "default" device if device is busy
ALSA is crap. It's impossible to make multichannel playback just do the
right thing. dmix (the default on most distros) can do stereo only, and
will refuse to play multichannel. On the other hand, if you try like mpv
(and mplayer) to open a multichannel device (like "surround51" etc.),
this will actually open a hardware device, which will either fail if
dmix is active, or block out dmix if opening succeeds.

This commit falls back to "default" (i.e. dmix) if opening a
multichannel device fails, which is a tiny step towards the right
behavior. (Although fixing it fully is impossible.)
2014-12-04 22:42:07 +01:00
..
decode audio: make decoders output refcounted frames 2014-11-10 22:02:05 +01:00
filter audio: make mp_audio_config_to_str return a stack-allocated string 2014-11-25 11:11:31 +01:00
out ao_alsa: try to fallback to "default" device if device is busy 2014-12-04 22:42:07 +01:00
audio_buffer.c Split mpvcore/ into common/, misc/, bstr/ 2013-12-17 02:39:45 +01:00
audio_buffer.h audio: add mp_audio_buffer 2013-11-12 23:28:21 +01:00
audio.c audio: make mp_audio_config_to_str return a stack-allocated string 2014-11-25 11:11:31 +01:00
audio.h audio: make mp_audio_config_to_str return a stack-allocated string 2014-11-25 11:11:31 +01:00
chmap_sel.c audio: fix one of the previous commits 2014-12-01 18:28:00 +01:00
chmap_sel.h audio: allow more than 20 channel map entries 2014-12-01 15:28:06 +01:00
chmap.c audio: make mp_chmap_to_str() return a stack-allocated string 2014-11-24 19:56:01 +01:00
chmap.h audio: make mp_chmap_to_str() return a stack-allocated string 2014-11-24 19:56:01 +01:00
fmt-conversion.c audio: fix format ID conversion 2013-12-23 21:24:41 +01:00
fmt-conversion.h ad_lavc: use fmt-conversion to map sample formats 2013-04-13 04:21:27 +02:00
format.c ao/format: add af_fmt_is_float 2014-12-01 03:40:23 -08:00
format.h ao/format: add af_fmt_is_float 2014-12-01 03:40:23 -08:00
mixer.c mixer: don't show softvol neutral marker on OSD if not using softvol 2014-11-27 10:11:55 +01:00
mixer.h player: show "neutral" position markers for OSD bars 2014-06-08 23:52:58 +02:00