mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-16 08:34:10 +02:00
Remove spurious ASSERT, Sequence::GetMinMax iterates over each of the blocks that go to make up the len.
This commit is contained in:
parent
3af0e440e6
commit
8adac0ed64
@ -188,8 +188,6 @@ bool Sequence::ConvertToSampleFormat(sampleFormat format)
|
||||
bool Sequence::GetMinMax(sampleCount start, sampleCount len,
|
||||
float * outMin, float * outMax) const
|
||||
{
|
||||
wxASSERT(len <= mMaxSamples); // Vaughan, 2011-10-19
|
||||
|
||||
if (len == 0 || mBlock->Count() == 0) {
|
||||
*outMin = float(0.0);
|
||||
*outMax = float(0.0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user