I think that might be it. Here's a demo that you can try out btw: https://classic-arcade.itch.io/curse
On Tuesday, December 17, 2019 at 3:41:28 PM UTC-5, Floh wrote: > > If "audio issue" means that there simply is no audio, than the issue might > be that the audio playback is blocked by browsers (at least Chrome is quite > aggressive about this, with the original intent to block autoplaying videos > and audio streams). > > In Chrome you should see a message like this in the Javascript console: > > cpc.js:53 The AudioContext was not allowed to start. It must be resumed > (or created) after a user gesture on the page. https://goo.gl/7K7WLu > > In my own WebAudio wrapper lib I'm using this "hack", which resumes the > audio context on the first mouse, touch or key event: > > > https://github.com/floooh/sokol/blob/d86d96625d6be0171c99909187e041ae699dbbf0/sokol_audio.h#L1333-L1343 > > Cheers, > -Floh. > > On Monday, 16 December 2019 21:18:15 UTC+1, Alex St. Louis wrote: >> >> So using an old build of the Emscripten port of ScummVM (Done by Jukka >> Jylanki) managed to get a few games running: >> >> Spy Fox >> Pajama Sam >> Curse of Monkey Island (demo) >> >> All of them worked great, except for Curse of Monkey Island, which seems >> to have audio issues. Upon investigation, it seems like a custom audio >> engine called iMuse is used in this game. Either that, or the underlying >> audio API used in this old version of Emscripten could be causing the >> issue. Does anyone have any thoughts on this? >> >> Thanks! >> >> https://github.com/juj/emscripten-scummvm >> > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/09446735-96d4-4dd8-8547-b3279b0e8ee1%40googlegroups.com.
