BFM demod: fixes in stereo processing

pull/6/head
f4exb 2015-12-12 23:26:42 +01:00
rodzic 2aa0cea1ca
commit c111b94318
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

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