mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-22 08:14:04 +02:00
Fix a compiler error with Emscripten.
This commit is contained in:
@@ -18817,7 +18817,7 @@ mal_result mal_context_get_device_info__webaudio(mal_context* pContext, mal_devi
|
|||||||
var sampleRate = temp.sampleRate;
|
var sampleRate = temp.sampleRate;
|
||||||
temp.close();
|
temp.close();
|
||||||
return sampleRate;
|
return sampleRate;
|
||||||
} catch {
|
} catch(e) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user