mirror of
				https://github.com/f4exb/sdrangel.git
				synced 2025-10-31 13:00:26 -04:00 
			
		
		
		
	Allow full range of overlap
This commit is contained in:
		
							parent
							
								
									1034c79c30
								
							
						
					
					
						commit
						0d193d41f6
					
				| @ -893,7 +893,7 @@ void SpectrumVis::applySettings(const SpectrumSettings& settings, bool force) | ||||
|      || (settings.m_fftOverlap != m_settings.m_fftOverlap) || force) | ||||
|     { | ||||
| 		m_overlapSize = settings.m_fftOverlap < 0 ? 0 : | ||||
| 			settings.m_fftOverlap < fftSize ? settings.m_fftOverlap : (fftSize/2); | ||||
| 			settings.m_fftOverlap < fftSize ? settings.m_fftOverlap : (fftSize - 1); | ||||
|         m_refillSize = fftSize - m_overlapSize; | ||||
|         m_fftBufferFill = m_overlapSize; | ||||
|     } | ||||
|  | ||||
| @ -4450,7 +4450,7 @@ void GLSpectrumView::timeZoom(bool zoomInElseOut) | ||||
|         return; | ||||
|     } | ||||
| 
 | ||||
|     if (zoomInElseOut && (m_fftOverlap == m_fftSize/2)) { | ||||
| 	if (zoomInElseOut && (m_fftOverlap == m_fftSize - 1)) { | ||||
|         return; | ||||
|     } | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user