Enable ForceCenterFreq when using mockRT input.

This commit is contained in:
Joe Taylor 2021-07-15 14:25:29 -04:00
parent 66b5fd0a2f
commit d3861ae281

View File

@ -496,6 +496,9 @@ void SoundInThread::inputMockRT()
msleep(mswait); msleep(mswait);
} }
read_tf2_(&k); read_tf2_(&k);
if(m_bForceCenterFreq) {
datcom_.fcenter=m_dForceCenterFreq;
}
} }
m_hsym=(k-2048)*11025.0/(2048.0*m_rate); m_hsym=(k-2048)*11025.0/(2048.0*m_rate);
if(m_hsym != nhsym0) { if(m_hsym != nhsym0) {