Skip to content

Commit

Permalink
Fix playback speed not being updated in PlayQueuAcitvity
Browse files Browse the repository at this point in the history
Fixes #6419
  • Loading branch information
TobiGr committed Jun 3, 2021
1 parent 71aa6c6 commit b5f8600
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,10 @@ public void onPlaybackParameterChanged(final float playbackTempo, final float pl
if (player != null) {
player.setPlaybackParameters(playbackTempo, playbackPitch, playbackSkipSilence);
}
if (menu != null) {
final MenuItem item = menu.findItem(R.id.action_playback_speed);
item.setTitle(formatSpeed(playbackTempo));
}
}

////////////////////////////////////////////////////////////////////////////
Expand Down

0 comments on commit b5f8600

Please sign in to comment.