1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-07 00:14:49 -04:00

FreeDV modulator: implemented audio input with possible resampling

This commit is contained in:
f4exb
2019-02-24 20:59:09 +01:00
parent 951e0243f2
commit cc4604f6d8
18 changed files with 290 additions and 24 deletions
@@ -182,6 +182,12 @@ void FreeDVModGUI::on_spanLog2_valueChanged(int value)
applyBandwidths(5 - value);
}
void FreeDVModGUI::on_gaugeInput_toggled(bool checked)
{
m_settings.m_gaugeInputElseModem = checked;
applySettings();
}
void FreeDVModGUI::on_toneFrequency_valueChanged(int value)
{
ui->toneFrequencyText->setText(QString("%1k").arg(value / 100.0, 0, 'f', 2));
@@ -463,6 +469,7 @@ void FreeDVModGUI::displaySettings()
ui->spanLog2->blockSignals(true);
ui->spanLog2->setValue(5 - m_settings.m_spanLog2);
ui->gaugeInput->setChecked(m_settings.m_gaugeInputElseModem);
QString s = QString::number(m_freeDVMod->getHiCutoff()/1000.0, 'f', 1);