Fix typo in ola-processor.js

ACCOMODATE -> ACCOMMODATE
This commit is contained in:
Ikko Eltociear Ashimine 2023-08-15 09:34:54 +09:00 committed by GitHub
parent c24d1d1e41
commit 491e309075
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -183,7 +183,7 @@ class OLAProcessor extends globalThis.AudioWorkletProcessor {
// DUE TO CHROME BUG/INCONSISTENCY, WHEN INACTIVE SILENT NODE IS CONNECTED, inputs[0] IS EITHER EMPTY OR CONTAINS 1 CHANNEL OF SILENT AUDIO DATA, REQUIRES SPECIAL HANDLING // DUE TO CHROME BUG/INCONSISTENCY, WHEN INACTIVE SILENT NODE IS CONNECTED, inputs[0] IS EITHER EMPTY OR CONTAINS 1 CHANNEL OF SILENT AUDIO DATA, REQUIRES SPECIAL HANDLING
// if (inputs[0][0].some(this.checkForNotSilence)) console.warn("single channel not silence exception!"); // if (inputs[0][0].some(this.checkForNotSilence)) console.warn("single channel not silence exception!");
if (this.lastSilencedHopCount < this.nbOverlaps2x) { if (this.lastSilencedHopCount < this.nbOverlaps2x) {
// ALLOW nbOverlaps2x BLOCKS OF SILENCE TO COME THROUGH TO ACCOMODATE LATENCY TAIL // ALLOW nbOverlaps2x BLOCKS OF SILENCE TO COME THROUGH TO ACCOMMODATE LATENCY TAIL
this.lastSilencedHopCount++ this.lastSilencedHopCount++
inputs = this.fakeEmptyInputs inputs = this.fakeEmptyInputs
this.processNow = true this.processNow = true