| 277 | }; |
| 278 | |
| 279 | const ControlInfo *controlInfo() { |
| 280 | static const ControlInfo table[] = { |
| 281 | ControlInfo(&EffectNoiseReduction::Settings::mNoiseGain, |
| 282 | 0.0, 48.0, 48, wxT("%d"), true, |
| 283 | XXO("&Noise reduction (dB):"), XO("Noise reduction")), |
| 284 | ControlInfo(&EffectNoiseReduction::Settings::mNewSensitivity, |
| 285 | 0.01, 24.0, 48, wxT("%.2f"), false, |
| 286 | XXO("&Sensitivity:"), XO("Sensitivity")), |
| 287 | #ifdef ATTACK_AND_RELEASE |
| 288 | ControlInfo(&EffectNoiseReduction::Settings::mAttackTime, |
| 289 | 0, 1.0, 100, wxT("%.2f"), false, |
| 290 | XXO("Attac&k time (secs):"), XO("Attack time")), |
| 291 | ControlInfo(&EffectNoiseReduction::Settings::mReleaseTime, |
| 292 | 0, 1.0, 100, wxT("%.2f"), false, |
| 293 | XXO("R&elease time (secs):"), XO("Release time")), |
| 294 | #endif |
| 295 | ControlInfo(&EffectNoiseReduction::Settings::mFreqSmoothingBands, |
| 296 | 0, 12, 12, wxT("%d"), true, |
| 297 | XXO("&Frequency smoothing (bands):"), XO("Frequency smoothing")), |
| 298 | |
| 299 | #ifdef ADVANCED_SETTINGS |
| 300 | ControlInfo(&EffectNoiseReduction::Settings::mOldSensitivity, |
| 301 | -20.0, 20.0, 4000, wxT("%.2f"), false, |
| 302 | XXO("Sensiti&vity (dB):"), XO("Old Sensitivity")), |
| 303 | // add here |
| 304 | #endif |
| 305 | }; |
| 306 | |
| 307 | return table; |
| 308 | } |
| 309 | |
| 310 | } // namespace |
| 311 |
no test coverage detected