1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-09 14:43:57 +01:00

Remove trailing spaces.

This commit is contained in:
benjamin.drung@gmail.com
2014-06-03 20:30:19 +00:00
parent d921c4969b
commit 277932dccb
380 changed files with 6489 additions and 6491 deletions

View File

@@ -139,7 +139,7 @@ bool EffectNoiseRemoval::PromptUser()
// We may want to twiddle the levels if we are setting
// from an automation dialog, the only case in which we can
// get here without any wavetracks.
bool bAllowTwiddleSettings = (GetNumWaveTracks() == 0);
bool bAllowTwiddleSettings = (GetNumWaveTracks() == 0);
if (mHasProfile || bAllowTwiddleSettings) {
dlog.m_pButton_Preview->Enable(GetNumWaveTracks() != 0);
@@ -153,7 +153,7 @@ bool EffectNoiseRemoval::PromptUser()
dlog.mKeepNoise->SetValue(dlog.mbLeaveNoise);
dlog.CentreOnParent();
dlog.ShowModal();
if (dlog.GetReturnCode() == 0) {
return false;
}
@@ -173,9 +173,9 @@ bool EffectNoiseRemoval::PromptUser()
mDoProfile = (dlog.GetReturnCode() == 1);
return gPrefs->Flush();
}
bool EffectNoiseRemoval::TransferParameters( Shuttle & WXUNUSED(shuttle) )
{
{
//shuttle.TransferDouble(wxT("Gain"), mNoiseGain, 0.0);
//shuttle.TransferDouble(wxT("Freq"), mFreqSmoothingHz, 0.0);
//shuttle.TransferDouble(wxT("Time"), mAttackDecayTime, 0.0);
@@ -222,7 +222,7 @@ bool EffectNoiseRemoval::Process()
if (bGoodResult)
Cleanup();
this->ReplaceProcessedTracks(bGoodResult);
this->ReplaceProcessedTracks(bGoodResult);
return bGoodResult;
}
@@ -630,7 +630,7 @@ enum {
ID_TIME_TEXT,
};
#define SENSITIVITY_MIN 0 // Corresponds to -20 dB
#define SENSITIVITY_MIN 0 // Corresponds to -20 dB
#define SENSITIVITY_MAX 4000 // Corresponds to 20 dB
#define GAIN_MIN 0
@@ -660,12 +660,12 @@ BEGIN_EVENT_TABLE(NoiseRemovalDialog,wxDialog)
EVT_TEXT(ID_TIME_TEXT, NoiseRemovalDialog::OnTimeText)
END_EVENT_TABLE()
NoiseRemovalDialog::NoiseRemovalDialog(EffectNoiseRemoval * effect,
NoiseRemovalDialog::NoiseRemovalDialog(EffectNoiseRemoval * effect,
wxWindow *parent) :
EffectDialog( parent, _("Noise Removal"), PROCESS_EFFECT)
{
m_pEffect = effect;
// NULL out the control members until the controls are created.
m_pButton_GetProfile = NULL;
m_pButton_Preview = NULL;
@@ -707,9 +707,9 @@ void NoiseRemovalDialog::OnPreview(wxCommandEvent & WXUNUSED(event))
m_pEffect->mNoiseGain = -mGain;
m_pEffect->mFreqSmoothingHz = mFreq;
m_pEffect->mAttackDecayTime = mTime;
m_pEffect->Preview();
m_pEffect->mSensitivity = oldSensitivity;
m_pEffect->mNoiseGain = oldGain;
m_pEffect->mFreqSmoothingHz = oldFreq;