audioplayers icon indicating copy to clipboard operation
audioplayers copied to clipboard

When setPlaybackRate() is called, playback will resume, but the playback state is out of sync.

Open FrankyLee-dev opened this issue 2 years ago • 3 comments

Current bug behaviour

call in paused state setPlaybackRate() , will resume playback, but the playback state is out of sync.

Expected behaviour

calling setPlaybackRate() in the paused state does not resume playback

Steps to reproduce

calling setPlaybackRate() in the paused state

Environment information

  • audioplayers version: ^1.2.0
  • OS name and version: Android 13

  • OS name and version: iOS 16.1.2

  • build mode: debug

FrankyLee-dev avatar Jan 04 '23 03:01 FrankyLee-dev

Fyi I experience the same bug on version 4.1.0 as well as 3.0.1. Mine was on Android platform.

kaoru093 avatar Jun 26 '23 07:06 kaoru093

Hi.

I want to confirm that this is happening as well (v4.0.1) . Both on iOS and macOS.

define-private-public avatar Jul 20 '23 04:07 define-private-public

My work around is to call pause() right after calling setPlaybackRate().

define-private-public avatar Jul 20 '23 04:07 define-private-public