MCPcopy Create free account
hub / github.com/audacity/audacity / controlInfo

Function controlInfo

src/effects/NoiseReduction.cpp:279–308  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

277};
278
279const 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
307return table;
308}
309
310} // namespace
311

Callers 4

PopulateOrExchangeMethod · 0.85
TransferDataToWindowMethod · 0.85
OnTextMethod · 0.85
OnSliderMethod · 0.85

Calls 1

ControlInfoClass · 0.85

Tested by

no test coverage detected