Skip to content

Commit 5315ba7

Browse files
authored
Re-enable browser64.test_sdl_audio_beep_sleep (#20634)
1 parent c634e50 commit 5315ba7

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/library_sdl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2390,7 +2390,7 @@ var LibrarySDL = {
23902390
if (secsUntilNextPlayStart >= SDL.audio.bufferingDelay + SDL.audio.bufferDurationSecs*SDL.audio.numSimultaneouslyQueuedBuffers) return;
23912391

23922392
// Ask SDL audio data from the user code.
2393-
{{{ makeDynCall('viii', 'SDL.audio.callback') }}}(SDL.audio.userdata, SDL.audio.buffer, SDL.audio.bufferSize);
2393+
{{{ makeDynCall('vppi', 'SDL.audio.callback') }}}(SDL.audio.userdata, SDL.audio.buffer, SDL.audio.bufferSize);
23942394
// And queue it to be played after the currently playing audio stream.
23952395
SDL.audio.pushAudio(SDL.audio.buffer, SDL.audio.bufferSize);
23962396
}

test/test_browser.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3436,7 +3436,6 @@ def test_async_mainloop(self):
34363436
self.btest_exit('async_mainloop.cpp', args=['-O' + str(opts), '-sASYNCIFY'])
34373437

34383438
@requires_sound_hardware
3439-
@no_wasm64('https://github.com/WebAssembly/binaryen/issues/6073')
34403439
def test_sdl_audio_beep_sleep(self):
34413440
self.btest_exit('test_sdl_audio_beep_sleep.cpp', args=['-Os', '-sASSERTIONS', '-sDISABLE_EXCEPTION_CATCHING=0', '-profiling', '-sSAFE_HEAP', '-lSDL', '-sASYNCIFY'], timeout=90)
34423441

0 commit comments

Comments
 (0)