1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-04 14:12:10 +00:00
mpv/audio/out
wm4 e694d67366 ao: rework audio output driver probing
Make the code a bit more uniform. Always build a "dummy" audio output
list before probing, which means that opening preferred devices and
pure auto-probing is done with the same code. We can drop the second
ao_init() call.

This also makes the next commit easier, which wants to selectively
fallback to ao_null. This could have been implemented by passing a
different requested audio output list (instead of reading it from
MPOptions), but I think it's better if this rather special feature
is handled internally in the AO code. This also makes sure the AO
code can handle its own options (such as the audio output list) in
a self-contained way.
2015-10-05 19:10:22 +02:00
..
ao_alsa.c ao_alsa: improve handling of device disconnection 2015-09-28 22:03:14 +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: fix device latency, share the code 2015-07-06 17:49:28 +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_utils: fix error handling in device listing code 2015-09-28 22:03:14 +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: fix device latency, share the code 2015-07-06 17:49:28 +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 ao_lavc: minor simplification 2015-09-11 09:01:49 +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 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 win32: revert wchar_t changes 2015-08-01 21:09:11 +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 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 ao: rework audio output driver probing 2015-10-05 19:10:22 +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