mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-08 06:03:49 +01:00
Fix incorrect comment, use auto
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -95,7 +95,7 @@ bool EffectTwoPassSimpleMono::ProcessPass()
|
||||
|
||||
|
||||
//ProcessOne() takes a track, transforms it to bunch of buffer-blocks,
|
||||
//and executes ProcessSimpleMono on these blocks
|
||||
//and executes TwoBufferProcessPass1 or TwoBufferProcessPass2 on these blocks
|
||||
bool EffectTwoPassSimpleMono::ProcessOne(WaveTrack * track,
|
||||
sampleCount start, sampleCount end)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user