1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-26 00:03:52 +02:00

Fix incorrect comment, use auto

This commit is contained in:
Paul Licameli
2016-09-01 10:01:14 -04:00
parent 86f5f96b30
commit c9a9ad6220
2 changed files with 2 additions and 2 deletions

View File

@@ -578,7 +578,7 @@ bool Sequence::Paste(sampleCount s, const Sequence *src)
const auto srcLastTwoLen =
penultimate.f->GetLength() +
srcBlock[srcNumBlocks - 1].f->GetLength();
const sampleCount rightSplit = splitBlock.f->GetLength() - splitPoint;
const auto rightSplit = splitBlock.f->GetLength() - splitPoint;
const auto rightLen = rightSplit + srcLastTwoLen;
SampleBuffer sampleBuffer(std::max(leftLen, rightLen), mSampleFormat);