Browse Source

DSP: Fixed an incorrect assertion in one of the AudioBlock constructors

tags/2021-05-28
ed 6 years ago
parent
commit
1221374be9
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_dsp/containers/juce_AudioBlock.h

+ 1
- 1
modules/juce_dsp/containers/juce_AudioBlock.h View File

@@ -163,7 +163,7 @@ public:
startSample (startSampleIndex),
numSamples (static_cast<size_t> (buffer.getNumSamples()) - startSampleIndex)
{
jassert (startSample < numSamples);
jassert (startSample < static_cast<size_t> (buffer.getNumSamples()));
}
AudioBlock (const AudioBlock& other) noexcept = default;


Loading…
Cancel
Save