1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-07-25 19:44:12 -04:00

Airspy HF (int version): use raw integer samples and do the DC and IQ corrections in the application

This commit is contained in:
f4exb
2018-02-04 23:42:46 +01:00
parent 6b26543655
commit cbf229c15c
7 changed files with 95 additions and 3 deletions
@@ -219,6 +219,7 @@ void AirspyHFGui::displaySettings()
ui->centerFrequency->setValue(m_settings.m_centerFrequency / 1000);
ui->LOppm->setValue(m_settings.m_LOppmTenths);
ui->LOppmText->setText(QString("%1").arg(QString::number(m_settings.m_LOppmTenths/10.0, 'f', 1)));
ui->autoCorr->setCurrentIndex(m_settings.m_autoCorrOptions);
ui->sampleRate->setCurrentIndex(m_settings.m_devSampleRateIndex);
ui->decim->setCurrentIndex(m_settings.m_log2Decim);
ui->band->blockSignals(false);
@@ -277,6 +278,16 @@ void AirspyHFGui::on_resetLOppm_clicked()
ui->LOppm->setValue(0);
}
void AirspyHFGui::on_autoCorr_currentIndexChanged(int index)
{
if ((index < 0) || (index > AirspyHFSettings::AutoCorrLast)) {
return;
}
m_settings.m_autoCorrOptions = (AirspyHFSettings::AutoCorrOptions) index;
sendSettings();
}
void AirspyHFGui::on_sampleRate_currentIndexChanged(int index)
{
m_settings.m_devSampleRateIndex = index;