1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-16 16:10:06 +02:00

StereoToMono now EffectTypeHidden

This way it does not appear in the list of effects available to choose.
This commit is contained in:
James Crook 2015-05-14 22:15:44 +01:00
parent 4613be94f1
commit c85bf1c531
3 changed files with 7 additions and 7 deletions

View File

@ -51,11 +51,11 @@
typedef enum EffectType
{
EffectTypeNone =1,
EffectTypeGenerate =2,
EffectTypeProcess =4,
EffectTypeAnalyze =8,
EffectTypeAll = 15
EffectTypeNone,
EffectTypeHidden,
EffectTypeGenerate,
EffectTypeProcess,
EffectTypeAnalyze
} EffectType;
class AUDACITY_DLL_API EffectIdentInterface : public IdentInterface

View File

@ -256,7 +256,7 @@ public:
wxString GetName(const PluginID & ID);
IdentInterface *GetInstance(const PluginID & ID);
void CheckForUpdates(EffectType Type=EffectTypeAll);
void CheckForUpdates(EffectType Type=EffectTypeNone);
// Here solely for the purpose of Nyquist Workbench until
// a better solution is devised.

View File

@ -46,7 +46,7 @@ wxString EffectStereoToMono::GetDescription()
EffectType EffectStereoToMono::GetType()
{
// Really EffectTypeProcess, but this prevents it from showing in the Effect Menu
return EffectTypeNone;
return EffectTypeHidden;
}
bool EffectStereoToMono::IsInteractive()