Commit eccbbdd0 authored by David Reid's avatar David Reid

Merge branch 'dev' into dev-0.11

parents f225ae94 cf02c9e9
...@@ -36384,7 +36384,7 @@ static ma_result ma_device_init_by_type__webaudio(ma_device* pDevice, const ma_d ...@@ -36384,7 +36384,7 @@ static ma_result ma_device_init_by_type__webaudio(ma_device* pDevice, const ma_d
var isCapture = $3; var isCapture = $3;
var pDevice = $4; var pDevice = $4;
if (typeof(miniaudio) === 'undefined') { if (typeof(window.miniaudio) === 'undefined') {
return -1; /* Context not initialized. */ return -1; /* Context not initialized. */
} }
...@@ -36681,8 +36681,8 @@ static ma_result ma_context_init__webaudio(ma_context* pContext, const ma_contex ...@@ -36681,8 +36681,8 @@ static ma_result ma_context_init__webaudio(ma_context* pContext, const ma_contex
return 0; /* Web Audio not supported. */ return 0; /* Web Audio not supported. */
} }
if (typeof(miniaudio) === 'undefined') { if (typeof(window.miniaudio) === 'undefined') {
miniaudio = {}; window.miniaudio = {};
miniaudio.devices = []; /* Device cache for mapping devices to indexes for JavaScript/C interop. */ miniaudio.devices = []; /* Device cache for mapping devices to indexes for JavaScript/C interop. */
miniaudio.track_device = function(device) { miniaudio.track_device = function(device) {
...@@ -87994,6 +87994,7 @@ REVISION HISTORY ...@@ -87994,6 +87994,7 @@ REVISION HISTORY
v0.10.43 - TBD v0.10.43 - TBD
- ALSA: Fix use of uninitialized variables - ALSA: Fix use of uninitialized variables
- ALSA: Fix enumeration of devices that support both playback and capture. - ALSA: Fix enumeration of devices that support both playback and capture.
- WebAudio: Fix errors in strict mode.
v0.10.42 - 2021-08-22 v0.10.42 - 2021-08-22
- Fix a possible deadlock when stopping devices. - Fix a possible deadlock when stopping devices.
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