From 65f55e17acecf76a12022a704e1f16857128d593 Mon Sep 17 00:00:00 2001 From: Nathan Blair Date: Wed, 27 Sep 2023 19:51:42 -0700 Subject: [PATCH] Docs: abstract FIFO example --- modules/juce_core/containers/juce_AbstractFifo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/juce_core/containers/juce_AbstractFifo.h b/modules/juce_core/containers/juce_AbstractFifo.h index 9e4ddede4a..f576308356 100644 --- a/modules/juce_core/containers/juce_AbstractFifo.h +++ b/modules/juce_core/containers/juce_AbstractFifo.h @@ -48,7 +48,7 @@ namespace juce copySomeData (myBuffer + scope.startIndex1, someData, scope.blockSize1); if (scope.blockSize2 > 0) - copySomeData (myBuffer + scope.startIndex2, someData, scope.blockSize2); + copySomeData (myBuffer + scope.startIndex2, someData + scope.blockSize1, scope.blockSize2); } void readFromFifo (int* someData, int numItems)