mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-04 16:14:00 +01:00
Bug1683: crashes applying Nyquist effects to stereo tracks
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user