mirror of
				https://github.com/cookiengineer/audacity
				synced 2025-11-04 08:04:06 +01:00 
			
		
		
		
	Increase default refresh rate in Meter widget
Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
This commit is contained in:
		
				
					committed by
					
						
						Semisol
					
				
			
			
				
	
			
			
			
						parent
						
							eb7b71950b
						
					
				
				
					commit
					52e21d26c9
				
			@@ -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);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user