mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-23 18:15:45 -05:00
ATV Demod: correction for AM sync (F4HKW)
This commit is contained in:
parent
2318419716
commit
62ab9b2f29
@ -226,6 +226,7 @@ void ATVDemod::feed(const SampleVector::const_iterator& begin, const SampleVecto
|
|||||||
ptrBuffer ++;
|
ptrBuffer ++;
|
||||||
fltQ= ((qint32) (*ptrBuffer)) << 4;
|
fltQ= ((qint32) (*ptrBuffer)) << 4;
|
||||||
ptrBuffer ++;
|
ptrBuffer ++;
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
for (SampleVector::const_iterator it = begin; it != end; ++it /* ++it **/)
|
for (SampleVector::const_iterator it = begin; it != end; ++it /* ++it **/)
|
||||||
@ -485,6 +486,10 @@ void ATVDemod::feed(const SampleVector::const_iterator& begin, const SampleVecto
|
|||||||
{
|
{
|
||||||
m_fltAmpDelta=1.0f;
|
m_fltAmpDelta=1.0f;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//Reset extrema
|
||||||
|
m_fltEffMin=2000000.0f;
|
||||||
|
m_fltEffMax=-2000000.0f;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -593,3 +598,4 @@ int ATVDemod::GetSampleRate()
|
|||||||
{
|
{
|
||||||
return m_objRunning.m_intMsps;
|
return m_objRunning.m_intMsps;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
const PluginDescriptor ATVDemodPlugin::m_ptrPluginDescriptor =
|
const PluginDescriptor ATVDemodPlugin::m_ptrPluginDescriptor =
|
||||||
{
|
{
|
||||||
QString("ATV Demodulator"),
|
QString("ATV Demodulator"),
|
||||||
QString("3.2.0"),
|
QString("3.3.0"),
|
||||||
QString("(c) F4HKW for F4EXB / SDRAngel"),
|
QString("(c) F4HKW for F4EXB / SDRAngel"),
|
||||||
QString("https://github.com/f4exb/sdrangel"),
|
QString("https://github.com/f4exb/sdrangel"),
|
||||||
true,
|
true,
|
||||||
|
Loading…
Reference in New Issue
Block a user