1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-23 23:32:26 +00:00
mpv/audio/out
wm4 ae3e151b27 ao_coreaudio_utils: fix format back-mapping
Mapping of spdif formats was imperfect. Since the first format on the
list is somehow AAC, it was returned first, which is confusing, because
CoreAudio calls all spdif formats AC3. Since the spdif formats have some
rather arbitrary, reverse mapping the formats didn"t actually work
either. Fix by explicitly ignoring these when spdif is used.

Also, don't forget to set the samplerate in ca_asbd_to_mpformat(), or it
will work only in some cases.
2015-07-03 19:28:00 +02:00
..
ao_alsa.c audio: fix format function consistency issues 2015-06-26 23:06:37 +02:00
ao_coreaudio_chmap.c ao_coreaudio: support native mono output 2015-06-29 23:55:03 +02:00
ao_coreaudio_chmap.h ao_coreaudio: move channel mapping code to a separate file 2015-05-05 21:47:19 +02:00
ao_coreaudio_exclusive.c ao_coreaudio_exclusive: do not set ao->bps 2015-07-03 19:28:00 +02:00
ao_coreaudio_properties.c
ao_coreaudio_properties.h
ao_coreaudio_utils.c ao_coreaudio_utils: fix format back-mapping 2015-07-03 19:28:00 +02:00
ao_coreaudio_utils.h ao_coreaudio_exclusive: move generic functions to utils 2015-06-02 22:25:34 +02:00
ao_coreaudio.c ao_coreaudio: restore physical format if it can't be set exactly 2015-06-30 00:02:12 +02:00
ao_dsound.c audio: fix format function consistency issues 2015-06-26 23:06:37 +02:00
ao_jack.c Update license headers 2015-04-13 12:10:01 +02:00
ao_lavc.c audio: fix format function consistency issues 2015-06-26 23:06:37 +02: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 audio: fix format function consistency issues 2015-06-26 23:06:37 +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
ao_wasapi_utils.c ao_wasapi: fix regression 2015-06-27 17:59:27 +02: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 ao_wasapi: fix crash on hotplug init error 2015-06-17 13:42:31 +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: fix format function consistency issues 2015-06-26 23:06:37 +02:00
ao.h Update license headers 2015-04-13 12:10:01 +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