We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92efac4 commit 1558dc8Copy full SHA for 1558dc8
packages/react/src/worklets/audio-worklet.js
@@ -81,6 +81,10 @@ class AudioStreamProcessor extends AudioWorkletProcessor {
81
switch (e.data?.type) {
82
case 'audio':
83
this._bq.push(new Float32Array(e.data.data));
84
+ if (this._fadeOutActive) {
85
+ this._fadeOutActive = false;
86
+ this._fadeOutCounter = 0;
87
+ }
88
break;
89
case 'end':
90
this._shouldStop = true;
0 commit comments