mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-04-05 19:18:38 -04:00
BFM demod: fixes in stereo processing
This commit is contained in:
parent
2aa0cea1ca
commit
c111b94318
@ -140,11 +140,12 @@ void BFMDemod::feed(const SampleVector::const_iterator& begin, const SampleVecto
|
||||
m_sampleBuffer.push_back(Sample(m_pilotPLLSamples[1] * (1<<15), 0.0)); // debug 38 kHz pilot
|
||||
}
|
||||
|
||||
Complex s(demod*2.0*m_pilotPLLSamples[1], 0);
|
||||
Complex s(demod * 1.17 * m_pilotPLLSamples[1], 0);
|
||||
|
||||
if (m_interpolatorStereo.interpolate(&m_interpolatorStereoDistanceRemain, s, &cs))
|
||||
{
|
||||
sampleStereo = cs.real();
|
||||
m_interpolatorStereoDistanceRemain += m_interpolatorStereoDistance;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user