Merge tag 'v0.21.23'

release v0.21.23
This commit is contained in:
Max Kellermann
2020-04-23 17:54:22 +02:00
20 changed files with 238 additions and 60 deletions
+6
View File
@@ -967,6 +967,12 @@ Player::SongBorder() noexcept
if (border_pause) {
paused = true;
pc.listener.OnBorderPause();
/* drain all outputs to guarantee the current song is
really being played to the end; without this, the
Pause() call would drop all ring buffers */
pc.outputs.Drain();
pc.outputs.Pause();
idle_add(IDLE_PLAYER);
}