diff --git a/src/effects/Effect.cpp b/src/effects/Effect.cpp index fa58fe10c..56345b359 100644 --- a/src/effects/Effect.cpp +++ b/src/effects/Effect.cpp @@ -1605,13 +1605,9 @@ bool Effect::ProcessTrack(int count, // Create temporary tracks genLeft = mFactory->NewWaveTrack(left->GetSampleFormat(), left->GetRate()); - genLeft->SetWaveColorIndex( left->GetWaveColorIndex() ); if (right) - { genRight = mFactory->NewWaveTrack(right->GetSampleFormat(), right->GetRate()); - genRight->SetWaveColorIndex( right->GetWaveColorIndex() ); - } } // Call the effect until we run out of input or delayed samples diff --git a/src/effects/nyquist/Nyquist.cpp b/src/effects/nyquist/Nyquist.cpp index 79d6b334b..e1eaeed09 100644 --- a/src/effects/nyquist/Nyquist.cpp +++ b/src/effects/nyquist/Nyquist.cpp @@ -1438,7 +1438,6 @@ bool NyquistEffect::ProcessOne() } outputTrack[i] = mFactory->NewWaveTrack(format, rate); - outputTrack[i]->SetWaveColorIndex( mCurTrack[i]->GetWaveColorIndex() ); // Clean the initial buffer states again for the get callbacks // -- is this really needed? diff --git a/src/toolbars/ControlToolBar.cpp b/src/toolbars/ControlToolBar.cpp index fdbbf3a37..e8f1ca6db 100644 --- a/src/toolbars/ControlToolBar.cpp +++ b/src/toolbars/ControlToolBar.cpp @@ -1165,7 +1165,6 @@ bool ControlToolBar::DoRecord(AudacityProject &project, // Pad the recording track with silence, up to the // maximum time. auto newTrack = TrackFactory::Get( *p ).NewWaveTrack(); - newTrack->SetWaveColorIndex( wt->GetWaveColorIndex() ); newTrack->InsertSilence(0.0, t0 - endTime); newTrack->Flush(); pending->Clear(endTime, t0);