Browse Source

Increase default refresh rate in Meter widget

Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
pull/306/head
Panagiotis Vasilopoulos 12 months ago
committed by Semisol
parent
commit
52e21d26c9
  1. 4
      src/widgets/Meter.cpp

4
src/widgets/Meter.cpp

@ -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);

Loading…
Cancel
Save