Haxe/Kha sound problems in Firefox/Internet Explorer

115 views Asked by At

I'm developing a game in Haxe and Kha, and I've encountered a sound related problem.

In Firefox, the sound is delayed by about 200ms. For example, when I click a button, it animates, but the click sound plays up 200ms later. Same goes for every other sound, and it's constantly like that.

In Internet Explorer, the sound is completely bonkers: sometimes it plays 2 sounds at the same time, and sometimes it doesn't play at all when another sound is playing.

Other browsers like Opera, Chrome, Vivaldi, and Brave all work perfectly fine and just as intended.

Does anyone out there have a solution?

Maybe it's something that is Javascript related (I'm building my game against the Javascript target).

0

There are 0 answers