Browse Source

Fixed a counter in ThreadedWriter

tags/2021-05-28
jules 11 years ago
parent
commit
09f35b6cbd
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_audio_formats/format/juce_AudioFormatWriter.cpp

+ 1
- 1
modules/juce_audio_formats/format/juce_AudioFormatWriter.cpp View File

@@ -276,7 +276,7 @@ public:
if (samplesPerFlush > 0) if (samplesPerFlush > 0)
{ {
flushSampleCounter -= numToDo;
flushSampleCounter -= size1 + size2;
if (flushSampleCounter <= 0) if (flushSampleCounter <= 0)
{ {


Loading…
Cancel
Save