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

Merge branch 'temp2'

This commit is contained in:
Paul-Licameli 2015-04-14 02:33:06 -04:00
commit ff06f33c70

View File

@ -1462,28 +1462,28 @@ struct ControlInfo {
const ControlInfo *controlInfo() { const ControlInfo *controlInfo() {
static const ControlInfo table[] = { static const ControlInfo table[] = {
{ &EffectNoiseReduction::Settings::mNoiseGain, ControlInfo(&EffectNoiseReduction::Settings::mNoiseGain,
0.0, 48.0, 48, wxT("%d"), true, 0.0, 48.0, 48, wxT("%d"), true,
wxTRANSLATE("&Noise reduction (dB):"), wxTRANSLATE("Noise reduction") }, wxTRANSLATE("&Noise reduction (dB):"), wxTRANSLATE("Noise reduction")),
{ &EffectNoiseReduction::Settings::mNewSensitivity, ControlInfo(&EffectNoiseReduction::Settings::mNewSensitivity,
0.0, 24.0, 48, wxT("%.2f"), false, 0.0, 24.0, 48, wxT("%.2f"), false,
wxTRANSLATE("&Sensitivity:"), wxTRANSLATE("Sensitivity") }, wxTRANSLATE("&Sensitivity:"), wxTRANSLATE("Sensitivity")),
#ifdef ATTACK_AND_RELEASE #ifdef ATTACK_AND_RELEASE
{ &EffectNoiseReduction::Settings::mAttackTime, ControlInfo(&EffectNoiseReduction::Settings::mAttackTime,
0, 1.0, 100, wxT("%.2f"), false, 0, 1.0, 100, wxT("%.2f"), false,
wxTRANSLATE("Attac&k time (secs):"), wxTRANSLATE("Attack time") }, wxTRANSLATE("Attac&k time (secs):"), wxTRANSLATE("Attack time")),
{ &EffectNoiseReduction::Settings::mReleaseTime, ControlInfo(&EffectNoiseReduction::Settings::mReleaseTime,
0, 1.0, 100, wxT("%.2f"), false, 0, 1.0, 100, wxT("%.2f"), false,
wxTRANSLATE("R&elease time (secs):"), wxTRANSLATE("Release time") }, wxTRANSLATE("R&elease time (secs):"), wxTRANSLATE("Release time")),
#endif #endif
{ &EffectNoiseReduction::Settings::mFreqSmoothingBands, ControlInfo(&EffectNoiseReduction::Settings::mFreqSmoothingBands,
0, 6, 6, wxT("%d"), true, 0, 6, 6, wxT("%d"), true,
wxTRANSLATE("&Frequency smoothing (bands):"), wxTRANSLATE("Frequency smoothing") }, wxTRANSLATE("&Frequency smoothing (bands):"), wxTRANSLATE("Frequency smoothing")),
#ifdef ADVANCED_SETTINGS #ifdef ADVANCED_SETTINGS
{ &EffectNoiseReduction::Settings::mOldSensitivity, ControlInfo(&EffectNoiseReduction::Settings::mOldSensitivity,
-20.0, 20.0, 4000, wxT("%.2f"), false, -20.0, 20.0, 4000, wxT("%.2f"), false,
wxTRANSLATE("Sensiti&vity (dB):"), wxTRANSLATE("Old Sensitivity") }, wxTRANSLATE("Sensiti&vity (dB):"), wxTRANSLATE("Old Sensitivity")),
// add here // add here
#endif #endif
}; };