1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-23 01:55:48 -05:00

Fixed core dump on ~ChannelAnalyzerGUI(). Code for initialization of m_threadedScopeSampleSink was missing

This commit is contained in:
f4exb 2015-06-23 06:46:12 +02:00
parent c4957d2ee5
commit d7c7023bb5

View File

@ -253,6 +253,8 @@ ChannelAnalyzerGUI::ChannelAnalyzerGUI(PluginAPI* pluginAPI, QWidget* parent) :
m_channelizer = new Channelizer(m_channelAnalyzer);
m_threadedSpectrumSampleSink = new ThreadedSampleSink(m_channelizer);
m_pluginAPI->addSampleSink(m_threadedSpectrumSampleSink);
m_threadedScopeSampleSink = new ThreadedSampleSink(m_channelizer);
m_pluginAPI->addSampleSink(m_threadedScopeSampleSink);
ui->glSpectrum->setCenterFrequency(m_rate/2);
ui->glSpectrum->setSampleRate(m_rate);