1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-25 04:38:01 +00:00
mpv/audio
sfan5 f3b29a680c ao/pulse: flush stream on underrun
The underflow callback introduced in d27ad96 can be called
when the buffer is still full, causing playback to never
resume afterwards since get_state() reports free_samples == 0.
Fix this by fully resetting on underrun, which flushes
the stream and ensures free buffer space.

fixes 
2020-07-12 23:34:08 +02:00
..
decode options: change option macros and all option declarations 2020-03-18 19:52:01 +01:00
filter af_scaletempo: handle obscure integer overflow 2020-06-02 20:43:49 +02:00
out ao/pulse: flush stream on underrun 2020-07-12 23:34:08 +02:00
aframe.c audio: add frame alloc function 2020-05-25 01:54:37 +02:00
aframe.h audio: add frame alloc function 2020-05-25 01:54:37 +02:00
audio_buffer.c audio_buffer: fix some more theoretical UB 2019-09-19 20:37:05 +02:00
audio_buffer.h
chmap_sel.c
chmap_sel.h
chmap.c
chmap.h
fmt-conversion.c audio: add support for AV_SAMPLE_FMT_S64* 2019-09-27 21:21:34 +02:00
fmt-conversion.h
format.c audio: fix copy&paste error 2019-09-27 21:31:04 +02:00
format.h audio: add support for AV_SAMPLE_FMT_S64* 2019-09-27 21:21:34 +02:00