1
0
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:
f4exb 2015-12-12 23:26:42 +01:00
parent 2aa0cea1ca
commit c111b94318

View File

@ -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;
}
}