0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00
mpv/audio/out
wm4 c971fefd41 ao_coreaudio_chmap: allow stereo as fallback; avoid mono fallback
If no channel layouts were determined (which can actually happen with
some "strange" devices), the selection code was falling back to mono,
because mono is always added as a fallback. This doesn't seem quite
right.

Allow a fallback to stereo too, if no channel layout could be retrieved
at all. So we always assume that mono and stereo work, if no other
layouts are available.

(I still don't know what the CoreAudio stereo layout is supposed to do.
It could be used to swap left and right channels. It could also be used
to pad/move the channels, but I have never seen that. And it can be set
to non-stereo channels, which breaks mpv. Whatever.)
2015-10-26 15:54:45 +01:00
..
ao_alsa.c audio: always log channel maps before determining final map 2015-10-26 15:52:08 +01:00
ao_coreaudio_chmap.c ao_coreaudio_chmap: allow stereo as fallback; avoid mono fallback 2015-10-26 15:54:45 +01:00
ao_coreaudio_chmap.h ao_coreaudio_exclusive: deal with devices return different channel count 2015-10-21 18:54:48 +02:00
ao_coreaudio_exclusive.c ao_coreaudio_exclusive: fix build 2015-10-21 22:18:41 +02:00
ao_coreaudio_properties.c ao_coreaudio: use device UID instead of ID for selection 2015-02-03 00:40:02 +01:00
ao_coreaudio_properties.h ao_coreaudio: report hardware latency to ao_read_data 2014-07-03 20:05:15 +02:00
ao_coreaudio_utils.c ao_coreaudio: log current format before setting new format 2015-10-21 18:53:50 +02:00
ao_coreaudio_utils.h ao_coreaudio: fix device latency, share the code 2015-07-06 17:49:28 +02:00
ao_coreaudio.c ao_coreaudio: avoid unnecessary format changes 2015-10-21 18:54:36 +02:00
ao_dsound.c win32: revert wchar_t changes 2015-08-01 21:09:11 +02:00
ao_jack.c Update license headers 2015-04-13 12:10:01 +02:00
ao_lavc.c audio: use AVFrames with more than 8 channels correctly 2015-10-26 15:54:00 +01:00
ao_null.c ao_null: add an option for testing channel layout selection 2015-04-27 23:21:58 +02:00
ao_openal.c Update license headers 2015-04-13 12:10:01 +02:00
ao_oss.c ao_oss: use new sample format determination code 2015-09-10 23:39:46 +02:00
ao_pcm.c audio: fix format function consistency issues 2015-06-26 23:06:37 +02:00
ao_pulse.c audio: fix format function consistency issues 2015-06-26 23:06:37 +02:00
ao_rsound.c audio: remove S8, U16, U24, U32 formats 2015-06-16 21:11:59 +02:00
ao_sdl.c audio: remove S8, U16, U24, U32 formats 2015-06-16 21:11:59 +02:00
ao_sndio.c ao_sndio: fix comment 2015-06-26 23:03:37 +02:00
ao_wasapi_changenotify.c win32: revert wchar_t changes 2015-08-01 21:09:11 +02:00
ao_wasapi_utils.c audio: always log channel maps before determining final map 2015-10-26 15:52:08 +01:00
ao_wasapi_utils.h ao/wasapi: use atomic state variable instead of different events 2015-04-04 16:31:14 -07:00
ao_wasapi.c win32: revert wchar_t changes 2015-08-01 21:09:11 +02:00
ao_wasapi.h ao/wasapi: use atomic state variable instead of different events 2015-04-04 16:31:14 -07:00
ao.c audio: always log channel maps before determining final map 2015-10-26 15:52:08 +01:00
ao.h audio: add option for falling back to ao_null 2015-10-05 19:12:23 +02:00
internal.h ao: make better use of atomics 2015-05-11 23:27:41 +02:00
pull.c audio/out/pull: avoid dropping some audio when draining 2015-06-09 18:26:14 +02:00
push.c audio: fix format function consistency issues 2015-06-26 23:06:37 +02:00