mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-03 06:24:48 -04:00
SpectrumVis: removed message queue parameter from configure method
This commit is contained in:
@@ -144,15 +144,16 @@ UDPSourceGUI::UDPSourceGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, Baseb
|
||||
ui->glSpectrum->setSampleRate(ui->sampleRate->text().toInt());
|
||||
ui->glSpectrum->setDisplayWaterfall(true);
|
||||
ui->glSpectrum->setDisplayMaxHold(true);
|
||||
m_spectrumVis->configure(m_spectrumVis->getInputMessageQueue(),
|
||||
64, // FFT size
|
||||
0, // Ref level (dB)
|
||||
100, // Power range (dB)
|
||||
10, // overlapping %
|
||||
0, // number of averaging samples
|
||||
SpectrumVis::AvgModeNone, // no averaging
|
||||
FFTWindow::BlackmanHarris,
|
||||
false); // logarithmic scale
|
||||
m_spectrumVis->configure(
|
||||
64, // FFT size
|
||||
0, // Ref level (dB)
|
||||
100, // Power range (dB)
|
||||
10, // overlapping %
|
||||
0, // number of averaging samples
|
||||
SpectrumVis::AvgModeNone, // no averaging
|
||||
FFTWindow::BlackmanHarris,
|
||||
false // logarithmic scale
|
||||
);
|
||||
|
||||
ui->glSpectrum->connectTimer(MainWindow::getInstance()->getMasterTimer());
|
||||
connect(&MainWindow::getInstance()->getMasterTimer(), SIGNAL(timeout()), this, SLOT(tick()));
|
||||
|
||||
Reference in New Issue
Block a user