mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-21 15:56:58 +02:00
Fix the WebAudio backend.
This commit is contained in:
+1
-1
@@ -21821,7 +21821,7 @@ ma_result ma_device_init_by_type__webaudio(ma_context* pContext, const ma_device
|
||||
var isCapture = $3;
|
||||
var pDevice = $4;
|
||||
|
||||
if (typeof(mal) === 'undefined') {
|
||||
if (typeof(miniaudio) === 'undefined') {
|
||||
return -1; /* Context not initialized. */
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user