output/PipeWire: after Cancel(), refill buffer before resuming playback

Deactivate the stream in Cancel().  This fixes stuttering after a
manual song change by refilling the whole ring buffer before
reactivating the stream.

Closes https://github.com/MusicPlayerDaemon/MPD/issues/1354
This commit is contained in:
Max Kellermann
2022-07-09 00:59:35 +02:00
parent 547a084c7e
commit c8dae95eff
2 changed files with 10 additions and 0 deletions

1
NEWS
View File

@@ -7,6 +7,7 @@ ver 0.23.8 (not yet released)
- cdio_paranoia: don't scan for replay gain tags
- pipewire: fix playback of very short tracks
- pipewire: drop all buffers before manual song change
- pipewire: fix stuttering after manual song change
- snapcast: fix busy loop while paused
- snapcast: fix stuttering after resuming playback
* mixer