mpv/audio/out
wm4 c03a67c37c audio/out/push: play silence on --audio-stream-silence
Until now, this was only implemented for ao_alsa and AOs not using
push.c. ao_alsa.c relied on enabling funny underrun semantics for
avoiding resets on lower levels, while other AOs using push.c didn't do
anything.

Change this and at least make push.c copy silent data to the AO. This
still isn't perfect as keeping track of how much silence was played when
seems complex, so we don't do it. The consequence is that frame-stepping
will essentially randomize the A/V offset (it'll recover immediately
when unpausing, but still ugly). Also, in order to empty the currently
buffered audio on seeks etc., we still call ao_driver->reset and so on,
so the AO driver will still need to handle this specially.

The intent is to make behavior with ALSA less weird (for one we can
remove the code in ao_alsa.c that tries to trigger an initial
underflow). Also might help with #3754.
2016-11-24 20:52:15 +01:00
..
ao.c audio: make empty device ID mean default device 2016-11-14 13:42:41 +01:00
ao.h player, ao, vo: don't call mp_input_wakeup() directly 2016-09-16 14:37:48 +02:00
ao_alsa.c audio/out/push: play silence on --audio-stream-silence 2016-11-24 20:52:15 +01:00
ao_audiounit.m audio/out: add AudioUnit output driver for iOS 2016-11-01 16:25:40 +01:00
ao_coreaudio.c audio/out: deprecate "exclusive" sub-options 2016-09-05 21:26:39 +02:00
ao_coreaudio_chmap.c audio/out: add AudioUnit output driver for iOS 2016-11-01 16:25:40 +01:00
ao_coreaudio_chmap.h audio/out: add AudioUnit output driver for iOS 2016-11-01 16:25:40 +01:00
ao_coreaudio_exclusive.c osdep: rename atomics.h to atomic.h 2016-09-07 11:26:25 +02:00
ao_coreaudio_properties.c ao_coreaudio: use correct free function on errors 2016-07-13 16:34:00 +02: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 audio/out: add AudioUnit output driver for iOS 2016-11-01 16:25:40 +01:00
ao_coreaudio_utils.h audio/out: add AudioUnit output driver for iOS 2016-11-01 16:25:40 +01:00
ao_jack.c ao_jack: move to global options 2016-09-05 21:04:41 +02:00
ao_lavc.c audio: use --audio-channels=auto behavior, except on ALSA 2016-08-04 20:49:20 +02:00
ao_null.c options: deprecate suboptions for the remaining AO/VOs 2016-09-05 21:26:39 +02:00
ao_openal.c ao_openal: enable building on OSX 2016-09-21 12:43:14 +02:00
ao_opensles.c options: deprecate suboptions for the remaining AO/VOs 2016-09-05 21:26:39 +02:00
ao_oss.c audio/out: deprecate device sub-options 2016-09-05 21:26:39 +02:00
ao_pcm.c ao_pcm: remove some useless messages 2016-09-07 12:54:33 +02:00
ao_pulse.c audio/out: deprecate device sub-options 2016-09-05 21:26:39 +02:00
ao_rsound.c ao_rsound: fix compilation 2016-09-07 18:10:12 +02:00
ao_sdl.c options: deprecate suboptions for the remaining AO/VOs 2016-09-05 21:26:39 +02:00
ao_sndio.c audio/out: deprecate device sub-options 2016-09-05 21:26:39 +02:00
ao_wasapi.c audio/out: deprecate "exclusive" sub-options 2016-09-05 21:26:39 +02:00
ao_wasapi.h osdep: rename atomics.h to atomic.h 2016-09-07 11:26:25 +02:00
ao_wasapi_changenotify.c win32: build with -DINITGUID 2016-09-28 21:38:52 +10:00
ao_wasapi_utils.c win32: build with -DINITGUID 2016-09-28 21:38:52 +10:00
internal.h player, ao, vo: don't call mp_input_wakeup() directly 2016-09-16 14:37:48 +02:00
pull.c audio: fix --audio-stream-silence with ao_wasapi 2016-11-21 19:35:06 +01:00
push.c audio/out/push: play silence on --audio-stream-silence 2016-11-24 20:52:15 +01:00