summaryrefslogtreecommitdiffstats
path: root/audio/fmt-conversion.h
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2020-07-11 00:16:53 +0200
committersfan5 <sfan5@live.de>2020-07-12 23:34:08 +0200
commitf3b29a680c7ded759e5304dce0c73d172eac7dae (patch)
tree5d4e071ddcec234aae3e3efe485b77aba4f11fc2 /audio/fmt-conversion.h
parentc82abb3a65ded48c39d46d4e2f966c5883ebe6c2 (diff)
downloadmpv-f3b29a680c7ded759e5304dce0c73d172eac7dae.tar.bz2
mpv-f3b29a680c7ded759e5304dce0c73d172eac7dae.tar.xz
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 #7874
Diffstat (limited to 'audio/fmt-conversion.h')
0 files changed, 0 insertions, 0 deletions