mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-09 14:43:57 +01:00
Only allow one realtime effect at a time
Warning...this required a small hack that allowed updating the menus even if the toplevel frame is not the project window. This is because with the active frame actually becomes the effect dialog and UpdateMenus() bailed if it wasn't the project frame. This should be removed when we get multiple effect support.
This commit is contained in:
@@ -97,6 +97,7 @@ class AUDACITY_DLL_API EffectManager
|
||||
|
||||
#if defined(EXPERIMENTAL_REALTIME_EFFECTS)
|
||||
// Realtime effect processing
|
||||
bool RealtimeIsActive();
|
||||
void RealtimeAddEffect(Effect *effect);
|
||||
void RealtimeRemoveEffect(Effect *effect);
|
||||
void RealtimeSetEffects(const EffectArray & mActive);
|
||||
|
||||
Reference in New Issue
Block a user