1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-23 17:30:17 +01:00

Move enum into EffectManager...

... tying Effect into a cycle of 3 with EffectManager and EffectRack, which is
only revealing the true dependencies
This commit is contained in:
Paul Licameli
2019-06-12 22:44:24 -04:00
parent d2f386a329
commit 1c588fa014
8 changed files with 32 additions and 30 deletions

View File

@@ -736,16 +736,16 @@ bool MacroCommands::ApplyEffectCommand(
// and apply the effect...
res = PluginActions::DoAudacityCommand(ID,
Context,
PluginActions::kConfigured |
PluginActions::kSkipState |
PluginActions::kDontRepeatLast);
EffectManager::kConfigured |
EffectManager::kSkipState |
EffectManager::kDontRepeatLast);
else
// and apply the effect...
res = PluginActions::DoEffect(ID,
Context,
PluginActions::kConfigured |
PluginActions::kSkipState |
PluginActions::kDontRepeatLast);
EffectManager::kConfigured |
EffectManager::kSkipState |
EffectManager::kDontRepeatLast);
}
return res;
@@ -778,7 +778,7 @@ bool MacroCommands::HandleTextualCommand( CommandManager &commandManager,
{
return PluginActions::DoEffect(
plug->GetID(), context,
PluginActions::kConfigured);
EffectManager::kConfigured);
}
plug = pm.GetNextPlugin(PluginTypeEffect);
}