1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-23 09:20:16 +01:00

Move DbChoices out of Shuttle.h

This commit is contained in:
Paul Licameli
2018-03-26 20:30:31 -04:00
parent 1a3005182b
commit 180cf92790
3 changed files with 34 additions and 28 deletions

View File

@@ -72,25 +72,6 @@ preferences.
//#include "commands/CommandManager.h"
//#include "effects/Effect.h"
const int Enums::NumDbChoices = 13;
const wxString Enums::DbChoices[] =
{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")};
const double Enums::Db2Signal[] =
// -20dB -25dB -30dB -35dB -40dB -45dB -50dB -55dB -60dB -65dB -70dB -75dB -80dB Off
{ 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 };
const wxString * Enums::GetDbChoices()
{
return DbChoices;
}
Shuttle::Shuttle()
{