13
0

Default_Play_Speed: honor preference setting to reset the default_speed on Stop

This commit is contained in:
Ben Loftis 2021-06-24 10:52:54 -05:00 committed by Robin Gareus
parent aaa96ff292
commit 5e4fe43580
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -505,8 +505,10 @@ TransportFSM::maybe_reset_speed ()
if (Config->get_reset_default_speed_on_stop()) {
if (most_recently_requested_speed != 1.0) {
state_changed = set_speed (Event (1.0));
if (most_recently_requested_speed != 1.0 || default_speed() != 1.0) {
set_default_speed(1.0);
set_speed (Event (1.0));
state_changed = true;
}
} else {