diff options
author | sfan5 <sfan5@live.de> | 2020-07-11 00:16:53 +0200 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2020-07-12 23:34:08 +0200 |
commit | f3b29a680c7ded759e5304dce0c73d172eac7dae (patch) | |
tree | 5d4e071ddcec234aae3e3efe485b77aba4f11fc2 /osdep/macOS_swift_bridge.h | |
parent | c82abb3a65ded48c39d46d4e2f966c5883ebe6c2 (diff) | |
download | mpv-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 'osdep/macOS_swift_bridge.h')
0 files changed, 0 insertions, 0 deletions