Skip to content

Commit a5ff120

Browse files
committed
Step 1, make the test at least compile
1 parent fc15522 commit a5ff120

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/webaudio/audioworklet_emscripten_futex_wake.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
int futexLocation = 0;
1414
int testSuccess = 0;
1515

16+
// Internal, found in 'system/lib/pthread/threading_internal.h'
17+
extern "C" int _emscripten_thread_supports_atomics_wait();
18+
1619
bool ProcessAudio(int numInputs, const AudioSampleFrame *inputs, int numOutputs, AudioSampleFrame *outputs, int numParams, const AudioParamFrame *params, void *userData) {
1720
int supportsAtomicWait = _emscripten_thread_supports_atomics_wait();
1821
printf("supportsAtomicWait: %d\n", supportsAtomicWait);

0 commit comments

Comments
 (0)