From c44ec3f46a3ee13df0a965b527842f31f9b17b97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Hautier?= Date: Mon, 5 Jan 2026 14:33:54 +0100 Subject: [PATCH] Better comment --- miniaudio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miniaudio.h b/miniaudio.h index 7c036783..bc64c034 100644 --- a/miniaudio.h +++ b/miniaudio.h @@ -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)); }