restore audioworklets

This commit is contained in:
Jakob Ketterl 2020-02-23 20:14:07 +01:00
parent 9f06149ae3
commit de3694248a

View File

@ -1,6 +1,6 @@
// this controls if the new AudioWorklet API should be used if available. // this controls if the new AudioWorklet API should be used if available.
// the engine will still fall back to the ScriptProcessorNode if this is set to true but not available in the browser. // the engine will still fall back to the ScriptProcessorNode if this is set to true but not available in the browser.
var useAudioWorklets = false; var useAudioWorklets = true;
function AudioEngine(maxBufferLength, audioReporter) { function AudioEngine(maxBufferLength, audioReporter) {
this.audioReporter = audioReporter; this.audioReporter = audioReporter;