1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-04-30 15:49:41 +02:00

Increase default refresh rate in Meter widget

Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
This commit is contained in:
Panagiotis Vasilopoulos 2021-07-15 21:16:49 +00:00 committed by Semisol
parent eb7b71950b
commit 52e21d26c9

View File

@ -7,7 +7,7 @@
Dominic Mazzoni
Vaughan Johnson
2004.06.25 refresh rate limited to 30mS, by ChackoN
Refresh rate limited to 60Hz
*******************************************************************//**
@ -414,7 +414,7 @@ void MeterPanel::UpdatePrefs()
mMeterRefreshRate =
std::max(MIN_REFRESH_RATE, std::min(MAX_REFRESH_RATE,
gPrefs->Read(Key(wxT("RefreshRate")), 30)));
gPrefs->Read(Key(wxT("RefreshRate")), 60)));
mGradient = gPrefs->Read(Key(wxT("Bars")), wxT("Gradient")) == wxT("Gradient");
mDB = gPrefs->Read(Key(wxT("Type")), wxT("dB")) == wxT("dB");
mMeterDisabled = gPrefs->Read(Key(wxT("Disabled")), (long)0);