From c8c11615e3e086fbd0c61dfa97369a6a337270d6 Mon Sep 17 00:00:00 2001 From: David Reid Date: Sat, 14 Feb 2026 20:55:02 +1000 Subject: [PATCH] Try fixing the Emscripten build. --- tests/resampling/resampling.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/resampling/resampling.c b/tests/resampling/resampling.c index 050876b6..0ab126b6 100644 --- a/tests/resampling/resampling.c +++ b/tests/resampling/resampling.c @@ -251,7 +251,11 @@ void resampler_listening_test(void) ma_device_start(&device); - ma_sleep(100000); + #ifndef __EMSCRIPTEN__ + { + ma_sleep(100000); + } + #endif ma_device_uninit(&device); ma_waveform_uninit(&callbackData.waveform);