mirror of
https://github.com/cookiengineer/audacity
synced 2025-09-18 09:00:52 +02:00
fix for typo on prev commit
This commit is contained in:
parent
b45d4dd998
commit
d3513320d6
@ -451,7 +451,7 @@ bool Sequence::Copy(sampleCount s0, sampleCount s1, Sequence **dest)
|
|||||||
// Do the last block
|
// Do the last block
|
||||||
if (b1 > b0 && b1 < numBlocks) {
|
if (b1 > b0 && b1 < numBlocks) {
|
||||||
blocklen = (s1 - mBlock->Item(b1)->start);
|
blocklen = (s1 - mBlock->Item(b1)->start);
|
||||||
wxASSERT(mBlock->Item(b0)->f->IsAlias() || (blocklen <= mMaxSamples)); // Vaughan, 2012-02-29
|
wxASSERT(mBlock->Item(b1)->f->IsAlias() || (blocklen <= mMaxSamples)); // Vaughan, 2012-02-29
|
||||||
Get(buffer, mSampleFormat, mBlock->Item(b1)->start, blocklen);
|
Get(buffer, mSampleFormat, mBlock->Item(b1)->start, blocklen);
|
||||||
(*dest)->Append(buffer, mSampleFormat, blocklen);
|
(*dest)->Append(buffer, mSampleFormat, blocklen);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user