From cc619e7bf53b27deb4241afc178576be5941fd20 Mon Sep 17 00:00:00 2001 From: Jon Beniston Date: Mon, 28 Sep 2020 09:48:20 +0100 Subject: [PATCH] Increase supported sample rate 10x --- plugins/samplesink/fileoutput/fileoutputgui.cpp | 2 +- plugins/samplesink/testsink/testsinkgui.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/samplesink/fileoutput/fileoutputgui.cpp b/plugins/samplesink/fileoutput/fileoutputgui.cpp index 139663136..325713850 100644 --- a/plugins/samplesink/fileoutput/fileoutputgui.cpp +++ b/plugins/samplesink/fileoutput/fileoutputgui.cpp @@ -58,7 +58,7 @@ FileOutputGui::FileOutputGui(DeviceUISet *deviceUISet, QWidget* parent) : ui->centerFrequency->setValueRange(7, 0, pow(10,7)); ui->sampleRate->setColorMapper(ColorMapper(ColorMapper::GrayGreenYellow)); - ui->sampleRate->setValueRange(7, 32000U, 9000000U); + ui->sampleRate->setValueRange(8, 32000U, 90000000U); ui->fileNameText->setText(m_fileName); diff --git a/plugins/samplesink/testsink/testsinkgui.cpp b/plugins/samplesink/testsink/testsinkgui.cpp index 4ab115230..1f7132777 100644 --- a/plugins/samplesink/testsink/testsinkgui.cpp +++ b/plugins/samplesink/testsink/testsinkgui.cpp @@ -55,7 +55,7 @@ TestSinkGui::TestSinkGui(DeviceUISet *deviceUISet, QWidget* parent) : ui->centerFrequency->setValueRange(7, 0, pow(10,7)); ui->sampleRate->setColorMapper(ColorMapper(ColorMapper::GrayGreenYellow)); - ui->sampleRate->setValueRange(7, 32000U, 9000000U); + ui->sampleRate->setValueRange(8, 32000U, 90000000U); m_spectrumVis = m_sampleSink->getSpectrumVis(); m_spectrumVis->setGLSpectrum(ui->glSpectrum);