mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-17 16:40:07 +02:00
Fix bug 963 again
This commit is contained in:
parent
13c6fdf663
commit
9735775a8d
@ -242,8 +242,8 @@ void EffectAmplify::PopulateOrExchange(ShuttleGui & S)
|
|||||||
double maxAmp = MAX_Amp + LINEAR_TO_DB(mPeak);
|
double maxAmp = MAX_Amp + LINEAR_TO_DB(mPeak);
|
||||||
|
|
||||||
// min and max need same precision as what we're validating (bug 963)
|
// min and max need same precision as what we're validating (bug 963)
|
||||||
minAmp = Internat::CompatibleToDouble(Internat::ToString(minAmp, precission));
|
minAmp = Internat::CompatibleToDouble(Internat::ToString(minAmp, precission +1));
|
||||||
maxAmp = Internat::CompatibleToDouble(Internat::ToString(maxAmp, precission));
|
maxAmp = Internat::CompatibleToDouble(Internat::ToString(maxAmp, precission +1));
|
||||||
|
|
||||||
vldNewPeak.SetRange(minAmp, maxAmp);
|
vldNewPeak.SetRange(minAmp, maxAmp);
|
||||||
mNewPeakT = S.Id(ID_Peak).AddTextBox(_("New Peak Amplitude (dB):"), wxT(""), 12);
|
mNewPeakT = S.Id(ID_Peak).AddTextBox(_("New Peak Amplitude (dB):"), wxT(""), 12);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user