Skip to content

Commit

Permalink
bug fix for
Browse files Browse the repository at this point in the history
Unable to set audio speed after pausing
  • Loading branch information
VIPlearner authored and JcMinarro committed Nov 12, 2024
1 parent d5c5541 commit f083f95
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,9 @@ internal class StreamMediaPlayer(
mediaPlayer.isSpeedSettable()
) {
playingSpeed = newSpeed
mediaPlayer.speed = newSpeed
if (playerState == PlayerState.PLAYING) {
mediaPlayer.speed = newSpeed
}
publishSpeed(currentAudioHash, newSpeed)
}
}
Expand Down

0 comments on commit f083f95

Please sign in to comment.