Update playback speed button if service is not running

This commit is contained in:
ByteHamster 2019-09-20 22:49:03 +02:00
parent f9e7e9aeb6
commit d5130b21e3
1 changed files with 2 additions and 0 deletions

View File

@ -728,6 +728,8 @@ public class PlaybackController {
public void setPlaybackSpeed(float speed) { public void setPlaybackSpeed(float speed) {
if (playbackService != null) { if (playbackService != null) {
playbackService.setSpeed(speed); playbackService.setSpeed(speed);
} else {
onPlaybackSpeedChange();
} }
} }
public void setSkipSilence(boolean skipSilence) { public void setSkipSilence(boolean skipSilence) {