mpv/audio
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
..
decode dec_video, dec_audio: avoid full reinit on switches to the same segment 2016-11-09 16:44:06 +01:00
filter af_pan: fix typo 2016-09-19 19:01:52 +02:00
out audio/out/push: play silence on --audio-stream-silence 2016-11-24 20:52:15 +01:00
audio.c
audio.h
audio_buffer.c
audio_buffer.h
chmap.c
chmap.h player: remove special-case for DL/DR speakers 2016-08-04 19:14:35 +02:00
chmap_sel.c
chmap_sel.h
fmt-conversion.c
fmt-conversion.h
format.c
format.h