Commit 025335d3 authored by David Reid's avatar David Reid

Fix the WebAudio backend.

parent bbb8f03b
...@@ -21821,7 +21821,7 @@ ma_result ma_device_init_by_type__webaudio(ma_context* pContext, const ma_device ...@@ -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. */
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment