Browse Source

Fixed a typo in the last commit

tags/2021-05-28
jules 6 years ago
parent
commit
3721dc63d5
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_audio_formats/format/juce_BufferingAudioFormatReader.cpp

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

@@ -135,7 +135,7 @@ int BufferingAudioReader::useTimeSlice()
bool BufferingAudioReader::readNextBufferChunk()
{
auto pos = nextReadPosition.get();
auto pos = nextReadPosition.load();
auto startPos = ((pos - 1024) / samplesPerBlock) * samplesPerBlock;
auto endPos = startPos + numBlocks * samplesPerBlock;


Loading…
Cancel
Save