If "Split Tx" is not ticked, send the correct (un-shifted) audio tones.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3467 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2013-07-09 00:42:43 +00:00
parent f757933b07
commit edd93c8fc2
2 changed files with 4 additions and 1 deletions

View File

@ -2976,7 +2976,8 @@ void MainWindow::setXIT(int n)
}
if(m_bSplit) ret=rig->setSplitFreq(MHz(m_dialFreq)+xit,RIG_VFO_B);
}
soundOutThread.setXIT(xit);
if(m_bSplit) soundOutThread.setXIT(xit);
if(!m_bSplit) soundOutThread.setXIT(0);
}
void MainWindow::setFreq4(int rxFreq, int txFreq)

View File

@ -216,6 +216,7 @@ void SoundOutThread::run()
}
udata.ntrperiod=m_TRperiod;
udata.ntxfreq=m_txFreq;
udata.xit=m_xit;
udata.txMute=m_txMute;
udata.btune=m_tune;
@ -250,6 +251,7 @@ void SoundOutThread::setTxFreq(int n)
void SoundOutThread::setXIT(int n)
{
m_xit=n;
}
void SoundOutThread::setTxSNR(double snr)