From 3f3a58772be759594fe1bec0b32fbc010d11f386 Mon Sep 17 00:00:00 2001 From: f4exb Date: Mon, 28 Nov 2016 13:47:26 +0100 Subject: [PATCH] AM Mod/Demod: added 3kHz and 4kHz bandwidths --- plugins/channelrx/demodam/amdemodgui.cpp | 2 +- plugins/channelrx/demodam/amdemodgui.ui | 34 +++++++++++++-- plugins/channelrx/demodam/amdemodplugin.cpp | 2 +- plugins/channeltx/modam/ammodgui.cpp | 2 +- plugins/channeltx/modam/ammodgui.ui | 46 +++++++++++++++++---- 5 files changed, 71 insertions(+), 15 deletions(-) diff --git a/plugins/channelrx/demodam/amdemodgui.cpp b/plugins/channelrx/demodam/amdemodgui.cpp index 4275d9134..98232c795 100644 --- a/plugins/channelrx/demodam/amdemodgui.cpp +++ b/plugins/channelrx/demodam/amdemodgui.cpp @@ -36,7 +36,7 @@ const QString AMDemodGUI::m_channelID = "de.maintech.sdrangelove.channel.am"; const int AMDemodGUI::m_rfBW[] = { - 5000, 6250, 8330, 10000, 12500, 15000, 20000, 25000, 40000 + 3000, 4000, 5000, 6250, 8330, 10000, 12500, 15000, 20000, 25000, 40000 }; AMDemodGUI* AMDemodGUI::create(PluginAPI* pluginAPI, DeviceSourceAPI *deviceAPI) diff --git a/plugins/channelrx/demodam/amdemodgui.ui b/plugins/channelrx/demodam/amdemodgui.ui index a3b9ceb81..0217c5625 100644 --- a/plugins/channelrx/demodam/amdemodgui.ui +++ b/plugins/channelrx/demodam/amdemodgui.ui @@ -38,7 +38,16 @@ 3 - + + 2 + + + 2 + + + 2 + + 2 @@ -176,13 +185,13 @@ Demodulator (RF) bandwidth - 8 + 10 1 - 4 + 6 Qt::Horizontal @@ -370,6 +379,25 @@ + + + + + + + + + + + + + + + + + + + diff --git a/plugins/channelrx/demodam/amdemodplugin.cpp b/plugins/channelrx/demodam/amdemodplugin.cpp index 8f8b3b44d..3457f547a 100644 --- a/plugins/channelrx/demodam/amdemodplugin.cpp +++ b/plugins/channelrx/demodam/amdemodplugin.cpp @@ -7,7 +7,7 @@ const PluginDescriptor AMDemodPlugin::m_pluginDescriptor = { QString("AM Demodulator"), - QString("2.2.1"), + QString("2.3.1"), QString("(c) Edouard Griffiths, F4EXB"), QString("https://github.com/f4exb/sdrangel"), true, diff --git a/plugins/channeltx/modam/ammodgui.cpp b/plugins/channeltx/modam/ammodgui.cpp index 582fa5f5b..4ef32d544 100644 --- a/plugins/channeltx/modam/ammodgui.cpp +++ b/plugins/channeltx/modam/ammodgui.cpp @@ -37,7 +37,7 @@ const QString AMModGUI::m_channelID = "sdrangel.channeltx.modam"; const int AMModGUI::m_rfBW[] = { - 5000, 6250, 8330, 10000, 12500, 15000, 20000, 25000, 40000 + 3000, 4000, 5000, 6250, 8330, 10000, 12500, 15000, 20000, 25000, 40000 }; AMModGUI* AMModGUI::create(PluginAPI* pluginAPI, DeviceSinkAPI *deviceAPI) diff --git a/plugins/channeltx/modam/ammodgui.ui b/plugins/channeltx/modam/ammodgui.ui index d55bb5fb5..da4399fe4 100644 --- a/plugins/channeltx/modam/ammodgui.ui +++ b/plugins/channeltx/modam/ammodgui.ui @@ -38,7 +38,16 @@ 3 - + + 2 + + + 2 + + + 2 + + 2 @@ -176,13 +185,13 @@ Demodulator (RF) bandwidth - 8 + 10 1 - 4 + 6 Qt::Horizontal @@ -500,6 +509,12 @@ + + RollupWidget + QWidget +
gui/rollupwidget.h
+ 1 +
ValueDial QWidget @@ -511,15 +526,28 @@ QToolButton
gui/buttonswitch.h
- - RollupWidget - QWidget -
gui/rollupwidget.h
- 1 -
+ + + + + + + + + + + + + + + + + + +