1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-26 01:39:05 -05:00

ChannelAnalyzerNG: standardized some debug messages

This commit is contained in:
f4exb 2017-02-25 11:52:57 +01:00
parent 46ebdefff0
commit fa3e39859a
3 changed files with 11 additions and 3 deletions

View File

@ -134,7 +134,7 @@ bool ChannelAnalyzerNG::handleMessage(const Message& cmd)
{
float bandwidth, lowCutoff;
qDebug() << "ChannelAnalyzerNG::handleMessage";
qDebug() << "ChannelAnalyzerNG::handleMessage: " << cmd.getIdentifier();
if (DownChannelizer::MsgChannelizerNotification::match(cmd))
{
@ -185,7 +185,8 @@ bool ChannelAnalyzerNG::handleMessage(const Message& cmd)
m_settingsMutex.unlock();
qDebug() << " - MsgConfigureChannelAnalyzer: m_Bandwidth: " << m_Bandwidth
qDebug() << "ChannelAnalyzerNG::handleMessage: MsgConfigureChannelAnalyzer:"
<< " m_Bandwidth: " << m_Bandwidth
<< " m_LowCutoff: " << m_LowCutoff
<< " m_spanLog2: " << m_spanLog2
<< " m_ssb: " << m_ssb;

View File

@ -178,6 +178,11 @@ void ATVDemodGUI::viewChanged()
applySettings();
}
void ATVDemodGUI::channelSampleRateChanged()
{
applySettings();
}
void ATVDemodGUI::onWidgetRolled(QWidget* widget, bool rollDown)
{
}
@ -215,6 +220,8 @@ ATVDemodGUI::ATVDemodGUI(PluginAPI* objPluginAPI, DeviceSourceAPI *objDeviceAPI,
this);
m_objDeviceAPI->addThreadedSink(m_objThreadedChannelizer);
connect(m_objChannelizer, SIGNAL(inputSampleRateChanged()), this, SLOT(channelSampleRateChanged()));
//m_objPluginAPI->addThreadedSink(m_objThreadedChannelizer);
//connect(&m_objPluginAPI->getMainWindow()->getMasterTimer(), SIGNAL(timeout()), this, SLOT(tick())); // 50 ms
@ -293,7 +300,6 @@ void ATVDemodGUI::applySettings()
ui->vSync->isChecked());
m_objChannelMarker.setBandwidth(m_objATVDemod->GetSampleRate());
}
}

View File

@ -58,6 +58,7 @@ public:
private slots:
void viewChanged();
void channelSampleRateChanged();
void onWidgetRolled(QWidget* widget, bool rollDown);
void onMenuDoubleClicked();
void tick();