mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-26 17:58:43 -05:00
DATV: fixed communication with GUI
This commit is contained in:
parent
ce70029ba6
commit
156d7b543a
@ -65,6 +65,10 @@ public:
|
|||||||
return m_settings.m_centerFrequency;
|
return m_settings.m_centerFrequency;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void setMessageQueueToGUI(MessageQueue* queue) override {
|
||||||
|
ChannelAPI::setMessageQueueToGUI(queue);
|
||||||
|
m_basebandSink->setMessageQueueToGUI(queue);
|
||||||
|
}
|
||||||
void SetTVScreen(TVScreen *objScreen) { m_basebandSink->setTVScreen(objScreen); }
|
void SetTVScreen(TVScreen *objScreen) { m_basebandSink->setTVScreen(objScreen); }
|
||||||
void setMERLabel(QLabel *merLabel) { m_basebandSink->setMERLabel(merLabel); }
|
void setMERLabel(QLabel *merLabel) { m_basebandSink->setMERLabel(merLabel); }
|
||||||
void setCNRLabel(QLabel *cnrLabel) { m_basebandSink->setCNRLabel(cnrLabel); }
|
void setCNRLabel(QLabel *cnrLabel) { m_basebandSink->setCNRLabel(cnrLabel); }
|
||||||
|
@ -87,6 +87,8 @@ bool DATVDemodGUI::handleMessage(const Message& message)
|
|||||||
m_settings.m_fec = notif.getCodeRate();
|
m_settings.m_fec = notif.getCodeRate();
|
||||||
m_settings.m_modulation = notif.getModulation();
|
m_settings.m_modulation = notif.getModulation();
|
||||||
m_settings.validateSystemConfiguration();
|
m_settings.validateSystemConfiguration();
|
||||||
|
qDebug("DATVDemodReport::MsgReportModcodCstlnChange: m_modulation: %d m_fec: %d",
|
||||||
|
m_settings.m_modulation, m_settings.m_fec);
|
||||||
displaySystemConfiguration();
|
displaySystemConfiguration();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -49,7 +49,8 @@ DATVDemodSink::DATVDemodSink() :
|
|||||||
m_modcodModulation(-1),
|
m_modcodModulation(-1),
|
||||||
m_modcodCodeRate(-1),
|
m_modcodCodeRate(-1),
|
||||||
m_enmModulation(DATVDemodSettings::BPSK /*DATV_FM1*/),
|
m_enmModulation(DATVDemodSettings::BPSK /*DATV_FM1*/),
|
||||||
m_channelSampleRate(1024000)
|
m_channelSampleRate(1024000),
|
||||||
|
m_messageQueueToGUI(nullptr)
|
||||||
{
|
{
|
||||||
//*************** DATV PARAMETERS ***************
|
//*************** DATV PARAMETERS ***************
|
||||||
m_blnInitialized=false;
|
m_blnInitialized=false;
|
||||||
|
Loading…
Reference in New Issue
Block a user