diff --git a/SwiftAudioEx/Classes/AudioPlayer.swift b/SwiftAudioEx/Classes/AudioPlayer.swift index a8ca2b2..410f33a 100755 --- a/SwiftAudioEx/Classes/AudioPlayer.swift +++ b/SwiftAudioEx/Classes/AudioPlayer.swift @@ -137,7 +137,12 @@ public class AudioPlayer: AVPlayerWrapperDelegate { public var rate: Float { get { wrapper.rate } - set { wrapper.rate = newValue } + set { + wrapper.rate = newValue + if (automaticallyUpdateNowPlayingInfo) { + updateNowPlayingPlaybackValues() + } + } } // MARK: - Init