mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-22 23:30:07 +02:00
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 =
|
const auto srcLastTwoLen =
|
||||||
penultimate.f->GetLength() +
|
penultimate.f->GetLength() +
|
||||||
srcBlock[srcNumBlocks - 1].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;
|
const auto rightLen = rightSplit + srcLastTwoLen;
|
||||||
|
|
||||||
SampleBuffer sampleBuffer(std::max(leftLen, rightLen), mSampleFormat);
|
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,
|
//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,
|
bool EffectTwoPassSimpleMono::ProcessOne(WaveTrack * track,
|
||||||
sampleCount start, sampleCount end)
|
sampleCount start, sampleCount end)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user