Audacity 3.2.0
|
Typedefs | |
using | ShowEffectHostInterfaceCb = std::function< bool(Effect &, std::shared_ptr< EffectInstance > &, SimpleEffectSettingsAccess &)> |
using | StopPlaybackCb = std::function< void()> |
using | SelectAllIfNoneCb = std::function< void()> |
Functions | |
AUDACITY_APPLICATION_LOGIC_API bool | DoEffect (const PluginID &ID, AudacityProject &project, unsigned flags, ShowEffectHostInterfaceCb, StopPlaybackCb, SelectAllIfNoneCb) |
'Repeat Last Effect'. More... | |
using AudacityApplicationLogic::SelectAllIfNoneCb = typedef std::function<void()> |
Definition at line 28 of file AudacityApplicationLogicTypes.h.
using AudacityApplicationLogic::ShowEffectHostInterfaceCb = typedef std::function<bool( Effect&, std::shared_ptr<EffectInstance>&, SimpleEffectSettingsAccess&)> |
Definition at line 23 of file AudacityApplicationLogicTypes.h.
using AudacityApplicationLogic::StopPlaybackCb = typedef std::function<void()> |
Definition at line 26 of file AudacityApplicationLogicTypes.h.
bool AudacityApplicationLogic::DoEffect | ( | const PluginID & | ID, |
AudacityProject & | project, | ||
unsigned | flags, | ||
ShowEffectHostInterfaceCb | showEffectHostInterfaceCb, | ||
StopPlaybackCb | stopPlaybackCb, | ||
SelectAllIfNoneCb | selectAllIfNoneCb | ||
) |
'Repeat Last Effect'.
Run an effect given the plugin ID
Audacity: A Digital Audio Editor
Matthieu Hodgkinson DoEffect() takes a PluginID and executes the associated effect.
At the moment flags are used only to indicate whether to prompt for
Definition at line 32 of file AudacityApplicationLogic.cpp.
References EffectTypeAnalyze, EffectTypeGenerate, EffectTypeProcess, EffectTypeTool, anonymous_namespace{Scrubbing.cpp}::finder, EffectManager::Get(), PluginManager::Get(), TrackFocus::Get(), CommandManager::Get(), ProjectHistory::Get(), ProjectRate::Get(), ViewInfo::Get(), TrackList::Get(), Viewport::Get(), WaveTrackFactory::Get(), EffectManager::GetDefaultSettings(), EffectManager::GetEffect(), PluginDescriptor::GetEffectType(), PluginManager::GetName(), PluginManager::GetPlugin(), ProjectRate::GetRate(), EffectManager::GetSkipStateFlag(), PluginManager::IsPluginAvailable(), EffectManager::kConfigured, EffectManager::kDontRepeatLast, EffectManager::kRepeatNyquistPrompt, EffectManager::kSkipState, NYQUIST_PROMPT_NAME, project, ProjectHistory::PushState(), CommandManager::repeattypeplugin, ViewInfo::selectedRegion, EffectManager::SetSkipStateFlag(), settings(), BasicUI::ShowMessageBox(), Viewport::ShowTrack(), tracks, CommandManager::UpdateMenus(), wxT(), and XO().
Referenced by EffectUI::DoEffect().