Fix the WebAudio backend.

This commit is contained in:
David Reid
2019-03-06 21:16:10 +10:00
parent bbb8f03bde
commit 025335d31a
+1 -1
View File
@@ -21821,7 +21821,7 @@ ma_result ma_device_init_by_type__webaudio(ma_context* pContext, const ma_device
var isCapture = $3; var isCapture = $3;
var pDevice = $4; var pDevice = $4;
if (typeof(mal) === 'undefined') { if (typeof(miniaudio) === 'undefined') {
return -1; /* Context not initialized. */ return -1; /* Context not initialized. */
} }