How to fix that sound is playing too late in HTML5?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By bastilo

Hey, if I’m exporting my game to HTML5 and play it in the browser (Firefox), some sounds are a little bit late. In the normal desktop version the sounds are right on point but in HTML5 some of them are a little bit off.
I tried to preload these sounds with ResourceLoaders but it won’t help. All of the sounds use the AudioStreamPlayer.
How can i fix that?

report the bug upstream

hungrymonkey | 2018-07-20 14:25