mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-02-03 09:44:01 -05:00
AM Demodulator: horizontal leap mode: use a fixed amortizing factor (1/2) to correct horizontal sync
This commit is contained in:
parent
b2be9f6a0d
commit
ee548d2214
@ -490,7 +490,7 @@ private:
|
||||
if (m_objRunning.m_blnHSync && (m_intLineIndex == 0))
|
||||
{
|
||||
//qDebug("HCorr: %d", m_intAvgColIndex);
|
||||
m_intColIndex = m_intNumberSamplePerTop + m_intNumberSamplePerLine - m_intAvgColIndex;
|
||||
m_intColIndex = m_intNumberSamplePerTop + (m_intNumberSamplePerLine - m_intAvgColIndex)/2; // amortizing factor 1/2
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user