mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-05-29 13:32:26 -04:00
BFM demod: changed to RDS PLL
This commit is contained in:
parent
1b66b72a11
commit
46aae9c5ad
@ -151,7 +151,7 @@ void BFMDemod::feed(const SampleVector::const_iterator& begin, const SampleVecto
|
|||||||
|
|
||||||
if (m_running.m_showPilot)
|
if (m_running.m_showPilot)
|
||||||
{
|
{
|
||||||
m_sampleBuffer.push_back(Sample(m_pilotPLLSamples[1] * (1<<15), 0.0)); // debug 38 kHz pilot
|
m_sampleBuffer.push_back(Sample(m_pilotPLLSamples[2] * (1<<15), 0.0)); // debug 57 kHz pilot
|
||||||
}
|
}
|
||||||
|
|
||||||
Complex s(demod*2.0*m_pilotPLLSamples[1], 0);
|
Complex s(demod*2.0*m_pilotPLLSamples[1], 0);
|
||||||
|
@ -180,8 +180,8 @@ private:
|
|||||||
SampleVector m_sampleBuffer;
|
SampleVector m_sampleBuffer;
|
||||||
QMutex m_settingsMutex;
|
QMutex m_settingsMutex;
|
||||||
|
|
||||||
StereoPhaseLock m_pilotPLL;
|
RDSPhaseLock m_pilotPLL;
|
||||||
Real m_pilotPLLSamples[2];
|
Real m_pilotPLLSamples[3];
|
||||||
|
|
||||||
LowPassFilterRC m_deemphasisFilterX;
|
LowPassFilterRC m_deemphasisFilterX;
|
||||||
LowPassFilterRC m_deemphasisFilterY;
|
LowPassFilterRC m_deemphasisFilterY;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user