mirror of
https://github.com/cookiengineer/audacity
synced 2025-09-18 09:00:52 +02:00
Bug1683: crashes applying Nyquist effects to stereo tracks
This commit is contained in:
parent
a4f1c2cb9f
commit
9ad15dabe1
@ -2020,7 +2020,8 @@ void Effect::CopyInputTracks(int trackType)
|
||||
mIMap.clear();
|
||||
mOMap.clear();
|
||||
|
||||
mOutputTracks = std::make_unique<TrackList>();
|
||||
mOutputTracks = std::make_shared<TrackList>();
|
||||
mOutputTracks->SetSelf(mOutputTracks);
|
||||
mOutputTracksType = trackType;
|
||||
|
||||
//iterate over tracks of type trackType (All types if Track::All)
|
||||
|
@ -445,7 +445,7 @@ protected:
|
||||
double mSampleRate;
|
||||
TrackFactory *mFactory;
|
||||
TrackList *inputTracks() const { return mTracks; }
|
||||
std::unique_ptr<TrackList> mOutputTracks; // used only if CopyInputTracks() is called.
|
||||
std::shared_ptr<TrackList> mOutputTracks; // used only if CopyInputTracks() is called.
|
||||
double mT0;
|
||||
double mT1;
|
||||
#ifdef EXPERIMENTAL_SPECTRAL_EDITING
|
||||
|
Loading…
x
Reference in New Issue
Block a user