1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-02 06:04:39 -04:00

Added option to decimate around RF center frequency

This commit is contained in:
f4exb
2015-07-02 02:10:14 +02:00
parent 637c6e74f7
commit 78c944ce69
6 changed files with 218 additions and 9 deletions
@@ -351,8 +351,8 @@ bool BladerfInput::applySettings(const GeneralSettings& generalSettings, const S
qint64 f_img = centerFrequency;
qint64 f_cut = centerFrequency + m_settings.m_bandwidth/2;
if (m_settings.m_log2Decim == 0)
{ // Little wooby-doop if no decimation
if ((m_settings.m_log2Decim == 0) || (m_settings.m_fcPos == FC_POS_CENTER))
{
centerFrequency = m_generalSettings.m_centerFrequency;
f_img = centerFrequency;
f_cut = centerFrequency + m_settings.m_bandwidth/2;