mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-21 15:56:58 +02:00
Better comment
This commit is contained in:
committed by
David Reid
parent
8c3b213a7c
commit
c44ec3f46a
+1
-1
@@ -41779,7 +41779,7 @@ static EM_BOOL ma_audio_worklet_process_callback__webaudio(int inputCount, const
|
||||
pOutputs[0].data[frameCount*iChannel + iFrame] = pDevice->webaudio.pIntermediaryBuffer[iFrame*pDevice->playback.internalChannels + iChannel];
|
||||
}
|
||||
}
|
||||
/* Ensure all output buffers are filled with zero */
|
||||
/* Ensure all remaining output buffers (index >= 1) are filled with zero */
|
||||
for (int i = 1; i < outputCount; i += 1) {
|
||||
MA_ZERO_MEMORY(pOutputs[i].data, pOutputs[i].numberOfChannels * frameCount * sizeof(float));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user