Fix incorrect comment, use auto
This commit is contained in:
parent
86f5f96b30
commit
c9a9ad6220
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user