Fix a bug with sound node processing.

This commit is contained in:
David Reid
2026-01-07 10:33:13 +10:00
parent 27d2d6ac87
commit 8c4535c6c5
+1 -1
View File
@@ -76953,7 +76953,7 @@ static void ma_engine_node_process_pcm_frames__sound(ma_node* pNode, const float
while (totalFramesConverted < pSound->processingCacheCap) {
ma_uint64 framesConverted;
ma_uint32 framesToConvertThisIteration = pSound->processingCacheCap - framesConverted;
ma_uint32 framesToConvertThisIteration = pSound->processingCacheCap - totalFramesConverted;
if (framesToConvertThisIteration > tempCapInFrames) {
framesToConvertThisIteration = tempCapInFrames;
}