Browse Source

tags/2021-05-28
jules 18 years ago
parent
commit
5a3abbfea4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/juce_appframework/audio/dsp/juce_AudioSampleBuffer.cpp

+ 1
- 1
src/juce_appframework/audio/dsp/juce_AudioSampleBuffer.cpp View File

@@ -145,7 +145,7 @@ void AudioSampleBuffer::setSize (const int newNumChannels,
const bool clearExtraSpace, const bool clearExtraSpace,
const bool avoidReallocating) throw() const bool avoidReallocating) throw()
{ {
jassert (numChannels > 0 && numChannels <= maxNumAudioSampleBufferChannels);
jassert (newNumChannels > 0 && newNumChannels <= maxNumAudioSampleBufferChannels);
if (newNumSamples != size || newNumChannels != numChannels) if (newNumSamples != size || newNumChannels != numChannels)
{ {


Loading…
Cancel
Save