mpv/audio
wm4 261506e36e audio: change playback restart and resyncing
This commit makes audio decoding non-blocking. If e.g. the network is
too slow the playloop will just go to sleep, instead of blocking until
enough data is available.

For video, this was already done with commit 7083f88c. For audio, it's
unfortunately much more complicated, because the audio decoder was used
in a blocking manner. Large changes are required to get around this.
The whole playback restart mechanism must be turned into a statemachine,
especially since it has close interactions with video restart. Lots of
video code is thus also changed.

(For the record, I don't think switching this code to threads would
make this conceptually easier: the code would still have to deal with
external input while blocked, so these in-between states do get visible
[and thus need to be handled] anyway. On the other hand, it certainly
should be possible to modularize this code a bit better.)

This will probably cause a bunch of regressions.
2014-07-28 21:20:37 +02:00
..
decode audio: change playback restart and resyncing 2014-07-28 21:20:37 +02:00
filter audio: remove unused metadata field 2014-07-21 19:29:58 +02:00
out ao_pulse: allow disabling timing bug workarounds 2014-07-26 23:20:09 +02:00
audio.c
audio.h
audio_buffer.c
audio_buffer.h
chmap.c Add more const 2014-06-11 00:39:14 +02:00
chmap.h
chmap_sel.c Add more const 2014-06-11 00:39:14 +02:00
chmap_sel.h
fmt-conversion.c
fmt-conversion.h
format.c
format.h build: deal with endian mess 2014-07-10 00:58:56 +02:00
mixer.c player: show "neutral" position markers for OSD bars 2014-06-08 23:52:58 +02:00
mixer.h player: show "neutral" position markers for OSD bars 2014-06-08 23:52:58 +02:00