mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-21 23:55:13 -05:00
Windows: MSVC2017: fixed more attribute unused cases (1)
This commit is contained in:
parent
d910675587
commit
dc2f25a00b
@ -38,7 +38,7 @@ public:
|
||||
protected:
|
||||
DeviceSoapySDR();
|
||||
DeviceSoapySDR(const DeviceSoapySDR&) {}
|
||||
DeviceSoapySDR& operator=(const DeviceSoapySDR& other __attribute__((unused))) { return *this; }
|
||||
DeviceSoapySDR& operator=(const DeviceSoapySDR& other) { (void) other; return *this; }
|
||||
~DeviceSoapySDR();
|
||||
|
||||
private:
|
||||
|
@ -89,8 +89,9 @@ void ChannelAnalyzer::configure(MessageQueue* messageQueue,
|
||||
messageQueue->push(cmd);
|
||||
}
|
||||
|
||||
void ChannelAnalyzer::feed(const SampleVector::const_iterator& begin, const SampleVector::const_iterator& end, bool positiveOnly __attribute__((unused)))
|
||||
void ChannelAnalyzer::feed(const SampleVector::const_iterator& begin, const SampleVector::const_iterator& end, bool positiveOnly)
|
||||
{
|
||||
(void) positiveOnly;
|
||||
fftfilt::cmplx *sideband = 0;
|
||||
Complex ci;
|
||||
|
||||
|
@ -205,7 +205,7 @@ public:
|
||||
virtual qint64 getCenterFrequency() const { return m_settings.m_frequency; }
|
||||
|
||||
virtual QByteArray serialize() const { return QByteArray(); }
|
||||
virtual bool deserialize(const QByteArray& data __attribute__((unused))) { return false; }
|
||||
virtual bool deserialize(const QByteArray& data) { (void) data; return false; }
|
||||
|
||||
static const QString m_channelIdURI;
|
||||
static const QString m_channelId;
|
||||
|
@ -312,16 +312,18 @@ void ChannelAnalyzerGUI::on_rrcRolloff_valueChanged(int value)
|
||||
applySettings();
|
||||
}
|
||||
|
||||
void ChannelAnalyzerGUI::on_BW_valueChanged(int value __attribute__((unused)))
|
||||
void ChannelAnalyzerGUI::on_BW_valueChanged(int value)
|
||||
{
|
||||
(void) value;
|
||||
setFiltersUIBoundaries();
|
||||
m_settings.m_bandwidth = ui->BW->value() * 100;
|
||||
m_settings.m_lowCutoff = ui->lowCut->value() * 100;
|
||||
applySettings();
|
||||
}
|
||||
|
||||
void ChannelAnalyzerGUI::on_lowCut_valueChanged(int value __attribute__((unused)))
|
||||
void ChannelAnalyzerGUI::on_lowCut_valueChanged(int value)
|
||||
{
|
||||
(void) value;
|
||||
setFiltersUIBoundaries();
|
||||
m_settings.m_bandwidth = ui->BW->value() * 100;
|
||||
m_settings.m_lowCutoff = ui->lowCut->value() * 100;
|
||||
@ -351,8 +353,10 @@ void ChannelAnalyzerGUI::on_ssb_toggled(bool checked)
|
||||
applySettings();
|
||||
}
|
||||
|
||||
void ChannelAnalyzerGUI::onWidgetRolled(QWidget* widget __attribute__((unused)), bool rollDown __attribute__((unused)))
|
||||
void ChannelAnalyzerGUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
||||
{
|
||||
(void) widget;
|
||||
(void) rollDown;
|
||||
}
|
||||
|
||||
void ChannelAnalyzerGUI::onMenuDialogCalled(const QPoint& p)
|
||||
|
@ -97,8 +97,9 @@ void DaemonSink::setNbBlocksFEC(int nbBlocksFEC)
|
||||
m_nbBlocksFEC = nbBlocksFEC;
|
||||
}
|
||||
|
||||
void DaemonSink::feed(const SampleVector::const_iterator& begin, const SampleVector::const_iterator& end, bool firstOfBurst __attribute__((unused)))
|
||||
void DaemonSink::feed(const SampleVector::const_iterator& begin, const SampleVector::const_iterator& end, bool firstOfBurst)
|
||||
{
|
||||
(void) firstOfBurst;
|
||||
SampleVector::const_iterator it = begin;
|
||||
|
||||
while (it != end)
|
||||
@ -238,8 +239,9 @@ void DaemonSink::stop()
|
||||
m_running = false;
|
||||
}
|
||||
|
||||
bool DaemonSink::handleMessage(const Message& cmd __attribute__((unused)))
|
||||
bool DaemonSink::handleMessage(const Message& cmd)
|
||||
{
|
||||
(void) cmd;
|
||||
if (DownChannelizer::MsgChannelizerNotification::match(cmd))
|
||||
{
|
||||
DownChannelizer::MsgChannelizerNotification& notif = (DownChannelizer::MsgChannelizerNotification&) cmd;
|
||||
@ -293,8 +295,9 @@ QByteArray DaemonSink::serialize() const
|
||||
return m_settings.serialize();
|
||||
}
|
||||
|
||||
bool DaemonSink::deserialize(const QByteArray& data __attribute__((unused)))
|
||||
bool DaemonSink::deserialize(const QByteArray& data)
|
||||
{
|
||||
(void) data;
|
||||
if (m_settings.deserialize(data))
|
||||
{
|
||||
MsgConfigureDaemonSink *msg = MsgConfigureDaemonSink::create(m_settings, true);
|
||||
@ -341,8 +344,9 @@ void DaemonSink::applySettings(const DaemonSinkSettings& settings, bool force)
|
||||
|
||||
int DaemonSink::webapiSettingsGet(
|
||||
SWGSDRangel::SWGChannelSettings& response,
|
||||
QString& errorMessage __attribute__((unused)))
|
||||
QString& errorMessage)
|
||||
{
|
||||
(void) errorMessage;
|
||||
response.setDaemonSinkSettings(new SWGSDRangel::SWGDaemonSinkSettings());
|
||||
response.getDaemonSinkSettings()->init();
|
||||
webapiFormatChannelSettings(response, m_settings);
|
||||
@ -353,8 +357,9 @@ int DaemonSink::webapiSettingsPutPatch(
|
||||
bool force,
|
||||
const QStringList& channelSettingsKeys,
|
||||
SWGSDRangel::SWGChannelSettings& response,
|
||||
QString& errorMessage __attribute__((unused)))
|
||||
QString& errorMessage)
|
||||
{
|
||||
(void) errorMessage;
|
||||
DaemonSinkSettings settings = m_settings;
|
||||
|
||||
if (channelSettingsKeys.contains("nbFECBlocks"))
|
||||
|
@ -48,8 +48,9 @@ qint64 DaemonSinkGUI::getCenterFrequency() const {
|
||||
return 0;
|
||||
}
|
||||
|
||||
void DaemonSinkGUI::setCenterFrequency(qint64 centerFrequency __attribute__((unused)))
|
||||
void DaemonSinkGUI::setCenterFrequency(qint64 centerFrequency)
|
||||
{
|
||||
(void) centerFrequency;
|
||||
}
|
||||
|
||||
void DaemonSinkGUI::resetToDefaults()
|
||||
@ -207,8 +208,10 @@ void DaemonSinkGUI::handleSourceMessages()
|
||||
}
|
||||
}
|
||||
|
||||
void DaemonSinkGUI::onWidgetRolled(QWidget* widget __attribute__((unused)), bool rollDown __attribute__((unused)))
|
||||
void DaemonSinkGUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
||||
{
|
||||
(void) widget;
|
||||
(void) rollDown;
|
||||
}
|
||||
|
||||
void DaemonSinkGUI::onMenuDialogCalled(const QPoint &p)
|
||||
@ -249,8 +252,9 @@ void DaemonSinkGUI::on_dataPort_returnPressed()
|
||||
applySettings();
|
||||
}
|
||||
|
||||
void DaemonSinkGUI::on_dataApplyButton_clicked(bool checked __attribute__((unused)))
|
||||
void DaemonSinkGUI::on_dataApplyButton_clicked(bool checked)
|
||||
{
|
||||
(void) checked;
|
||||
m_settings.m_dataAddress = ui->dataAddress->text();
|
||||
|
||||
bool dataOk;
|
||||
|
@ -98,8 +98,9 @@ AMDemod::~AMDemod()
|
||||
delete SSBFilter;
|
||||
}
|
||||
|
||||
void AMDemod::feed(const SampleVector::const_iterator& begin, const SampleVector::const_iterator& end, bool firstOfBurst __attribute__((unused)))
|
||||
void AMDemod::feed(const SampleVector::const_iterator& begin, const SampleVector::const_iterator& end, bool firstOfBurst)
|
||||
{
|
||||
(void) firstOfBurst;
|
||||
Complex ci;
|
||||
|
||||
if (!m_running) {
|
||||
@ -502,8 +503,9 @@ bool AMDemod::deserialize(const QByteArray& data)
|
||||
|
||||
int AMDemod::webapiSettingsGet(
|
||||
SWGSDRangel::SWGChannelSettings& response,
|
||||
QString& errorMessage __attribute__((unused)))
|
||||
QString& errorMessage)
|
||||
{
|
||||
(void) errorMessage;
|
||||
response.setAmDemodSettings(new SWGSDRangel::SWGAMDemodSettings());
|
||||
response.getAmDemodSettings()->init();
|
||||
webapiFormatChannelSettings(response, m_settings);
|
||||
@ -514,8 +516,9 @@ int AMDemod::webapiSettingsPutPatch(
|
||||
bool force,
|
||||
const QStringList& channelSettingsKeys,
|
||||
SWGSDRangel::SWGChannelSettings& response,
|
||||
QString& errorMessage __attribute__((unused)))
|
||||
QString& errorMessage)
|
||||
{
|
||||
(void) errorMessage;
|
||||
AMDemodSettings settings = m_settings;
|
||||
bool frequencyOffsetChanged = false;
|
||||
|
||||
@ -584,8 +587,9 @@ int AMDemod::webapiSettingsPutPatch(
|
||||
|
||||
int AMDemod::webapiReportGet(
|
||||
SWGSDRangel::SWGChannelReport& response,
|
||||
QString& errorMessage __attribute__((unused)))
|
||||
QString& errorMessage)
|
||||
{
|
||||
(void) errorMessage;
|
||||
response.setAmDemodReport(new SWGSDRangel::SWGAMDemodReport());
|
||||
response.getAmDemodReport()->init();
|
||||
webapiFormatChannelReport(response);
|
||||
|
@ -92,8 +92,9 @@ bool AMDemodGUI::deserialize(const QByteArray& data)
|
||||
}
|
||||
}
|
||||
|
||||
bool AMDemodGUI::handleMessage(const Message& message __attribute__((unused)))
|
||||
bool AMDemodGUI::handleMessage(const Message& message)
|
||||
{
|
||||
(void) message;
|
||||
if (AMDemod::MsgConfigureAMDemod::match(message))
|
||||
{
|
||||
qDebug("AMDemodGUI::handleMessage: AMDemod::MsgConfigureAMDemod");
|
||||
@ -192,8 +193,10 @@ void AMDemodGUI::on_audioMute_toggled(bool checked)
|
||||
applySettings();
|
||||
}
|
||||
|
||||
void AMDemodGUI::onWidgetRolled(QWidget* widget __attribute__((unused)), bool rollDown __attribute__((unused)))
|
||||
void AMDemodGUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
||||
{
|
||||
(void) widget;
|
||||
(void) rollDown;
|
||||
/*
|
||||
if((widget == ui->spectrumContainer) && (m_nfmDemod != NULL))
|
||||
m_nfmDemod->setSpectrum(m_threadedSampleSink->getMessageQueue(), rollDown);
|
||||
|
@ -164,8 +164,9 @@ void ATVDemod::configureRF(
|
||||
objMessageQueue->push(msgCmd);
|
||||
}
|
||||
|
||||
void ATVDemod::feed(const SampleVector::const_iterator& begin, const SampleVector::const_iterator& end, bool firstOfBurst __attribute__((unused)))
|
||||
void ATVDemod::feed(const SampleVector::const_iterator& begin, const SampleVector::const_iterator& end, bool firstOfBurst)
|
||||
{
|
||||
(void) firstOfBurst;
|
||||
float fltI;
|
||||
float fltQ;
|
||||
Complex ci;
|
||||
|
@ -229,7 +229,7 @@ public:
|
||||
virtual qint64 getCenterFrequency() const { return m_rfRunning.m_intFrequencyOffset; }
|
||||
|
||||
virtual QByteArray serialize() const { return QByteArray(); }
|
||||
virtual bool deserialize(const QByteArray& data __attribute__((unused))) { return false; }
|
||||
virtual bool deserialize(const QByteArray& data) { (void) data; return false; }
|
||||
|
||||
void setTVScreen(TVScreen *objScreen); //!< set by the GUI
|
||||
int getSampleRate();
|
||||
|
@ -263,8 +263,10 @@ void ATVDemodGUI::handleSourceMessages()
|
||||
}
|
||||
}
|
||||
|
||||
void ATVDemodGUI::onWidgetRolled(QWidget* widget __attribute__((unused)), bool rollDown __attribute__((unused)))
|
||||
void ATVDemodGUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
||||
{
|
||||
(void) widget;
|
||||
(void) rollDown;
|
||||
}
|
||||
|
||||
ATVDemodGUI::ATVDemodGUI(PluginAPI* objPluginAPI, DeviceUISet *deviceUISet, BasebandSampleSink *rxChannel, QWidget* objParent) :
|
||||
@ -534,32 +536,37 @@ void ATVDemodGUI::on_halfImage_clicked()
|
||||
applySettings();
|
||||
}
|
||||
|
||||
void ATVDemodGUI::on_nbLines_currentIndexChanged(int index __attribute__((unused)))
|
||||
void ATVDemodGUI::on_nbLines_currentIndexChanged(int index)
|
||||
{
|
||||
(void) index;
|
||||
lineTimeUpdate();
|
||||
topTimeUpdate();
|
||||
applySettings();
|
||||
}
|
||||
|
||||
void ATVDemodGUI::on_fps_currentIndexChanged(int index __attribute__((unused)))
|
||||
void ATVDemodGUI::on_fps_currentIndexChanged(int index)
|
||||
{
|
||||
(void) index;
|
||||
lineTimeUpdate();
|
||||
topTimeUpdate();
|
||||
applySettings();
|
||||
}
|
||||
|
||||
void ATVDemodGUI::on_standard_currentIndexChanged(int index __attribute__((unused)))
|
||||
void ATVDemodGUI::on_standard_currentIndexChanged(int index)
|
||||
{
|
||||
(void) index;
|
||||
applySettings();
|
||||
}
|
||||
|
||||
void ATVDemodGUI::on_reset_clicked(bool checked __attribute__((unused)))
|
||||
void ATVDemodGUI::on_reset_clicked(bool checked)
|
||||
{
|
||||
(void) checked;
|
||||
resetToDefaults();
|
||||
}
|
||||
|
||||
void ATVDemodGUI::on_modulation_currentIndexChanged(int index __attribute__((unused)))
|
||||
void ATVDemodGUI::on_modulation_currentIndexChanged(int index)
|
||||
{
|
||||
(void) index;
|
||||
setRFFiltersSlidersRange(m_atvDemod->getEffectiveSampleRate());
|
||||
setChannelMarkerBandwidth();
|
||||
applyRFSettings();
|
||||
@ -579,15 +586,17 @@ void ATVDemodGUI::on_rfOppBW_valueChanged(int value)
|
||||
applyRFSettings();
|
||||
}
|
||||
|
||||
void ATVDemodGUI::on_rfFiltering_toggled(bool checked __attribute__((unused)))
|
||||
void ATVDemodGUI::on_rfFiltering_toggled(bool checked)
|
||||
{
|
||||
(void) checked;
|
||||
setRFFiltersSlidersRange(m_atvDemod->getEffectiveSampleRate());
|
||||
setChannelMarkerBandwidth();
|
||||
applyRFSettings();
|
||||
}
|
||||
|
||||
void ATVDemodGUI::on_decimatorEnable_toggled(bool checked __attribute__((unused)))
|
||||
void ATVDemodGUI::on_decimatorEnable_toggled(bool checked)
|
||||
{
|
||||
(void) checked;
|
||||
setChannelMarkerBandwidth();
|
||||
applyRFSettings();
|
||||
}
|
||||
@ -610,8 +619,9 @@ void ATVDemodGUI::on_fmDeviation_valueChanged(int value)
|
||||
applyRFSettings();
|
||||
}
|
||||
|
||||
void ATVDemodGUI::on_screenTabWidget_currentChanged(int index __attribute__((unused)))
|
||||
void ATVDemodGUI::on_screenTabWidget_currentChanged(int index)
|
||||
{
|
||||
(void) index;
|
||||
applySettings();
|
||||
}
|
||||
|
||||
|
@ -113,8 +113,9 @@ BFMDemod::~BFMDemod()
|
||||
delete m_rfFilter;
|
||||
}
|
||||
|
||||
void BFMDemod::feed(const SampleVector::const_iterator& begin, const SampleVector::const_iterator& end, bool firstOfBurst __attribute__((unused)))
|
||||
void BFMDemod::feed(const SampleVector::const_iterator& begin, const SampleVector::const_iterator& end, bool firstOfBurst)
|
||||
{
|
||||
(void) firstOfBurst;
|
||||
Complex ci, cs, cr;
|
||||
fftfilt::cmplx *rf;
|
||||
int rf_out;
|
||||
@ -538,8 +539,9 @@ bool BFMDemod::deserialize(const QByteArray& data)
|
||||
|
||||
int BFMDemod::webapiSettingsGet(
|
||||
SWGSDRangel::SWGChannelSettings& response,
|
||||
QString& errorMessage __attribute__((unused)))
|
||||
QString& errorMessage)
|
||||
{
|
||||
(void) errorMessage;
|
||||
response.setBfmDemodSettings(new SWGSDRangel::SWGBFMDemodSettings());
|
||||
response.getBfmDemodSettings()->init();
|
||||
webapiFormatChannelSettings(response, m_settings);
|
||||
@ -550,8 +552,9 @@ int BFMDemod::webapiSettingsPutPatch(
|
||||
bool force,
|
||||
const QStringList& channelSettingsKeys,
|
||||
SWGSDRangel::SWGChannelSettings& response,
|
||||
QString& errorMessage __attribute__((unused)))
|
||||
QString& errorMessage)
|
||||
{
|
||||
(void) errorMessage;
|
||||
BFMDemodSettings settings = m_settings;
|
||||
bool frequencyOffsetChanged = false;
|
||||
|
||||
@ -618,8 +621,9 @@ int BFMDemod::webapiSettingsPutPatch(
|
||||
|
||||
int BFMDemod::webapiReportGet(
|
||||
SWGSDRangel::SWGChannelReport& response,
|
||||
QString& errorMessage __attribute__((unused)))
|
||||
QString& errorMessage)
|
||||
{
|
||||
(void) errorMessage;
|
||||
response.setBfmDemodReport(new SWGSDRangel::SWGBFMDemodReport());
|
||||
response.getBfmDemodReport()->init();
|
||||
webapiFormatChannelReport(response);
|
||||
|
@ -225,8 +225,9 @@ void BFMDemodGUI::on_rds_clicked()
|
||||
applySettings();
|
||||
}
|
||||
|
||||
void BFMDemodGUI::on_clearData_clicked(bool checked __attribute__((unused)))
|
||||
void BFMDemodGUI::on_clearData_clicked(bool checked)
|
||||
{
|
||||
(void) checked;
|
||||
if (ui->rds->isChecked())
|
||||
{
|
||||
m_bfmDemod->getRDSParser().clearAllFields();
|
||||
@ -288,26 +289,31 @@ void BFMDemodGUI::on_g14ProgServiceNames_currentIndexChanged(int _index)
|
||||
}
|
||||
}
|
||||
|
||||
void BFMDemodGUI::on_g00AltFrequenciesBox_activated(int index __attribute__((unused)))
|
||||
void BFMDemodGUI::on_g00AltFrequenciesBox_activated(int index)
|
||||
{
|
||||
(void) index;
|
||||
qint64 f = (qint64) ((ui->g00AltFrequenciesBox->currentText()).toDouble() * 1e6);
|
||||
changeFrequency(f);
|
||||
}
|
||||
|
||||
void BFMDemodGUI::on_g14MappedFrequencies_activated(int index __attribute__((unused)))
|
||||
void BFMDemodGUI::on_g14MappedFrequencies_activated(int index)
|
||||
{
|
||||
(void) index;
|
||||
qint64 f = (qint64) ((ui->g14MappedFrequencies->currentText()).toDouble() * 1e6);
|
||||
changeFrequency(f);
|
||||
}
|
||||
|
||||
void BFMDemodGUI::on_g14AltFrequencies_activated(int index __attribute__((unused)))
|
||||
void BFMDemodGUI::on_g14AltFrequencies_activated(int index)
|
||||
{
|
||||
(void) index;
|
||||
qint64 f = (qint64) ((ui->g14AltFrequencies->currentText()).toDouble() * 1e6);
|
||||
changeFrequency(f);
|
||||
}
|
||||
|
||||
void BFMDemodGUI::onWidgetRolled(QWidget* widget __attribute__((unused)), bool rollDown __attribute__((unused)))
|
||||
void BFMDemodGUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
||||
{
|
||||
(void) widget;
|
||||
(void) rollDown;
|
||||
}
|
||||
|
||||
void BFMDemodGUI::onMenuDialogCalled(const QPoint &p)
|
||||
|
@ -66,8 +66,9 @@ RDSDemod::~RDSDemod()
|
||||
//delete m_socket;
|
||||
}
|
||||
|
||||
void RDSDemod::setSampleRate(int srate __attribute__((unused))) /// FIXME: fix rate for now
|
||||
void RDSDemod::setSampleRate(int srate) /// FIXME: fix rate for now
|
||||
{
|
||||
(void) srate;
|
||||
}
|
||||
|
||||
bool RDSDemod::process(Real demod, bool& bit)
|
||||
|
@ -828,19 +828,25 @@ void RDSParser::decode_type4(unsigned int *group, bool B)
|
||||
//send_message(5,time);
|
||||
}
|
||||
|
||||
void RDSParser::decode_type5(unsigned int *group __attribute__((unused)), bool B __attribute__((unused))) {
|
||||
void RDSParser::decode_type5(unsigned int *group, bool B) {
|
||||
(void) group;
|
||||
(void) B;
|
||||
qDebug() << "RDSParser::decode_type5: type5 not implemented yet";
|
||||
m_g5_updated = true;
|
||||
m_g5_count++;
|
||||
}
|
||||
|
||||
void RDSParser::decode_type6(unsigned int *group __attribute__((unused)), bool B __attribute__((unused))) {
|
||||
void RDSParser::decode_type6(unsigned int *group, bool B) {
|
||||
(void) group;
|
||||
(void) B;
|
||||
qDebug() << "RDSParser::decode_type6: type 6 not implemented yet";
|
||||
m_g6_updated = true;
|
||||
m_g6_count++;
|
||||
}
|
||||
|
||||
void RDSParser::decode_type7(unsigned int *group __attribute__((unused)), bool B __attribute__((unused))) {
|
||||
void RDSParser::decode_type7(unsigned int *group, bool B) {
|
||||
(void) group;
|
||||
(void) B;
|
||||
qDebug() << "RDSParser::decode_type7: type 7 not implemented yet";
|
||||
m_g7_updated = true;
|
||||
m_g7_count++;
|
||||
@ -971,29 +977,37 @@ void RDSParser::decode_type9(unsigned int *group, bool B){
|
||||
m_g9_count++;
|
||||
}
|
||||
|
||||
void RDSParser::decode_type10(unsigned int *group __attribute__((unused)), bool B __attribute__((unused)))
|
||||
void RDSParser::decode_type10(unsigned int *group, bool B)
|
||||
{
|
||||
(void) group;
|
||||
(void) B;
|
||||
qDebug() << "RDSParser::decode_type10: type 10 not implemented yet";
|
||||
m_g10_updated = true;
|
||||
m_g10_count++;
|
||||
}
|
||||
|
||||
void RDSParser::decode_type11(unsigned int *group __attribute__((unused)), bool B __attribute__((unused)))
|
||||
void RDSParser::decode_type11(unsigned int *group, bool B)
|
||||
{
|
||||
(void) group;
|
||||
(void) B;
|
||||
qDebug() << "RDSParser::decode_type11: type 11 not implemented yet";
|
||||
m_g11_updated = true;
|
||||
m_g11_count++;
|
||||
}
|
||||
|
||||
void RDSParser::decode_type12(unsigned int *group __attribute__((unused)), bool B __attribute__((unused)))
|
||||
void RDSParser::decode_type12(unsigned int *group, bool B)
|
||||
{
|
||||
(void) group;
|
||||
(void) B;
|
||||
qDebug() << "RDSParser::decode_type12: type 12 not implemented yet";
|
||||
m_g12_updated = true;
|
||||
m_g12_count++;
|
||||
}
|
||||
|
||||
void RDSParser::decode_type13(unsigned int *group __attribute__((unused)), bool B __attribute__((unused)))
|
||||
void RDSParser::decode_type13(unsigned int *group, bool B)
|
||||
{
|
||||
(void) group;
|
||||
(void) B;
|
||||
qDebug() << "RDSParser::decode_type13: type 13 not implemented yet";
|
||||
m_g13_updated = true;
|
||||
m_g13_count++;
|
||||
@ -1180,8 +1194,10 @@ void RDSParser::decode_type14(unsigned int *group, bool B)
|
||||
}*/
|
||||
}
|
||||
|
||||
void RDSParser::decode_type15(unsigned int *group __attribute__((unused)), bool B __attribute__((unused)))
|
||||
void RDSParser::decode_type15(unsigned int *group, bool B)
|
||||
{
|
||||
(void) group;
|
||||
(void) B;
|
||||
qDebug() << "RDSParser::decode_type5: type 15 not implemented yet";
|
||||
m_g15_updated = true;
|
||||
m_g15_count++;
|
||||
|
@ -764,8 +764,9 @@ void DATVDemod::InitDATVFramework()
|
||||
m_blnDVBInitialized=true;
|
||||
}
|
||||
|
||||
void DATVDemod::feed(const SampleVector::const_iterator& begin, const SampleVector::const_iterator& end, bool firstOfBurst __attribute__((unused)))
|
||||
void DATVDemod::feed(const SampleVector::const_iterator& begin, const SampleVector::const_iterator& end, bool firstOfBurst)
|
||||
{
|
||||
(void) firstOfBurst;
|
||||
float fltI;
|
||||
float fltQ;
|
||||
leansdr::cf32 objIQ;
|
||||
|
@ -185,7 +185,7 @@ public:
|
||||
virtual qint64 getCenterFrequency() const { return m_objRunning.intCenterFrequency; }
|
||||
|
||||
virtual QByteArray serialize() const { return QByteArray(); }
|
||||
virtual bool deserialize(const QByteArray& data __attribute__((unused))) { return false; }
|
||||
virtual bool deserialize(const QByteArray& data) { (void) data; return false; }
|
||||
|
||||
void configure(
|
||||
MessageQueue* objMessageQueue,
|
||||
|
@ -219,8 +219,9 @@ bool DATVDemodGUI::deserialize(const QByteArray& arrData)
|
||||
}
|
||||
}
|
||||
|
||||
bool DATVDemodGUI::handleMessage(const Message& objMessage __attribute__((unused)))
|
||||
bool DATVDemodGUI::handleMessage(const Message& objMessage)
|
||||
{
|
||||
(void) objMessage;
|
||||
return false;
|
||||
}
|
||||
|
||||
@ -241,8 +242,10 @@ void DATVDemodGUI::channelMarkerHighlightedByCursor()
|
||||
}
|
||||
|
||||
|
||||
void DATVDemodGUI::onWidgetRolled(QWidget* widget __attribute__((unused)), bool rollDown __attribute__((unused)))
|
||||
void DATVDemodGUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
||||
{
|
||||
(void) widget;
|
||||
(void) rollDown;
|
||||
}
|
||||
|
||||
void DATVDemodGUI::onMenuDoubleClicked()
|
||||
@ -526,13 +529,15 @@ void DATVDemodGUI::tick()
|
||||
return;
|
||||
}
|
||||
|
||||
void DATVDemodGUI::on_cmbStandard_currentIndexChanged(const QString &arg1 __attribute__((unused)))
|
||||
void DATVDemodGUI::on_cmbStandard_currentIndexChanged(const QString &arg1)
|
||||
{
|
||||
(void) arg1;
|
||||
applySettings();
|
||||
}
|
||||
|
||||
void DATVDemodGUI::on_cmbModulation_currentIndexChanged(const QString &arg1 __attribute__((unused)))
|
||||
void DATVDemodGUI::on_cmbModulation_currentIndexChanged(const QString &arg1)
|
||||
{
|
||||
(void) arg1;
|
||||
QString strModulation;
|
||||
QString strFEC;
|
||||
|
||||
@ -583,8 +588,9 @@ void DATVDemodGUI::on_cmbModulation_currentIndexChanged(const QString &arg1 __at
|
||||
|
||||
}
|
||||
|
||||
void DATVDemodGUI::on_cmbFEC_currentIndexChanged(const QString &arg1 __attribute__((unused)))
|
||||
void DATVDemodGUI::on_cmbFEC_currentIndexChanged(const QString &arg1)
|
||||
{
|
||||
(void) arg1;
|
||||
QString strFEC;
|
||||
|
||||
strFEC = ui->cmbFEC->currentText();
|
||||
@ -647,13 +653,15 @@ void DATVDemodGUI::on_pushButton_2_clicked()
|
||||
resetToDefaults();
|
||||
}
|
||||
|
||||
void DATVDemodGUI::on_spiSymbolRate_valueChanged(int arg1 __attribute__((unused)))
|
||||
void DATVDemodGUI::on_spiSymbolRate_valueChanged(int arg1)
|
||||
{
|
||||
(void) arg1;
|
||||
applySettings();
|
||||
}
|
||||
|
||||
void DATVDemodGUI::on_spiNotchFilters_valueChanged(int arg1 __attribute__((unused)))
|
||||
void DATVDemodGUI::on_spiNotchFilters_valueChanged(int arg1)
|
||||
{
|
||||
(void) arg1;
|
||||
applySettings();
|
||||
}
|
||||
|
||||
@ -680,8 +688,9 @@ void DATVDemodGUI::on_pushButton_4_clicked()
|
||||
|
||||
}
|
||||
|
||||
void DATVDemodGUI::on_mouseEvent(QMouseEvent* obj __attribute__((unused)))
|
||||
void DATVDemodGUI::on_mouseEvent(QMouseEvent* obj)
|
||||
{
|
||||
(void) obj;
|
||||
}
|
||||
|
||||
QString DATVDemodGUI::formatBytes(qint64 intBytes)
|
||||
@ -703,8 +712,9 @@ QString DATVDemodGUI::formatBytes(qint64 intBytes)
|
||||
}
|
||||
|
||||
|
||||
void DATVDemodGUI::on_StreamDataAvailable(int *intPackets __attribute__((unused)), int *intBytes, int *intPercent, qint64 *intTotalReceived)
|
||||
void DATVDemodGUI::on_StreamDataAvailable(int *intPackets, int *intBytes, int *intPercent, qint64 *intTotalReceived)
|
||||
{
|
||||
(void) intPackets;
|
||||
ui->lblStatus->setText(QString("Data: %1B").arg(formatBytes(*intTotalReceived)));
|
||||
m_intLastDecodedData = *intTotalReceived;
|
||||
|
||||
@ -721,18 +731,21 @@ void DATVDemodGUI::on_StreamDataAvailable(int *intPackets __attribute__((unused)
|
||||
|
||||
}
|
||||
|
||||
void DATVDemodGUI::on_spiBandwidth_valueChanged(int arg1 __attribute__((unused)))
|
||||
void DATVDemodGUI::on_spiBandwidth_valueChanged(int arg1)
|
||||
{
|
||||
(void) arg1;
|
||||
applySettings();
|
||||
}
|
||||
|
||||
void DATVDemodGUI::on_deltaFrequency_changed(qint64 value __attribute__((unused)))
|
||||
void DATVDemodGUI::on_deltaFrequency_changed(qint64 value)
|
||||
{
|
||||
(void) value;
|
||||
applySettings();
|
||||
}
|
||||
|
||||
void DATVDemodGUI::on_rfBandwidth_changed(qint64 value __attribute__((unused)))
|
||||
void DATVDemodGUI::on_rfBandwidth_changed(qint64 value)
|
||||
{
|
||||
(void) value;
|
||||
applySettings();
|
||||
}
|
||||
|
||||
@ -789,19 +802,22 @@ void DATVDemodGUI::displayRRCParameters(bool blnVisible)
|
||||
ui->label_6->setVisible(blnVisible);
|
||||
}
|
||||
|
||||
void DATVDemodGUI::on_cmbFilter_currentIndexChanged(int index __attribute__((unused)))
|
||||
void DATVDemodGUI::on_cmbFilter_currentIndexChanged(int index)
|
||||
{
|
||||
(void) index;
|
||||
displayRRCParameters((ui->cmbFilter->currentIndex()==2));
|
||||
|
||||
applySettings();
|
||||
}
|
||||
|
||||
void DATVDemodGUI::on_spiRollOff_valueChanged(int arg1 __attribute__((unused)))
|
||||
void DATVDemodGUI::on_spiRollOff_valueChanged(int arg1)
|
||||
{
|
||||
(void) arg1;
|
||||
applySettings();
|
||||
}
|
||||
|
||||
void DATVDemodGUI::on_spiExcursion_valueChanged(int arg1 __attribute__((unused)))
|
||||
void DATVDemodGUI::on_spiExcursion_valueChanged(int arg1)
|
||||
{
|
||||
(void) arg1;
|
||||
applySettings();
|
||||
}
|
||||
|
@ -224,12 +224,16 @@ qint64 DATVideostream::readData(char *data, qint64 len)
|
||||
return (qint64)intEffectiveLen;
|
||||
}
|
||||
|
||||
qint64 DATVideostream::writeData(const char *data __attribute__((unused)), qint64 len __attribute__((unused)))
|
||||
qint64 DATVideostream::writeData(const char *data, qint64 len)
|
||||
{
|
||||
(void) data;
|
||||
(void) len;
|
||||
return 0;
|
||||
}
|
||||
|
||||
qint64 DATVideostream::readLineData(char *data __attribute__((unused)), qint64 maxSize __attribute__((unused)))
|
||||
qint64 DATVideostream::readLineData(char *data, qint64 maxSize)
|
||||
{
|
||||
(void) data;
|
||||
(void) maxSize;
|
||||
return 0;
|
||||
}
|
||||
|
@ -404,7 +404,9 @@ private:
|
||||
for (int im_pos = 0; im_pos <= 1; ++im_pos)
|
||||
{
|
||||
int re_neg = !re_pos;
|
||||
#if 0
|
||||
int im_neg __attribute__((unused)) = !im_pos;
|
||||
#endif
|
||||
int I, Q;
|
||||
switch (sync_id)
|
||||
{
|
||||
|
@ -46,8 +46,9 @@ struct pipebuf_common
|
||||
return 0;
|
||||
}
|
||||
|
||||
virtual void dump(std::size_t *total_bufs __attribute__((unused)))
|
||||
virtual void dump(std::size_t *total_bufs)
|
||||
{
|
||||
(void) total_bufs;
|
||||
}
|
||||
|
||||
pipebuf_common(const char *_name) :
|
||||
|
@ -329,9 +329,10 @@ private:
|
||||
template<typename Tin, typename Tout>
|
||||
struct serializer: runnable
|
||||
{
|
||||
serializer(scheduler *sch __attribute__((unused)), pipebuf<Tin> &_in, pipebuf<Tout> &_out) :
|
||||
serializer(scheduler *sch, pipebuf<Tin> &_in, pipebuf<Tout> &_out) :
|
||||
nin(max((size_t) 1, sizeof(Tin) / sizeof(Tout))), nout(max((size_t) 1, sizeof(Tout) / sizeof(Tin))), in(_in), out(_out, nout)
|
||||
{
|
||||
(void) sch;
|
||||
if (nin * sizeof(Tin) != nout * sizeof(Tout))
|
||||
{
|
||||
fail("serializer::serializer", "incompatible sizes");
|
||||
|
@ -700,8 +700,9 @@ struct sampler_interface
|
||||
{
|
||||
virtual complex<T> interp(const complex<T> *pin, float mu, float phase) = 0;
|
||||
|
||||
virtual void update_freq(float freqw __attribute__((unused)))
|
||||
virtual void update_freq(float freqw)
|
||||
{
|
||||
(void) freqw;
|
||||
} // 65536 = 1 Hz
|
||||
|
||||
virtual int readahead()
|
||||
@ -725,8 +726,9 @@ struct nearest_sampler: sampler_interface<T>
|
||||
return 0;
|
||||
}
|
||||
|
||||
complex<T> interp(const complex<T> *pin, float mu __attribute__((unused)), float phase)
|
||||
complex<T> interp(const complex<T> *pin, float mu, float phase)
|
||||
{
|
||||
(void) mu;
|
||||
return pin[0] * trig.expi(-phase);
|
||||
}
|
||||
|
||||
|
@ -112,8 +112,9 @@ void DSDDemod::configureMyPosition(MessageQueue* messageQueue, float myLatitude,
|
||||
messageQueue->push(cmd);
|
||||
}
|
||||
|
||||
void DSDDemod::feed(const SampleVector::const_iterator& begin, const SampleVector::const_iterator& end, bool firstOfBurst __attribute__((unused)))
|
||||
void DSDDemod::feed(const SampleVector::const_iterator& begin, const SampleVector::const_iterator& end, bool firstOfBurst)
|
||||
{
|
||||
(void) firstOfBurst;
|
||||
Complex ci;
|
||||
int samplesPerSymbol = m_dsdDecoder.getSamplesPerSymbol();
|
||||
|
||||
@ -767,8 +768,9 @@ void DSDDemod::formatStatusText()
|
||||
|
||||
int DSDDemod::webapiSettingsGet(
|
||||
SWGSDRangel::SWGChannelSettings& response,
|
||||
QString& errorMessage __attribute__((unused)))
|
||||
QString& errorMessage)
|
||||
{
|
||||
(void) errorMessage;
|
||||
response.setDsdDemodSettings(new SWGSDRangel::SWGDSDDemodSettings());
|
||||
response.getDsdDemodSettings()->init();
|
||||
webapiFormatChannelSettings(response, m_settings);
|
||||
@ -779,8 +781,9 @@ int DSDDemod::webapiSettingsPutPatch(
|
||||
bool force,
|
||||
const QStringList& channelSettingsKeys,
|
||||
SWGSDRangel::SWGChannelSettings& response,
|
||||
QString& errorMessage __attribute__((unused)))
|
||||
QString& errorMessage)
|
||||
{
|
||||
(void) errorMessage;
|
||||
DSDDemodSettings settings = m_settings;
|
||||
bool frequencyOffsetChanged = false;
|
||||
|
||||
@ -877,8 +880,9 @@ int DSDDemod::webapiSettingsPutPatch(
|
||||
|
||||
int DSDDemod::webapiReportGet(
|
||||
SWGSDRangel::SWGChannelReport& response,
|
||||
QString& errorMessage __attribute__((unused)))
|
||||
QString& errorMessage)
|
||||
{
|
||||
(void) errorMessage;
|
||||
response.setDsdDemodReport(new SWGSDRangel::SWGDSDDemodReport());
|
||||
response.getDsdDemodReport()->init();
|
||||
webapiFormatChannelReport(response);
|
||||
|
@ -264,8 +264,10 @@ void DSDDemodGUI::on_symbolPLLLock_toggled(bool checked)
|
||||
applySettings();
|
||||
}
|
||||
|
||||
void DSDDemodGUI::onWidgetRolled(QWidget* widget __attribute__((unused)), bool rollDown __attribute__((unused)))
|
||||
void DSDDemodGUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
||||
{
|
||||
(void) widget;
|
||||
(void) rollDown;
|
||||
}
|
||||
|
||||
void DSDDemodGUI::onMenuDialogCalled(const QPoint &p)
|
||||
|
@ -251,8 +251,9 @@ int LoRaDemod::detect(Complex c, Complex a)
|
||||
return m_result;
|
||||
}
|
||||
|
||||
void LoRaDemod::feed(const SampleVector::const_iterator& begin, const SampleVector::const_iterator& end, bool pO __attribute__((unused)))
|
||||
void LoRaDemod::feed(const SampleVector::const_iterator& begin, const SampleVector::const_iterator& end, bool pO)
|
||||
{
|
||||
(void) pO;
|
||||
int newangle;
|
||||
Complex ci;
|
||||
|
||||
|
@ -70,8 +70,9 @@ bool LoRaDemodGUI::deserialize(const QByteArray& data)
|
||||
}
|
||||
}
|
||||
|
||||
bool LoRaDemodGUI::handleMessage(const Message& message __attribute__((unused)))
|
||||
bool LoRaDemodGUI::handleMessage(const Message& message)
|
||||
{
|
||||
(void) message;
|
||||
return false;
|
||||
}
|
||||
|
||||
@ -97,12 +98,15 @@ void LoRaDemodGUI::on_BW_valueChanged(int value)
|
||||
applySettings();
|
||||
}
|
||||
|
||||
void LoRaDemodGUI::on_Spread_valueChanged(int value __attribute__((unused)))
|
||||
void LoRaDemodGUI::on_Spread_valueChanged(int value)
|
||||
{
|
||||
(void) value;
|
||||
}
|
||||
|
||||
void LoRaDemodGUI::onWidgetRolled(QWidget* widget __attribute__((unused)), bool rollDown __attribute__((unused)))
|
||||
void LoRaDemodGUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
||||
{
|
||||
(void) widget;
|
||||
(void) rollDown;
|
||||
}
|
||||
|
||||
LoRaDemodGUI::LoRaDemodGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, BasebandSampleSink *rxChannel, QWidget* parent) :
|
||||
|
@ -137,8 +137,9 @@ Real angleDist(Real a, Real b)
|
||||
return dist;
|
||||
}
|
||||
|
||||
void NFMDemod::feed(const SampleVector::const_iterator& begin, const SampleVector::const_iterator& end, bool firstOfBurst __attribute__((unused)))
|
||||
void NFMDemod::feed(const SampleVector::const_iterator& begin, const SampleVector::const_iterator& end, bool firstOfBurst)
|
||||
{
|
||||
(void) firstOfBurst;
|
||||
Complex ci;
|
||||
|
||||
if (!m_running) {
|
||||
@ -585,8 +586,9 @@ bool NFMDemod::deserialize(const QByteArray& data)
|
||||
|
||||
int NFMDemod::webapiSettingsGet(
|
||||
SWGSDRangel::SWGChannelSettings& response,
|
||||
QString& errorMessage __attribute__((unused)))
|
||||
QString& errorMessage)
|
||||
{
|
||||
(void) errorMessage;
|
||||
response.setNfmDemodSettings(new SWGSDRangel::SWGNFMDemodSettings());
|
||||
response.getNfmDemodSettings()->init();
|
||||
webapiFormatChannelSettings(response, m_settings);
|
||||
@ -597,8 +599,9 @@ int NFMDemod::webapiSettingsPutPatch(
|
||||
bool force,
|
||||
const QStringList& channelSettingsKeys,
|
||||
SWGSDRangel::SWGChannelSettings& response,
|
||||
QString& errorMessage __attribute__((unused)))
|
||||
QString& errorMessage)
|
||||
{
|
||||
(void) errorMessage;
|
||||
NFMDemodSettings settings = m_settings;
|
||||
bool frequencyOffsetChanged = false;
|
||||
|
||||
@ -670,8 +673,9 @@ int NFMDemod::webapiSettingsPutPatch(
|
||||
|
||||
int NFMDemod::webapiReportGet(
|
||||
SWGSDRangel::SWGChannelReport& response,
|
||||
QString& errorMessage __attribute__((unused)))
|
||||
QString& errorMessage)
|
||||
{
|
||||
(void) errorMessage;
|
||||
response.setNfmDemodReport(new SWGSDRangel::SWGNFMDemodReport());
|
||||
response.getNfmDemodReport()->init();
|
||||
webapiFormatChannelReport(response);
|
||||
|
@ -214,8 +214,10 @@ void NFMDemodGUI::on_ctcss_currentIndexChanged(int index)
|
||||
applySettings();
|
||||
}
|
||||
|
||||
void NFMDemodGUI::onWidgetRolled(QWidget* widget __attribute__((unused)), bool rollDown __attribute__((unused)))
|
||||
void NFMDemodGUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
||||
{
|
||||
(void) widget;
|
||||
(void) rollDown;
|
||||
/*
|
||||
if((widget == ui->spectrumContainer) && (m_nfmDemod != NULL))
|
||||
m_nfmDemod->setSpectrum(m_threadedSampleSink->getMessageQueue(), rollDown);
|
||||
|
@ -144,8 +144,9 @@ void SSBDemod::configure(MessageQueue* messageQueue,
|
||||
messageQueue->push(cmd);
|
||||
}
|
||||
|
||||
void SSBDemod::feed(const SampleVector::const_iterator& begin, const SampleVector::const_iterator& end, bool positiveOnly __attribute__((unused)))
|
||||
void SSBDemod::feed(const SampleVector::const_iterator& begin, const SampleVector::const_iterator& end, bool positiveOnly)
|
||||
{
|
||||
(void) positiveOnly;
|
||||
Complex ci;
|
||||
fftfilt::cmplx *sideband;
|
||||
int n_out;
|
||||
@ -585,8 +586,9 @@ bool SSBDemod::deserialize(const QByteArray& data)
|
||||
|
||||
int SSBDemod::webapiSettingsGet(
|
||||
SWGSDRangel::SWGChannelSettings& response,
|
||||
QString& errorMessage __attribute__((unused)))
|
||||
QString& errorMessage)
|
||||
{
|
||||
(void) errorMessage;
|
||||
response.setSsbDemodSettings(new SWGSDRangel::SWGSSBDemodSettings());
|
||||
response.getSsbDemodSettings()->init();
|
||||
webapiFormatChannelSettings(response, m_settings);
|
||||
@ -597,8 +599,9 @@ int SSBDemod::webapiSettingsPutPatch(
|
||||
bool force,
|
||||
const QStringList& channelSettingsKeys,
|
||||
SWGSDRangel::SWGChannelSettings& response,
|
||||
QString& errorMessage __attribute__((unused)))
|
||||
QString& errorMessage)
|
||||
{
|
||||
(void) errorMessage;
|
||||
SSBDemodSettings settings = m_settings;
|
||||
bool frequencyOffsetChanged = false;
|
||||
|
||||
@ -680,8 +683,9 @@ int SSBDemod::webapiSettingsPutPatch(
|
||||
|
||||
int SSBDemod::webapiReportGet(
|
||||
SWGSDRangel::SWGChannelReport& response,
|
||||
QString& errorMessage __attribute__((unused)))
|
||||
QString& errorMessage)
|
||||
{
|
||||
(void) errorMessage;
|
||||
response.setSsbDemodReport(new SWGSDRangel::SWGSSBDemodReport());
|
||||
response.getSsbDemodReport()->init();
|
||||
webapiFormatChannelReport(response);
|
||||
|
@ -156,13 +156,15 @@ void SSBDemodGUI::on_deltaFrequency_changed(qint64 value)
|
||||
applySettings();
|
||||
}
|
||||
|
||||
void SSBDemodGUI::on_BW_valueChanged(int value __attribute__((unused)))
|
||||
void SSBDemodGUI::on_BW_valueChanged(int value)
|
||||
{
|
||||
(void) value;
|
||||
applyBandwidths(5 - ui->spanLog2->value());
|
||||
}
|
||||
|
||||
void SSBDemodGUI::on_lowCut_valueChanged(int value __attribute__((unused)))
|
||||
void SSBDemodGUI::on_lowCut_valueChanged(int value)
|
||||
{
|
||||
(void) value;
|
||||
applyBandwidths(5 - ui->spanLog2->value());
|
||||
}
|
||||
|
||||
@ -224,8 +226,9 @@ void SSBDemodGUI::on_spanLog2_valueChanged(int value)
|
||||
applyBandwidths(5 - ui->spanLog2->value());
|
||||
}
|
||||
|
||||
void SSBDemodGUI::on_flipSidebands_clicked(bool checked __attribute__((unused)))
|
||||
void SSBDemodGUI::on_flipSidebands_clicked(bool checked)
|
||||
{
|
||||
(void) checked;
|
||||
int bwValue = ui->BW->value();
|
||||
int lcValue = ui->lowCut->value();
|
||||
ui->BW->setValue(-bwValue);
|
||||
@ -248,8 +251,10 @@ void SSBDemodGUI::onMenuDialogCalled(const QPoint &p)
|
||||
applySettings();
|
||||
}
|
||||
|
||||
void SSBDemodGUI::onWidgetRolled(QWidget* widget __attribute__((unused)), bool rollDown __attribute__((unused)))
|
||||
void SSBDemodGUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
||||
{
|
||||
(void) widget;
|
||||
(void) rollDown;
|
||||
}
|
||||
|
||||
SSBDemodGUI::SSBDemodGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, BasebandSampleSink *rxChannel, QWidget* parent) :
|
||||
|
@ -87,8 +87,9 @@ WFMDemod::~WFMDemod()
|
||||
delete m_rfFilter;
|
||||
}
|
||||
|
||||
void WFMDemod::feed(const SampleVector::const_iterator& begin, const SampleVector::const_iterator& end, bool firstOfBurst __attribute__((unused)))
|
||||
void WFMDemod::feed(const SampleVector::const_iterator& begin, const SampleVector::const_iterator& end, bool firstOfBurst)
|
||||
{
|
||||
(void) firstOfBurst;
|
||||
Complex ci;
|
||||
fftfilt::cmplx *rf;
|
||||
int rf_out;
|
||||
@ -382,8 +383,9 @@ bool WFMDemod::deserialize(const QByteArray& data)
|
||||
|
||||
int WFMDemod::webapiSettingsGet(
|
||||
SWGSDRangel::SWGChannelSettings& response,
|
||||
QString& errorMessage __attribute__((unused)))
|
||||
QString& errorMessage)
|
||||
{
|
||||
(void) errorMessage;
|
||||
response.setWfmDemodSettings(new SWGSDRangel::SWGWFMDemodSettings());
|
||||
response.getWfmDemodSettings()->init();
|
||||
webapiFormatChannelSettings(response, m_settings);
|
||||
@ -394,8 +396,9 @@ int WFMDemod::webapiSettingsPutPatch(
|
||||
bool force,
|
||||
const QStringList& channelSettingsKeys,
|
||||
SWGSDRangel::SWGChannelSettings& response,
|
||||
QString& errorMessage __attribute__((unused)))
|
||||
QString& errorMessage)
|
||||
{
|
||||
(void) errorMessage;
|
||||
WFMDemodSettings settings = m_settings;
|
||||
bool frequencyOffsetChanged = false;
|
||||
|
||||
@ -453,8 +456,9 @@ int WFMDemod::webapiSettingsPutPatch(
|
||||
|
||||
int WFMDemod::webapiReportGet(
|
||||
SWGSDRangel::SWGChannelReport& response,
|
||||
QString& errorMessage __attribute__((unused)))
|
||||
QString& errorMessage)
|
||||
{
|
||||
(void) errorMessage;
|
||||
response.setWfmDemodReport(new SWGSDRangel::SWGWFMDemodReport());
|
||||
response.getWfmDemodReport()->init();
|
||||
webapiFormatChannelReport(response);
|
||||
|
@ -75,8 +75,9 @@ bool WFMDemodGUI::deserialize(const QByteArray& data)
|
||||
}
|
||||
}
|
||||
|
||||
bool WFMDemodGUI::handleMessage(const Message& message __attribute__((unused)))
|
||||
bool WFMDemodGUI::handleMessage(const Message& message)
|
||||
{
|
||||
(void) message;
|
||||
if (WFMDemod::MsgConfigureWFMDemod::match(message))
|
||||
{
|
||||
qDebug("WFMDemodGUI::handleMessage: WFMDemod::MsgConfigureWFMDemod");
|
||||
@ -159,8 +160,10 @@ void WFMDemodGUI::on_audioMute_toggled(bool checked)
|
||||
applySettings();
|
||||
}
|
||||
|
||||
void WFMDemodGUI::onWidgetRolled(QWidget* widget __attribute__((unused)), bool rollDown __attribute__((unused)))
|
||||
void WFMDemodGUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
||||
{
|
||||
(void) widget;
|
||||
(void) rollDown;
|
||||
}
|
||||
|
||||
void WFMDemodGUI::onMenuDialogCalled(const QPoint &p)
|
||||
|
@ -644,8 +644,9 @@ bool UDPSink::deserialize(const QByteArray& data)
|
||||
|
||||
int UDPSink::webapiSettingsGet(
|
||||
SWGSDRangel::SWGChannelSettings& response,
|
||||
QString& errorMessage __attribute__((unused)))
|
||||
QString& errorMessage)
|
||||
{
|
||||
(void) errorMessage;
|
||||
response.setUdpSinkSettings(new SWGSDRangel::SWGUDPSinkSettings());
|
||||
response.getUdpSinkSettings()->init();
|
||||
webapiFormatChannelSettings(response, m_settings);
|
||||
@ -656,8 +657,9 @@ int UDPSink::webapiSettingsPutPatch(
|
||||
bool force,
|
||||
const QStringList& channelSettingsKeys,
|
||||
SWGSDRangel::SWGChannelSettings& response,
|
||||
QString& errorMessage __attribute__((unused)))
|
||||
QString& errorMessage)
|
||||
{
|
||||
(void) errorMessage;
|
||||
UDPSinkSettings settings = m_settings;
|
||||
bool frequencyOffsetChanged = false;
|
||||
|
||||
@ -746,8 +748,9 @@ int UDPSink::webapiSettingsPutPatch(
|
||||
|
||||
int UDPSink::webapiReportGet(
|
||||
SWGSDRangel::SWGChannelReport& response,
|
||||
QString& errorMessage __attribute__((unused)))
|
||||
QString& errorMessage)
|
||||
{
|
||||
(void) errorMessage;
|
||||
response.setUdpSinkReport(new SWGSDRangel::SWGUDPSinkReport());
|
||||
response.getUdpSinkReport()->init();
|
||||
webapiFormatChannelReport(response);
|
||||
|
@ -472,8 +472,9 @@ void UDPSinkGUI::on_inputUDPAudioPort_editingFinished()
|
||||
ui->applyBtn->setStyleSheet("QPushButton { background-color : green; }");
|
||||
}
|
||||
|
||||
void UDPSinkGUI::on_sampleRate_textEdited(const QString& arg1 __attribute__((unused)))
|
||||
void UDPSinkGUI::on_sampleRate_textEdited(const QString& arg1)
|
||||
{
|
||||
(void) arg1;
|
||||
bool ok;
|
||||
Real outputSampleRate = ui->sampleRate->text().toDouble(&ok);
|
||||
|
||||
@ -491,8 +492,9 @@ void UDPSinkGUI::on_sampleRate_textEdited(const QString& arg1 __attribute__((unu
|
||||
ui->applyBtn->setStyleSheet("QPushButton { background-color : green; }");
|
||||
}
|
||||
|
||||
void UDPSinkGUI::on_rfBandwidth_textEdited(const QString& arg1 __attribute__((unused)))
|
||||
void UDPSinkGUI::on_rfBandwidth_textEdited(const QString& arg1)
|
||||
{
|
||||
(void) arg1;
|
||||
bool ok;
|
||||
Real rfBandwidth = ui->rfBandwidth->text().toDouble(&ok);
|
||||
|
||||
@ -512,8 +514,9 @@ void UDPSinkGUI::on_rfBandwidth_textEdited(const QString& arg1 __attribute__((un
|
||||
ui->applyBtn->setStyleSheet("QPushButton { background-color : green; }");
|
||||
}
|
||||
|
||||
void UDPSinkGUI::on_fmDeviation_textEdited(const QString& arg1 __attribute__((unused)))
|
||||
void UDPSinkGUI::on_fmDeviation_textEdited(const QString& arg1)
|
||||
{
|
||||
(void) arg1;
|
||||
bool ok;
|
||||
int fmDeviation = ui->fmDeviation->text().toInt(&ok);
|
||||
|
||||
|
@ -74,8 +74,9 @@ void DaemonSource::pull(Sample& sample)
|
||||
m_dataReadQueue.readSample(sample, true); // true is scale for Tx
|
||||
}
|
||||
|
||||
void DaemonSource::pullAudio(int nbSamples __attribute__((unused)))
|
||||
void DaemonSource::pullAudio(int nbSamples)
|
||||
{
|
||||
(void) nbSamples;
|
||||
}
|
||||
|
||||
void DaemonSource::start()
|
||||
@ -174,8 +175,9 @@ QByteArray DaemonSource::serialize() const
|
||||
return m_settings.serialize();
|
||||
}
|
||||
|
||||
bool DaemonSource::deserialize(const QByteArray& data __attribute__((unused)))
|
||||
bool DaemonSource::deserialize(const QByteArray& data)
|
||||
{
|
||||
(void) data;
|
||||
if (m_settings.deserialize(data))
|
||||
{
|
||||
MsgConfigureDaemonSource *msg = MsgConfigureDaemonSource::create(m_settings, true);
|
||||
@ -215,8 +217,9 @@ void DaemonSource::applySettings(const DaemonSourceSettings& settings, bool forc
|
||||
m_settings = settings;
|
||||
}
|
||||
|
||||
void DaemonSource::handleDataBlock(SDRDaemonDataBlock* dataBlock __attribute__((unused)))
|
||||
void DaemonSource::handleDataBlock(SDRDaemonDataBlock* dataBlock)
|
||||
{
|
||||
(void) dataBlock;
|
||||
if (dataBlock->m_rxControlBlock.m_blockCount < SDRDaemonNbOrginalBlocks)
|
||||
{
|
||||
qWarning("DaemonSource::handleDataBlock: incomplete data block: not processing");
|
||||
@ -352,8 +355,9 @@ uint32_t DaemonSource::calculateDataReadQueueSize(int sampleRate)
|
||||
|
||||
int DaemonSource::webapiSettingsGet(
|
||||
SWGSDRangel::SWGChannelSettings& response,
|
||||
QString& errorMessage __attribute__((unused)))
|
||||
QString& errorMessage)
|
||||
{
|
||||
(void) errorMessage;
|
||||
response.setDaemonSourceSettings(new SWGSDRangel::SWGDaemonSourceSettings());
|
||||
response.getDaemonSourceSettings()->init();
|
||||
webapiFormatChannelSettings(response, m_settings);
|
||||
@ -364,8 +368,9 @@ int DaemonSource::webapiSettingsPutPatch(
|
||||
bool force,
|
||||
const QStringList& channelSettingsKeys,
|
||||
SWGSDRangel::SWGChannelSettings& response,
|
||||
QString& errorMessage __attribute__((unused)))
|
||||
QString& errorMessage)
|
||||
{
|
||||
(void) errorMessage;
|
||||
DaemonSourceSettings settings = m_settings;
|
||||
|
||||
if (channelSettingsKeys.contains("dataAddress")) {
|
||||
@ -405,8 +410,9 @@ int DaemonSource::webapiSettingsPutPatch(
|
||||
|
||||
int DaemonSource::webapiReportGet(
|
||||
SWGSDRangel::SWGChannelReport& response,
|
||||
QString& errorMessage __attribute__((unused)))
|
||||
QString& errorMessage)
|
||||
{
|
||||
(void) errorMessage;
|
||||
response.setDaemonSourceReport(new SWGSDRangel::SWGDaemonSourceReport());
|
||||
response.getDaemonSourceReport()->init();
|
||||
webapiFormatChannelReport(response);
|
||||
|
@ -48,8 +48,9 @@ qint64 DaemonSourceGUI::getCenterFrequency() const {
|
||||
return 0;
|
||||
}
|
||||
|
||||
void DaemonSourceGUI::setCenterFrequency(qint64 centerFrequency __attribute__((unused)))
|
||||
void DaemonSourceGUI::setCenterFrequency(qint64 centerFrequency)
|
||||
{
|
||||
(void) centerFrequency;
|
||||
}
|
||||
|
||||
void DaemonSourceGUI::resetToDefaults()
|
||||
@ -152,7 +153,7 @@ bool DaemonSourceGUI::handleMessage(const Message& message)
|
||||
}
|
||||
}
|
||||
|
||||
DaemonSourceGUI::DaemonSourceGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, BasebandSampleSource *channelTx __attribute__((unused)), QWidget* parent) :
|
||||
DaemonSourceGUI::DaemonSourceGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, BasebandSampleSource *channelTx, QWidget* parent) :
|
||||
RollupWidget(parent),
|
||||
ui(new Ui::DaemonSourceGUI),
|
||||
m_pluginAPI(pluginAPI),
|
||||
@ -166,6 +167,7 @@ DaemonSourceGUI::DaemonSourceGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet,
|
||||
m_resetCounts(true),
|
||||
m_tickCount(0)
|
||||
{
|
||||
(void) channelTx;
|
||||
ui->setupUi(this);
|
||||
setAttribute(Qt::WA_DeleteOnClose, true);
|
||||
connect(this, SIGNAL(widgetRolled(QWidget*,bool)), this, SLOT(onWidgetRolled(QWidget*,bool)));
|
||||
@ -262,8 +264,10 @@ void DaemonSourceGUI::handleSourceMessages()
|
||||
}
|
||||
}
|
||||
|
||||
void DaemonSourceGUI::onWidgetRolled(QWidget* widget __attribute__((unused)), bool rollDown __attribute__((unused)))
|
||||
void DaemonSourceGUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
||||
{
|
||||
(void) widget;
|
||||
(void) rollDown;
|
||||
}
|
||||
|
||||
void DaemonSourceGUI::onMenuDialogCalled(const QPoint &p)
|
||||
@ -304,8 +308,9 @@ void DaemonSourceGUI::on_dataPort_returnPressed()
|
||||
applySettings();
|
||||
}
|
||||
|
||||
void DaemonSourceGUI::on_dataApplyButton_clicked(bool checked __attribute__((unused)))
|
||||
void DaemonSourceGUI::on_dataApplyButton_clicked(bool checked)
|
||||
{
|
||||
(void) checked;
|
||||
m_settings.m_dataAddress = ui->dataAddress->text();
|
||||
|
||||
bool dataOk;
|
||||
@ -319,8 +324,9 @@ void DaemonSourceGUI::on_dataApplyButton_clicked(bool checked __attribute__((unu
|
||||
applySettings();
|
||||
}
|
||||
|
||||
void DaemonSourceGUI::on_eventCountsReset_clicked(bool checked __attribute__((unused)))
|
||||
void DaemonSourceGUI::on_eventCountsReset_clicked(bool checked)
|
||||
{
|
||||
(void) checked;
|
||||
m_countUnrecoverable = 0;
|
||||
m_countRecovered = 0;
|
||||
m_time.start();
|
||||
|
@ -513,8 +513,9 @@ bool AMMod::deserialize(const QByteArray& data)
|
||||
|
||||
int AMMod::webapiSettingsGet(
|
||||
SWGSDRangel::SWGChannelSettings& response,
|
||||
QString& errorMessage __attribute__((unused)))
|
||||
QString& errorMessage)
|
||||
{
|
||||
(void) errorMessage;
|
||||
response.setAmModSettings(new SWGSDRangel::SWGAMModSettings());
|
||||
response.getAmModSettings()->init();
|
||||
webapiFormatChannelSettings(response, m_settings);
|
||||
@ -525,8 +526,9 @@ int AMMod::webapiSettingsPutPatch(
|
||||
bool force,
|
||||
const QStringList& channelSettingsKeys,
|
||||
SWGSDRangel::SWGChannelSettings& response,
|
||||
QString& errorMessage __attribute__((unused)))
|
||||
QString& errorMessage)
|
||||
{
|
||||
(void) errorMessage;
|
||||
AMModSettings settings = m_settings;
|
||||
bool frequencyOffsetChanged = false;
|
||||
|
||||
@ -623,8 +625,9 @@ int AMMod::webapiSettingsPutPatch(
|
||||
|
||||
int AMMod::webapiReportGet(
|
||||
SWGSDRangel::SWGChannelReport& response,
|
||||
QString& errorMessage __attribute__((unused)))
|
||||
QString& errorMessage)
|
||||
{
|
||||
(void) errorMessage;
|
||||
response.setAmModReport(new SWGSDRangel::SWGAMModReport());
|
||||
response.getAmModReport()->init();
|
||||
webapiFormatChannelReport(response);
|
||||
|
@ -248,8 +248,9 @@ void AMModGUI::on_navTimeSlider_valueChanged(int value)
|
||||
}
|
||||
}
|
||||
|
||||
void AMModGUI::on_showFileDialog_clicked(bool checked __attribute__((unused)))
|
||||
void AMModGUI::on_showFileDialog_clicked(bool checked)
|
||||
{
|
||||
(void) checked;
|
||||
QString fileName = QFileDialog::getOpenFileName(this,
|
||||
tr("Open raw audio file"), ".", tr("Raw audio Files (*.raw)"), 0, QFileDialog::DontUseNativeDialog);
|
||||
|
||||
@ -269,8 +270,10 @@ void AMModGUI::configureFileName()
|
||||
m_amMod->getInputMessageQueue()->push(message);
|
||||
}
|
||||
|
||||
void AMModGUI::onWidgetRolled(QWidget* widget __attribute__((unused)), bool rollDown __attribute__((unused)))
|
||||
void AMModGUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
||||
{
|
||||
(void) widget;
|
||||
(void) rollDown;
|
||||
}
|
||||
|
||||
void AMModGUI::onMenuDialogCalled(const QPoint &p)
|
||||
@ -363,8 +366,9 @@ void AMModGUI::blockApplySettings(bool block)
|
||||
m_doApplySettings = !block;
|
||||
}
|
||||
|
||||
void AMModGUI::applySettings(bool force __attribute((unused)))
|
||||
void AMModGUI::applySettings(bool force)
|
||||
{
|
||||
(void) force;
|
||||
if (m_doApplySettings)
|
||||
{
|
||||
setTitleColor(m_channelMarker.getColor());
|
||||
|
@ -116,8 +116,9 @@ ATVMod::~ATVMod()
|
||||
delete[] m_DSBFilterBuffer;
|
||||
}
|
||||
|
||||
void ATVMod::pullAudio(int nbSamples __attribute__((unused)))
|
||||
void ATVMod::pullAudio(int nbSamples)
|
||||
{
|
||||
(void) nbSamples;
|
||||
}
|
||||
|
||||
void ATVMod::pull(Sample& sample)
|
||||
@ -1185,8 +1186,9 @@ bool ATVMod::deserialize(const QByteArray& data)
|
||||
|
||||
int ATVMod::webapiSettingsGet(
|
||||
SWGSDRangel::SWGChannelSettings& response,
|
||||
QString& errorMessage __attribute__((unused)))
|
||||
QString& errorMessage)
|
||||
{
|
||||
(void) errorMessage;
|
||||
response.setAtvModSettings(new SWGSDRangel::SWGATVModSettings());
|
||||
response.getAtvModSettings()->init();
|
||||
webapiFormatChannelSettings(response, m_settings);
|
||||
@ -1197,8 +1199,9 @@ int ATVMod::webapiSettingsPutPatch(
|
||||
bool force,
|
||||
const QStringList& channelSettingsKeys,
|
||||
SWGSDRangel::SWGChannelSettings& response,
|
||||
QString& errorMessage __attribute__((unused)))
|
||||
QString& errorMessage)
|
||||
{
|
||||
(void) errorMessage;
|
||||
ATVModSettings settings = m_settings;
|
||||
bool frequencyOffsetChanged = false;
|
||||
|
||||
@ -1319,8 +1322,9 @@ int ATVMod::webapiSettingsPutPatch(
|
||||
|
||||
int ATVMod::webapiReportGet(
|
||||
SWGSDRangel::SWGChannelReport& response,
|
||||
QString& errorMessage __attribute__((unused)))
|
||||
QString& errorMessage)
|
||||
{
|
||||
(void) errorMessage;
|
||||
response.setAtvModReport(new SWGSDRangel::SWGATVModReport());
|
||||
response.getAtvModReport()->init();
|
||||
webapiFormatChannelReport(response);
|
||||
|
@ -444,14 +444,16 @@ void ATVModGUI::setChannelMarkerBandwidth()
|
||||
}
|
||||
}
|
||||
|
||||
void ATVModGUI::on_nbLines_currentIndexChanged(int index __attribute__((unused)))
|
||||
void ATVModGUI::on_nbLines_currentIndexChanged(int index)
|
||||
{
|
||||
(void) index;
|
||||
m_settings.m_nbLines = getNbLines();
|
||||
applySettings();
|
||||
}
|
||||
|
||||
void ATVModGUI::on_fps_currentIndexChanged(int index __attribute__((unused)))
|
||||
void ATVModGUI::on_fps_currentIndexChanged(int index)
|
||||
{
|
||||
(void) index;
|
||||
m_settings.m_fps = getFPS();
|
||||
applySettings();
|
||||
}
|
||||
@ -494,8 +496,9 @@ void ATVModGUI::on_forceDecimator_toggled(bool checked)
|
||||
applySettings();
|
||||
}
|
||||
|
||||
void ATVModGUI::on_imageFileDialog_clicked(bool checked __attribute__((unused)))
|
||||
void ATVModGUI::on_imageFileDialog_clicked(bool checked)
|
||||
{
|
||||
(void) checked;
|
||||
QString fileName = QFileDialog::getOpenFileName(this,
|
||||
tr("Open image file"), ".", tr("Image Files (*.png *.jpg *.bmp *.gif *.tiff)"), 0, QFileDialog::DontUseNativeDialog);
|
||||
|
||||
@ -507,8 +510,9 @@ void ATVModGUI::on_imageFileDialog_clicked(bool checked __attribute__((unused)))
|
||||
}
|
||||
}
|
||||
|
||||
void ATVModGUI::on_videoFileDialog_clicked(bool checked __attribute__((unused)))
|
||||
void ATVModGUI::on_videoFileDialog_clicked(bool checked)
|
||||
{
|
||||
(void) checked;
|
||||
QString fileName = QFileDialog::getOpenFileName(this,
|
||||
tr("Open video file"), ".", tr("Video Files (*.avi *.mpg *.mp4 *.mov *.m4v *.mkv *.vob *.wmv)"), 0, QFileDialog::DontUseNativeDialog);
|
||||
|
||||
@ -580,8 +584,9 @@ void ATVModGUI::on_overlayTextShow_toggled(bool checked)
|
||||
applySettings();
|
||||
}
|
||||
|
||||
void ATVModGUI::on_overlayText_textEdited(const QString& arg1 __attribute__((unused)))
|
||||
void ATVModGUI::on_overlayText_textEdited(const QString& arg1)
|
||||
{
|
||||
(void) arg1;
|
||||
m_settings.m_overlayText = arg1;
|
||||
applySettings();
|
||||
}
|
||||
@ -600,8 +605,10 @@ void ATVModGUI::configureVideoFileName()
|
||||
m_atvMod->getInputMessageQueue()->push(message);
|
||||
}
|
||||
|
||||
void ATVModGUI::onWidgetRolled(QWidget* widget __attribute__((unused)), bool rollDown __attribute__((unused)))
|
||||
void ATVModGUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
||||
{
|
||||
(void) widget;
|
||||
(void) rollDown;
|
||||
}
|
||||
|
||||
void ATVModGUI::onMenuDialogCalled(const QPoint &p)
|
||||
|
@ -553,8 +553,9 @@ bool NFMMod::deserialize(const QByteArray& data)
|
||||
|
||||
int NFMMod::webapiSettingsGet(
|
||||
SWGSDRangel::SWGChannelSettings& response,
|
||||
QString& errorMessage __attribute__((unused)))
|
||||
QString& errorMessage)
|
||||
{
|
||||
(void) errorMessage;
|
||||
response.setNfmModSettings(new SWGSDRangel::SWGNFMModSettings());
|
||||
response.getNfmModSettings()->init();
|
||||
webapiFormatChannelSettings(response, m_settings);
|
||||
@ -565,8 +566,9 @@ int NFMMod::webapiSettingsPutPatch(
|
||||
bool force,
|
||||
const QStringList& channelSettingsKeys,
|
||||
SWGSDRangel::SWGChannelSettings& response,
|
||||
QString& errorMessage __attribute__((unused)))
|
||||
QString& errorMessage)
|
||||
{
|
||||
(void) errorMessage;
|
||||
NFMModSettings settings = m_settings;
|
||||
bool frequencyOffsetChanged = false;
|
||||
|
||||
@ -673,8 +675,9 @@ int NFMMod::webapiSettingsPutPatch(
|
||||
|
||||
int NFMMod::webapiReportGet(
|
||||
SWGSDRangel::SWGChannelReport& response,
|
||||
QString& errorMessage __attribute__((unused)))
|
||||
QString& errorMessage)
|
||||
{
|
||||
(void) errorMessage;
|
||||
response.setNfmModReport(new SWGSDRangel::SWGNFMModReport());
|
||||
response.getNfmModReport()->init();
|
||||
webapiFormatChannelReport(response);
|
||||
|
@ -252,8 +252,9 @@ void NFMModGUI::on_navTimeSlider_valueChanged(int value)
|
||||
}
|
||||
}
|
||||
|
||||
void NFMModGUI::on_showFileDialog_clicked(bool checked __attribute__((unused)))
|
||||
void NFMModGUI::on_showFileDialog_clicked(bool checked)
|
||||
{
|
||||
(void) checked;
|
||||
QString fileName = QFileDialog::getOpenFileName(this,
|
||||
tr("Open raw audio file"), ".", tr("Raw audio Files (*.raw)"), 0, QFileDialog::DontUseNativeDialog);
|
||||
|
||||
@ -286,8 +287,10 @@ void NFMModGUI::configureFileName()
|
||||
m_nfmMod->getInputMessageQueue()->push(message);
|
||||
}
|
||||
|
||||
void NFMModGUI::onWidgetRolled(QWidget* widget __attribute__((unused)), bool rollDown __attribute__((unused)))
|
||||
void NFMModGUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
||||
{
|
||||
(void) widget;
|
||||
(void) rollDown;
|
||||
}
|
||||
|
||||
void NFMModGUI::onMenuDialogCalled(const QPoint &p)
|
||||
|
@ -872,8 +872,9 @@ bool SSBMod::deserialize(const QByteArray& data)
|
||||
|
||||
int SSBMod::webapiSettingsGet(
|
||||
SWGSDRangel::SWGChannelSettings& response,
|
||||
QString& errorMessage __attribute__((unused)))
|
||||
QString& errorMessage)
|
||||
{
|
||||
(void) errorMessage;
|
||||
response.setSsbModSettings(new SWGSDRangel::SWGSSBModSettings());
|
||||
response.getSsbModSettings()->init();
|
||||
webapiFormatChannelSettings(response, m_settings);
|
||||
@ -884,8 +885,9 @@ int SSBMod::webapiSettingsPutPatch(
|
||||
bool force,
|
||||
const QStringList& channelSettingsKeys,
|
||||
SWGSDRangel::SWGChannelSettings& response,
|
||||
QString& errorMessage __attribute__((unused)))
|
||||
QString& errorMessage)
|
||||
{
|
||||
(void) errorMessage;
|
||||
SSBModSettings settings = m_settings;
|
||||
bool frequencyOffsetChanged = false;
|
||||
|
||||
@ -1018,8 +1020,9 @@ int SSBMod::webapiSettingsPutPatch(
|
||||
|
||||
int SSBMod::webapiReportGet(
|
||||
SWGSDRangel::SWGChannelReport& response,
|
||||
QString& errorMessage __attribute__((unused)))
|
||||
QString& errorMessage)
|
||||
{
|
||||
(void) errorMessage;
|
||||
response.setSsbModReport(new SWGSDRangel::SWGSSBModReport());
|
||||
response.getSsbModReport()->init();
|
||||
webapiFormatChannelReport(response);
|
||||
|
@ -173,8 +173,9 @@ void SSBModGUI::on_deltaFrequency_changed(qint64 value)
|
||||
applySettings();
|
||||
}
|
||||
|
||||
void SSBModGUI::on_flipSidebands_clicked(bool checked __attribute__((unused)))
|
||||
void SSBModGUI::on_flipSidebands_clicked(bool checked)
|
||||
{
|
||||
(void) checked;
|
||||
int bwValue = ui->BW->value();
|
||||
int lcValue = ui->lowCut->value();
|
||||
ui->BW->setValue(-bwValue);
|
||||
@ -208,13 +209,15 @@ void SSBModGUI::on_spanLog2_valueChanged(int value)
|
||||
applyBandwidths(5 - value);
|
||||
}
|
||||
|
||||
void SSBModGUI::on_BW_valueChanged(int value __attribute__((unused)))
|
||||
void SSBModGUI::on_BW_valueChanged(int value)
|
||||
{
|
||||
(void) value;
|
||||
applyBandwidths(5 - ui->spanLog2->value());
|
||||
}
|
||||
|
||||
void SSBModGUI::on_lowCut_valueChanged(int value __attribute__((unused)))
|
||||
void SSBModGUI::on_lowCut_valueChanged(int value)
|
||||
{
|
||||
(void) value;
|
||||
applyBandwidths(5 - ui->spanLog2->value());
|
||||
}
|
||||
|
||||
@ -340,6 +343,7 @@ void SSBModGUI::on_navTimeSlider_valueChanged(int value)
|
||||
|
||||
void SSBModGUI::on_showFileDialog_clicked(bool checked __attribute__((unused)))
|
||||
{
|
||||
(void) checked;
|
||||
QString fileName = QFileDialog::getOpenFileName(this,
|
||||
tr("Open raw audio file"), ".", tr("Raw audio Files (*.raw)"), 0, QFileDialog::DontUseNativeDialog);
|
||||
|
||||
@ -359,8 +363,10 @@ void SSBModGUI::configureFileName()
|
||||
m_ssbMod->getInputMessageQueue()->push(message);
|
||||
}
|
||||
|
||||
void SSBModGUI::onWidgetRolled(QWidget* widget __attribute__((unused)), bool rollDown __attribute__((unused)))
|
||||
void SSBModGUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
||||
{
|
||||
(void) widget;
|
||||
(void) rollDown;
|
||||
}
|
||||
|
||||
void SSBModGUI::onMenuDialogCalled(const QPoint &p)
|
||||
|
@ -71,8 +71,9 @@ void StringRangeGUI::setValue(const std::string& value)
|
||||
}
|
||||
}
|
||||
|
||||
void StringRangeGUI::on_rangeCombo_currentIndexChanged(int index __attribute__((unused)))
|
||||
void StringRangeGUI::on_rangeCombo_currentIndexChanged(int index)
|
||||
{
|
||||
(void) index;
|
||||
emit valueChanged();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user