You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
onEnd callback is not fired on Android if setSpeed()
🪲 What is the observed behavior?
onEnd callback is not fired on Android if setSpeed() before play().
🪲 Please post your code:
varwhoosh=newSound('whoosh.mp3',Sound.MAIN_BUNDLE,(error)=>{if(error){console.log('failed to load the sound',error);return;}whoosh.setSpeed(NUMBER)whoosh.play((success)=>{// onEnd callback will not fire if I set speed before play(). It occurs only on Androidif(success){console.log('successfully finished playing');}else{console.log('playback failed due to audio decoding errors');}});});
🪲 Description
onEnd callback is not fired on Android if setSpeed()
🪲 What is the observed behavior?
onEnd callback is not fired on Android if setSpeed() before play().
🪲 Please post your code:
Is your issue with...
Are you using...
react-native run-android
)Which versions are you using?
Does the problem occur on...
If your problem is happening on a device, which device?
The text was updated successfully, but these errors were encountered: