Audacity 3.2.0
|
Public Member Functions | |
Settings () | |
~Settings () | |
int | PromptUser (EffectNoiseReduction *effect, EffectSettingsAccess &access, wxWindow &parent, bool bHasProfile, bool bAllowTwiddleSettings) |
bool | PrefsIO (bool read) |
bool | Validate (EffectNoiseReduction *effect) const |
size_t | WindowSize () const |
unsigned | StepsPerWindow () const |
size_t | SpectrumSize () const |
size_t | StepSize () const |
Public Attributes | |
bool | mDoProfile |
double | mNewSensitivity |
double | mFreqSmoothingBands |
double | mNoiseGain |
double | mAttackTime |
double | mReleaseTime |
double | mOldSensitivity |
int | mNoiseReductionChoice |
int | mWindowTypes |
int | mWindowSizeChoice |
int | mStepsPerWindowChoice |
int | mMethod |
Definition at line 208 of file NoiseReduction.cpp.
EffectNoiseReduction::Settings::Settings | ( | ) |
Definition at line 248 of file NoiseReduction.cpp.
References PrefsIO().
|
inline |
Definition at line 212 of file NoiseReduction.cpp.
bool EffectNoiseReduction::Settings::PrefsIO | ( | bool | read | ) |
Definition at line 535 of file NoiseReduction.cpp.
References anonymous_namespace{NoiseReduction.cpp}::DEFAULT_STEPS_PER_WINDOW_CHOICE, anonymous_namespace{NoiseReduction.cpp}::DEFAULT_WINDOW_SIZE_CHOICE, anonymous_namespace{NoiseReduction.cpp}::DM_DEFAULT_METHOD, anonymous_namespace{NoiseReduction.cpp}::DM_OLD_METHOD, audacity::BasicSettings::Flush(), gPrefs, mAttackTime, mFreqSmoothingBands, mMethod, mNewSensitivity, mNoiseGain, mNoiseReductionChoice, mOldSensitivity, mReleaseTime, mStepsPerWindowChoice, mWindowSizeChoice, mWindowTypes, anonymous_namespace{NoiseReduction.cpp}::NRC_ISOLATE_NOISE, anonymous_namespace{NoiseReduction.cpp}::NRC_LEAVE_RESIDUE, anonymous_namespace{NoiseReduction.cpp}::NRC_REDUCE_NOISE, anonymous_namespace{NoiseReduction.cpp}::readPrefs(), anonymous_namespace{NoiseReduction.cpp}::writePrefs(), anonymous_namespace{NoiseReduction.cpp}::WT_DEFAULT_WINDOW_TYPES, and wxT().
Referenced by PromptUser(), and Settings().
int EffectNoiseReduction::Settings::PromptUser | ( | EffectNoiseReduction * | effect, |
EffectSettingsAccess & | access, | ||
wxWindow & | parent, | ||
bool | bHasProfile, | ||
bool | bAllowTwiddleSettings | ||
) |
Definition at line 479 of file NoiseReduction.cpp.
References EffectNoiseReduction::Dialog::GetTempSettings(), mDoProfile, and PrefsIO().
|
inline |
Definition at line 221 of file NoiseReduction.cpp.
References WindowSize().
|
inline |
Definition at line 222 of file NoiseReduction.cpp.
References StepsPerWindow(), and WindowSize().
Referenced by EffectNoiseReduction::Worker::Worker().
|
inline |
Definition at line 220 of file NoiseReduction.cpp.
References mStepsPerWindowChoice.
Referenced by StepSize(), and EffectNoiseReduction::Worker::Worker().
bool EffectNoiseReduction::Settings::Validate | ( | EffectNoiseReduction * | effect | ) | const |
Definition at line 602 of file NoiseReduction.cpp.
References anonymous_namespace{NoiseReduction.cpp}::DM_MEDIAN, EffectUIServices::DoMessageBox(), anonymous_namespace{NoiseReduction.cpp}::windowTypesInfo, and XO().
|
inline |
Definition at line 219 of file NoiseReduction.cpp.
References mWindowSizeChoice.
Referenced by SpectrumSize(), and StepSize().
double EffectNoiseReduction::Settings::mAttackTime |
Definition at line 232 of file NoiseReduction.cpp.
Referenced by anonymous_namespace{NoiseReduction.cpp}::controlInfo(), PrefsIO(), and EffectNoiseReduction::Worker::Worker().
bool EffectNoiseReduction::Settings::mDoProfile |
Definition at line 224 of file NoiseReduction.cpp.
Referenced by PromptUser().
double EffectNoiseReduction::Settings::mFreqSmoothingBands |
Definition at line 230 of file NoiseReduction.cpp.
Referenced by anonymous_namespace{NoiseReduction.cpp}::controlInfo(), and PrefsIO().
int EffectNoiseReduction::Settings::mMethod |
Definition at line 245 of file NoiseReduction.cpp.
Referenced by PrefsIO().
double EffectNoiseReduction::Settings::mNewSensitivity |
Definition at line 229 of file NoiseReduction.cpp.
Referenced by anonymous_namespace{NoiseReduction.cpp}::controlInfo(), and PrefsIO().
double EffectNoiseReduction::Settings::mNoiseGain |
Definition at line 231 of file NoiseReduction.cpp.
Referenced by anonymous_namespace{NoiseReduction.cpp}::controlInfo(), PrefsIO(), and EffectNoiseReduction::Worker::Worker().
int EffectNoiseReduction::Settings::mNoiseReductionChoice |
Definition at line 239 of file NoiseReduction.cpp.
Referenced by PrefsIO().
double EffectNoiseReduction::Settings::mOldSensitivity |
Definition at line 236 of file NoiseReduction.cpp.
Referenced by anonymous_namespace{NoiseReduction.cpp}::controlInfo(), PrefsIO(), and EffectNoiseReduction::Worker::Worker().
double EffectNoiseReduction::Settings::mReleaseTime |
Definition at line 233 of file NoiseReduction.cpp.
Referenced by anonymous_namespace{NoiseReduction.cpp}::controlInfo(), PrefsIO(), and EffectNoiseReduction::Worker::Worker().
int EffectNoiseReduction::Settings::mStepsPerWindowChoice |
Definition at line 244 of file NoiseReduction.cpp.
Referenced by PrefsIO(), and StepsPerWindow().
int EffectNoiseReduction::Settings::mWindowSizeChoice |
Definition at line 243 of file NoiseReduction.cpp.
Referenced by PrefsIO(), and WindowSize().
int EffectNoiseReduction::Settings::mWindowTypes |
Definition at line 242 of file NoiseReduction.cpp.
Referenced by PrefsIO().