From 632feb75c599884332e91d877d0c19de268899a3 Mon Sep 17 00:00:00 2001 From: f4exb Date: Fri, 22 Feb 2019 09:56:17 +0100 Subject: [PATCH] FreeDV modulator: register plugin and change default color --- plugins/channeltx/modfreedv/freedvmod.cpp | 2 +- plugins/channeltx/modfreedv/freedvmodgui.cpp | 2 +- plugins/channeltx/modfreedv/freedvmodplugin.cpp | 2 +- plugins/channeltx/modfreedv/freedvmodsettings.cpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/channeltx/modfreedv/freedvmod.cpp b/plugins/channeltx/modfreedv/freedvmod.cpp index 9465ff05f..1cf07a940 100644 --- a/plugins/channeltx/modfreedv/freedvmod.cpp +++ b/plugins/channeltx/modfreedv/freedvmod.cpp @@ -46,7 +46,7 @@ MESSAGE_CLASS_DEFINITION(FreeDVMod::MsgConfigureFileSourceStreamTiming, Message) MESSAGE_CLASS_DEFINITION(FreeDVMod::MsgReportFileSourceStreamData, Message) MESSAGE_CLASS_DEFINITION(FreeDVMod::MsgReportFileSourceStreamTiming, Message) -const QString FreeDVMod::m_channelIdURI = "sdrangel.channeltx.modfreedv"; +const QString FreeDVMod::m_channelIdURI = "sdrangel.channeltx.freedvmod"; const QString FreeDVMod::m_channelId = "FreeDVMod"; const int FreeDVMod::m_levelNbSamples = 480; // every 10ms const int FreeDVMod::m_ssbFftLen = 1024; diff --git a/plugins/channeltx/modfreedv/freedvmodgui.cpp b/plugins/channeltx/modfreedv/freedvmodgui.cpp index 866401d26..f74177255 100644 --- a/plugins/channeltx/modfreedv/freedvmodgui.cpp +++ b/plugins/channeltx/modfreedv/freedvmodgui.cpp @@ -439,7 +439,7 @@ FreeDVModGUI::FreeDVModGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, Baseb ui->deltaFrequency->setValueRange(false, 7, -9999999, 9999999); m_channelMarker.blockSignals(true); - m_channelMarker.setColor(Qt::darkCyan); + m_channelMarker.setColor(QColor(0, 255, 204)); m_channelMarker.setBandwidth(m_spectrumRate); m_channelMarker.setSidebands(ChannelMarker::usb); m_channelMarker.setCenterFrequency(0); diff --git a/plugins/channeltx/modfreedv/freedvmodplugin.cpp b/plugins/channeltx/modfreedv/freedvmodplugin.cpp index 6bcf54075..8888e99e1 100644 --- a/plugins/channeltx/modfreedv/freedvmodplugin.cpp +++ b/plugins/channeltx/modfreedv/freedvmodplugin.cpp @@ -24,7 +24,7 @@ #include "freedvmodplugin.h" const PluginDescriptor FreeDVModPlugin::m_pluginDescriptor = { - QString("SSB Modulator"), + QString("FreeDV Modulator"), QString("4.5.0"), QString("(c) Edouard Griffiths, F4EXB"), QString("https://github.com/f4exb/sdrangel"), diff --git a/plugins/channeltx/modfreedv/freedvmodsettings.cpp b/plugins/channeltx/modfreedv/freedvmodsettings.cpp index 4ea87ae5f..72541be5e 100644 --- a/plugins/channeltx/modfreedv/freedvmodsettings.cpp +++ b/plugins/channeltx/modfreedv/freedvmodsettings.cpp @@ -64,7 +64,7 @@ void FreeDVModSettings::resetToDefaults() m_agcThreshold = -40; // dB m_agcThresholdGate = 192; m_agcThresholdDelay = 2400; - m_rgbColor = QColor(0, 255, 0).rgb(); + m_rgbColor = QColor(0, 255, 204).rgb(); m_title = "FreeDV Modulator"; m_modAFInput = FreeDVModInputAF::FreeDVModInputNone; m_audioDeviceName = AudioDeviceManager::m_defaultDeviceName;