1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-16 16:10:06 +02:00

forgot to remove temp varialbe in OnPeakText

This commit is contained in:
David Bailes 2015-05-07 10:56:40 +01:00
parent 5a25efde02
commit a48f299b31

View File

@ -298,8 +298,6 @@ void EffectAmplify::OnPeakText(wxCommandEvent & WXUNUSED(evt))
return;
}
float temp = powf(10.0f, 0.0/20.0f );
mRatio = powf(10.0f, mNewPeak / 20.0f) / mPeak;
float ampInit = 20.0f * log10f(mRatio);