debug(bounce): capture AUDIO_CB_ERR + BRIDGE_AUDIO_ENTER to find silent onAudio failure
This commit is contained in:
@@ -100,6 +100,7 @@
|
||||
|
||||
function onAudio(l, r) {
|
||||
if (!_initialized) init();
|
||||
if (!window.__baeAt || Date.now() - window.__baeAt >= 1000) { window.__baeAt = Date.now(); if (window.__sfDiag) window.__sfDiag('BRIDGE_AUDIO_ENTER len=' + (l ? l.length : -1)); }
|
||||
var blk = { l: new Float32Array(l), r: new Float32Array(r) };
|
||||
_frames = (_frames || 0) + blk.l.length;
|
||||
for (var _i = 0; _i < blk.l.length; _i++) {
|
||||
|
||||
Reference in New Issue
Block a user