#jsmess 2019-08-03,Sat

↑back Search

Time Nickname Message
02:05 🔗 azakai has joined #jsmess
09:07 🔗 db48x if anyone is around at this hour, could I get you to try out sound in an emulator on IA?
09:07 🔗 db48x at https://archive.org/details/sg_Sonic_the_Hedgehog_Rev_1_1991_Sega_JP-KR_en, for example
09:15 🔗 bai no audio in chrome, I get 'The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page.'
09:16 🔗 bai and Unable to change audio state: TypeError: Cannot read property 'cwrap' of null
09:16 🔗 bai presumably the code is trying to set mute/not muted before the user clicks anything
12:10 🔗 godane has joined #jsmess
13:08 🔗 db48x yea, but that should be harmless
13:08 🔗 db48x it should still start the audio once we load the game
13:24 🔗 db48x SketchCow: this might be a dumb question, but is it muted?
13:32 🔗 pengan It seems the "Module" not loaded correctly
13:33 🔗 pengan at the line SDL_PauseAudio = Module.cwrap('SDL_PauseAudio', '', ['number']);
13:34 🔗 pengan Module is null when this line running, and SDL_PauseAudio is not initialize
13:35 🔗 db48x also a red herring
13:35 🔗 db48x I can "reproduce" this if the sound is muted before loading the game
13:36 🔗 db48x and then because of a brain-fart that past-me must have made, it can't be unmuted
13:38 🔗 db48x try https://archive.org/details/sg_Sonic_the_Hedgehog_Rev_1_1991_Sega_JP-KR_en&external_js=1 instead and see how the behavior compares
13:40 🔗 pengan this one i can unmute
13:41 🔗 db48x good
13:41 🔗 db48x IA's mute cookie is set to muted by default, and when it's set we are passing -sound none to mame
13:42 🔗 db48x and once mame is started with no sound, you can't turn the sound on
13:51 🔗 db48x on the assumption that this is the problem SketchCow is having, I've made a petabox pull request
13:51 🔗 db48x oh, but it's saturday; might not be merged until after the weekend
14:37 🔗 azakai has quit IRC (Remote host closed the connection)
14:41 🔗 azakai has joined #jsmess
15:46 🔗 Sgeo has quit IRC (Read error: Operation timed out)
16:42 🔗 godane has quit IRC (Ping timeout: 600 seconds)
18:38 🔗 Sgeo has joined #jsmess
18:46 🔗 Sgeo_ has joined #jsmess
18:48 🔗 Sgeo has quit IRC (Read error: Operation timed out)
19:14 🔗 Sgeo has joined #jsmess
19:16 🔗 Sgeo_ has quit IRC (Read error: Operation timed out)

irclogger-viewer