Skip to content
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