Sound currentTime

I when i updated to babylonjs v5.40.0, the audio currentTime seems jumpy. When I pause the sound and play the sound again (here I’m using the previous current Time at which it was paused as the offset), However the current time for the audio skips, and the audio doesnt resume from where it’s paused. Here’s a repro playground

cc @docEdub, but I think there has been some fixes lately to the sound engine, so you should get the very latest version (v5.41.0), and it may even be possible that the latest fix is not deployed yet…

2 Likes

@Evgeni_Popov
Thanks, happy new year!

I’m seeing this in the latest version, too. Looks like I introduced a bug when fixing a different issue. Investigating now.

Fixed in PR #13431.

3 Likes

Thanks for the fix! :slight_smile: