Skip to content

Commit

Permalink
Re-enable browser64.test_sdl_audio_beep_sleep (emscripten-core#20634)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbc100 authored Nov 7, 2023
1 parent c634e50 commit 5315ba7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/library_sdl.js
Original file line number Diff line number Diff line change
Expand Up @@ -2390,7 +2390,7 @@ var LibrarySDL = {
if (secsUntilNextPlayStart >= SDL.audio.bufferingDelay + SDL.audio.bufferDurationSecs*SDL.audio.numSimultaneouslyQueuedBuffers) return;

// Ask SDL audio data from the user code.
{{{ makeDynCall('viii', 'SDL.audio.callback') }}}(SDL.audio.userdata, SDL.audio.buffer, SDL.audio.bufferSize);
{{{ makeDynCall('vppi', 'SDL.audio.callback') }}}(SDL.audio.userdata, SDL.audio.buffer, SDL.audio.bufferSize);
// And queue it to be played after the currently playing audio stream.
SDL.audio.pushAudio(SDL.audio.buffer, SDL.audio.bufferSize);
}
Expand Down
1 change: 0 additions & 1 deletion test/test_browser.py
Original file line number Diff line number Diff line change
Expand Up @@ -3436,7 +3436,6 @@ def test_async_mainloop(self):
self.btest_exit('async_mainloop.cpp', args=['-O' + str(opts), '-sASYNCIFY'])

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

Expand Down

0 comments on commit 5315ba7

Please sign in to comment.