diff --git a/src/mixer.ts b/src/mixer.ts index 5e2ec17..54c6c4b 100644 --- a/src/mixer.ts +++ b/src/mixer.ts @@ -80,7 +80,7 @@ export class Mixer extends Readable { this.push(mixedBuffer); } else if(this.needReadable) { clearImmediate(this._timer) - this._timer = setImmediate(this._read.bind(this)); + this._timer = setTimeout(this._read.bind(this), 0); } this.clearBuffers();