Audacity  2.2.0
Enums Class Reference

Enums is a helper class for Shuttle. It defines enumerations which are used in effects dialogs, in the effects themselves and in preferences. More...

#include <Shuttle.h>

Static Public Member Functions

static const wxString * GetDbChoices ()
 

Static Public Attributes

static const int NumDbChoices = 13
 
static const double Db2Signal []
 
static const wxString DbChoices []
 

Detailed Description

Enums is a helper class for Shuttle. It defines enumerations which are used in effects dialogs, in the effects themselves and in preferences.

(If it grows big, we will move it out of shuttle.h).

Member Function Documentation

const wxString * Enums::GetDbChoices ( )
static

Member Data Documentation

const double Enums::Db2Signal
static
Initial value:
=
{ 0.10000, 0.05620, 0.03160, 0.01780, 0.01000, 0.00562, 0.00316, 0.00178, 0.00100, 0.000562, 0.000316, 0.000178, 0.0001000, 0.0 }

Referenced by EffectTruncSilence::Analyze(), EffectLeveller::EffectLeveller(), EffectLeveller::SetAutomationParameters(), and EffectLeveller::TransferDataFromWindow().

const wxString Enums::DbChoices
static
Initial value:
=
{wxT("-20 dB"), wxT("-25 dB"), wxT("-30 dB"),
wxT("-35 dB"), wxT("-40 dB"), wxT("-45 dB"),
wxT("-50 dB"), wxT("-55 dB"), wxT("-60 dB"),
wxT("-65 dB"), wxT("-70 dB"), wxT("-75 dB"),
wxT("-80 dB")}

Referenced by EffectLeveller::GetAutomationParameters(), EffectTruncSilence::GetAutomationParameters(), and GetDbChoices().


The documentation for this class was generated from the following files: