Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[test] AudioWorklet tests now correctly run and exit #23695

Merged
merged 17 commits into from
Feb 20, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions test/webaudio/audioworklet.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,7 @@ bool main_thread_tls_access(double time, void *userData) {
// added to the Worklet global scope.
void AudioWorkletProcessorCreated(EMSCRIPTEN_WEBAUDIO_T audioContext, bool success, void *userData) {
if (!success) {
emscripten_out("Stopped in AudioWorkletProcessorCreated");
assert(0);
assert("Stopped in AudioWorkletProcessorCreated" && success);
return;
}

Expand Down Expand Up @@ -114,8 +113,7 @@ void AudioWorkletProcessorCreated(EMSCRIPTEN_WEBAUDIO_T audioContext, bool succe
// Processors.
void WebAudioWorkletThreadInitialized(EMSCRIPTEN_WEBAUDIO_T audioContext, bool success, void *userData) {
if (!success) {
emscripten_out("Stopped in WebAudioWorkletThreadInitialized");
assert(0);
assert("Stopped in WebAudioWorkletThreadInitialized" && success);
return;
}

Expand Down
Loading