mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-29 19:28:47 -05:00
ChannelAnalyzerNG: standardized some debug messages
This commit is contained in:
parent
46ebdefff0
commit
fa3e39859a
@ -134,7 +134,7 @@ bool ChannelAnalyzerNG::handleMessage(const Message& cmd)
|
|||||||
{
|
{
|
||||||
float bandwidth, lowCutoff;
|
float bandwidth, lowCutoff;
|
||||||
|
|
||||||
qDebug() << "ChannelAnalyzerNG::handleMessage";
|
qDebug() << "ChannelAnalyzerNG::handleMessage: " << cmd.getIdentifier();
|
||||||
|
|
||||||
if (DownChannelizer::MsgChannelizerNotification::match(cmd))
|
if (DownChannelizer::MsgChannelizerNotification::match(cmd))
|
||||||
{
|
{
|
||||||
@ -185,7 +185,8 @@ bool ChannelAnalyzerNG::handleMessage(const Message& cmd)
|
|||||||
|
|
||||||
m_settingsMutex.unlock();
|
m_settingsMutex.unlock();
|
||||||
|
|
||||||
qDebug() << " - MsgConfigureChannelAnalyzer: m_Bandwidth: " << m_Bandwidth
|
qDebug() << "ChannelAnalyzerNG::handleMessage: MsgConfigureChannelAnalyzer:"
|
||||||
|
<< " m_Bandwidth: " << m_Bandwidth
|
||||||
<< " m_LowCutoff: " << m_LowCutoff
|
<< " m_LowCutoff: " << m_LowCutoff
|
||||||
<< " m_spanLog2: " << m_spanLog2
|
<< " m_spanLog2: " << m_spanLog2
|
||||||
<< " m_ssb: " << m_ssb;
|
<< " m_ssb: " << m_ssb;
|
||||||
|
@ -178,6 +178,11 @@ void ATVDemodGUI::viewChanged()
|
|||||||
applySettings();
|
applySettings();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void ATVDemodGUI::channelSampleRateChanged()
|
||||||
|
{
|
||||||
|
applySettings();
|
||||||
|
}
|
||||||
|
|
||||||
void ATVDemodGUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
void ATVDemodGUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
@ -215,6 +220,8 @@ ATVDemodGUI::ATVDemodGUI(PluginAPI* objPluginAPI, DeviceSourceAPI *objDeviceAPI,
|
|||||||
this);
|
this);
|
||||||
m_objDeviceAPI->addThreadedSink(m_objThreadedChannelizer);
|
m_objDeviceAPI->addThreadedSink(m_objThreadedChannelizer);
|
||||||
|
|
||||||
|
connect(m_objChannelizer, SIGNAL(inputSampleRateChanged()), this, SLOT(channelSampleRateChanged()));
|
||||||
|
|
||||||
//m_objPluginAPI->addThreadedSink(m_objThreadedChannelizer);
|
//m_objPluginAPI->addThreadedSink(m_objThreadedChannelizer);
|
||||||
//connect(&m_objPluginAPI->getMainWindow()->getMasterTimer(), SIGNAL(timeout()), this, SLOT(tick())); // 50 ms
|
//connect(&m_objPluginAPI->getMainWindow()->getMasterTimer(), SIGNAL(timeout()), this, SLOT(tick())); // 50 ms
|
||||||
|
|
||||||
@ -293,7 +300,6 @@ void ATVDemodGUI::applySettings()
|
|||||||
ui->vSync->isChecked());
|
ui->vSync->isChecked());
|
||||||
|
|
||||||
m_objChannelMarker.setBandwidth(m_objATVDemod->GetSampleRate());
|
m_objChannelMarker.setBandwidth(m_objATVDemod->GetSampleRate());
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -58,6 +58,7 @@ public:
|
|||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
void viewChanged();
|
void viewChanged();
|
||||||
|
void channelSampleRateChanged();
|
||||||
void onWidgetRolled(QWidget* widget, bool rollDown);
|
void onWidgetRolled(QWidget* widget, bool rollDown);
|
||||||
void onMenuDoubleClicked();
|
void onMenuDoubleClicked();
|
||||||
void tick();
|
void tick();
|
||||||
|
Loading…
Reference in New Issue
Block a user