1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-21 08:27:13 +01:00

Move static EffectManager::DoEffect into new namespace

This commit is contained in:
Paul Licameli
2019-07-21 13:01:01 -04:00
parent 23a0206d2a
commit 91c45dd32a
9 changed files with 46 additions and 70 deletions

View File

@@ -28,6 +28,7 @@
#include "../commands/CommandContext.h"
#include "../commands/CommandManager.h"
#include "../effects/EffectManager.h"
#include "../effects/EffectUI.h"
#include "../tracks/playabletrack/wavetrack/ui/WaveTrackControls.h"
#include "../widgets/ASlider.h"
#include "../widgets/AudacityMessageBox.h"
@@ -688,7 +689,7 @@ void OnNewTimeTrack(const CommandContext &context)
void OnStereoToMono(const CommandContext &context)
{
EffectManager::DoEffect(
EffectUI::DoEffect(
EffectManager::Get().GetEffectByIdentifier(wxT("StereoToMono")),
context,
EffectManager::kConfigured);