mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-09-28 15:56:33 -04: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))
|
if (m_objRunning.m_blnHSync && (m_intLineIndex == 0))
|
||||||
{
|
{
|
||||||
//qDebug("HCorr: %d", m_intAvgColIndex);
|
//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
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user