1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-01 21:54:55 -04:00

Allow full range of overlap

This commit is contained in:
Arne Jünemann
2023-10-23 15:05:34 +02:00
parent 1034c79c30
commit 0d193d41f6
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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;
}