mirror of
https://github.com/cookiengineer/audacity
synced 2025-09-18 17:10:55 +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();
|
mIMap.clear();
|
||||||
mOMap.clear();
|
mOMap.clear();
|
||||||
|
|
||||||
mOutputTracks = std::make_unique<TrackList>();
|
mOutputTracks = std::make_shared<TrackList>();
|
||||||
|
mOutputTracks->SetSelf(mOutputTracks);
|
||||||
mOutputTracksType = trackType;
|
mOutputTracksType = trackType;
|
||||||
|
|
||||||
//iterate over tracks of type trackType (All types if Track::All)
|
//iterate over tracks of type trackType (All types if Track::All)
|
||||||
|
@ -445,7 +445,7 @@ protected:
|
|||||||
double mSampleRate;
|
double mSampleRate;
|
||||||
TrackFactory *mFactory;
|
TrackFactory *mFactory;
|
||||||
TrackList *inputTracks() const { return mTracks; }
|
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 mT0;
|
||||||
double mT1;
|
double mT1;
|
||||||
#ifdef EXPERIMENTAL_SPECTRAL_EDITING
|
#ifdef EXPERIMENTAL_SPECTRAL_EDITING
|
||||||
|
Loading…
x
Reference in New Issue
Block a user