mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-17 14:11:13 +01:00
forgot to remove temp varialbe in OnPeakText
This commit is contained in:
@@ -298,8 +298,6 @@ void EffectAmplify::OnPeakText(wxCommandEvent & WXUNUSED(evt))
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
float temp = powf(10.0f, 0.0/20.0f );
|
|
||||||
|
|
||||||
mRatio = powf(10.0f, mNewPeak / 20.0f) / mPeak;
|
mRatio = powf(10.0f, mNewPeak / 20.0f) / mPeak;
|
||||||
|
|
||||||
float ampInit = 20.0f * log10f(mRatio);
|
float ampInit = 20.0f * log10f(mRatio);
|
||||||
|
|||||||
Reference in New Issue
Block a user