Audacity 3.2.0
Classes | Namespaces | Macros | Functions | Variables
Distortion.cpp File Reference
#include "Distortion.h"
#include "EffectEditor.h"
#include "LoadEffects.h"
#include <cmath>
#include <algorithm>
#include <wx/checkbox.h>
#include <wx/choice.h>
#include <wx/valgen.h>
#include <wx/log.h>
#include <wx/slider.h>
#include <wx/stattext.h>
#include <wx/weakref.h>
#include "Prefs.h"
#include "ShuttleGui.h"
#include "../widgets/valnum.h"
Include dependency graph for Distortion.cpp:

Go to the source code of this file.

Classes

struct  EffectDistortion::Editor
 

Namespaces

namespace  anonymous_namespace{Distortion.cpp}
 

Macros

#define M_PI   3.1415926535897932384626433832795
 
#define M_PI_2   1.57079632679489661923132169163975
 

Functions

TranslatableString defaultLabel (int index)
 

Variables

BuiltinEffectsModule::Registration< EffectDistortionanonymous_namespace{Distortion.cpp}::reg
 

Macro Definition Documentation

◆ M_PI

#define M_PI   3.1415926535897932384626433832795

Definition at line 22 of file Distortion.cpp.

◆ M_PI_2

#define M_PI_2   1.57079632679489661923132169163975

Definition at line 25 of file Distortion.cpp.

Function Documentation

◆ defaultLabel()

TranslatableString defaultLabel ( int  index)

Definition at line 40 of file Distortion.cpp.

41{
42 static const TranslatableString names[] = {
43 XO("Upper Threshold"),
44 XO("Noise Floor"),
45 XO("Parameter 1"),
46 XO("Parameter 2"),
47 XO("Number of repeats"),
48 };
49
50 return names[ index ];
51}
XO("Cut/Copy/Paste")
static TranslatableStrings names
Definition: TagsEditor.cpp:153
Holds a msgid for the translation catalog; may also bind format arguments.

References names, and XO().

Referenced by EffectDistortion::Editor::PopulateOrExchange(), and EffectDistortion::Editor::UpdateUIControls().

Here is the call graph for this function:
Here is the caller graph for this function: