- added dedicated entry for DDC frequency and STR rate for each TX and RX

git-svn-id: http://moon:8086/svn/software/trunk/projects/mpsk_rx_gui@868 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
2022-05-23 15:26:11 +00:00
parent d373328292
commit 41173acc49
4 changed files with 93 additions and 36 deletions
+3 -1
View File
@@ -694,6 +694,8 @@ void Receiver::processBaseband(CVec const &iq, uint32_t len)
void Receiver::initDDC()
{
printf("Receiver::initDDC: ddc_freq=%f\n", m_params.ddc_freq);
m_nco_ddc.init(m_params.ddc_freq/m_params.samplerate, 0);
}
@@ -795,7 +797,7 @@ void Receiver::setParams(const params_t &params)
{
const ScopedLock sl (m_lock);
params_t lastParams = m_params;
m_params = params;
// DDC frequency has changed