Fix a couple of warnings on the Emscripten build.

This commit is contained in:
David Reid
2025-08-20 19:20:23 +10:00
parent f86be65f19
commit c3132cb703
+2 -2
View File
@@ -42286,14 +42286,14 @@ extern "C" {
#endif
void EMSCRIPTEN_KEEPALIVE ma_device_post_notification_unlocked_emscripten(ma_device* pDevice)
{
return ma_device_post_notification_unlocked(pDevice);
ma_device_post_notification_unlocked(pDevice);
}
#ifdef __cplusplus
}
#endif
#endif
static ma_bool32 ma_is_capture_supported__webaudio()
static ma_bool32 ma_is_capture_supported__webaudio(void)
{
return EM_ASM_INT({
return (navigator.mediaDevices !== undefined && navigator.mediaDevices.getUserMedia !== undefined);