mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-09 14:43:57 +01:00
Don't push effects that can't be undone onto the Undo Stack
This commit is contained in:
@@ -91,7 +91,11 @@ public:
|
||||
wxString GetDefaultPreset(const PluginID & ID);
|
||||
void SetBatchProcessing(const PluginID & ID, bool start);
|
||||
|
||||
// Realtime effect processing
|
||||
/** Allow effects to disable saving the state at run time */
|
||||
void SetSkipStateFlag(bool flag);
|
||||
bool GetSkipStateFlag();
|
||||
|
||||
// Realtime effect processing
|
||||
bool RealtimeIsActive();
|
||||
bool RealtimeIsSuspended();
|
||||
void RealtimeAddEffect(Effect *effect);
|
||||
@@ -135,6 +139,10 @@ private:
|
||||
wxArrayInt mRealtimeChans;
|
||||
wxArrayDouble mRealtimeRates;
|
||||
|
||||
// Set true if we want to skip pushing state
|
||||
// after processing at effect run time.
|
||||
bool mSkipStateFlag;
|
||||
|
||||
#if defined(EXPERIMENTAL_EFFECTS_RACK)
|
||||
EffectRack *mRack;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user