mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-09 22:53:55 +01:00
Reset phase at start of each generated waveform.
This commit is contained in:
@@ -24,7 +24,6 @@ bool Generator::Process()
|
||||
if (mDuration < 0.0)
|
||||
return false;
|
||||
|
||||
BeforeGenerate();
|
||||
|
||||
// Set up mOutputTracks.
|
||||
// This effect needs Track::All for sync-lock grouping.
|
||||
@@ -63,6 +62,7 @@ bool Generator::Process()
|
||||
WaveTrack *tmp = mFactory->NewWaveTrack(track->GetSampleFormat(),
|
||||
track->GetRate());
|
||||
BeforeTrack(*track);
|
||||
BeforeGenerate();
|
||||
|
||||
// Fill it with data
|
||||
if (!GenerateTrack(tmp, *track, ntrack))
|
||||
|
||||
Reference in New Issue
Block a user