Merge tag 'v0.21.23'
release v0.21.23
This commit is contained in:
@@ -62,7 +62,7 @@ mixramp_interpolate(const char *ramp_list, float required_db) noexcept
|
||||
++ramp_list;
|
||||
|
||||
/* Check for exact match. */
|
||||
if (db == required_db) {
|
||||
if (db >= required_db) {
|
||||
return duration;
|
||||
}
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user