1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-16 13:21:50 -05:00

WFM Demod: added a 100 kHz RF bandwidth position

This commit is contained in:
f4exb 2016-12-18 06:44:48 +01:00
parent 95a8eb9856
commit 78343f5cbf
3 changed files with 7 additions and 7 deletions

View File

@ -6,7 +6,7 @@
#include <QMainWindow>
#include <QDebug>
#include "../../../sdrbase/dsp/threadedbasebandsamplesink.h"
#include "dsp/threadedbasebandsamplesink.h"
#include "ui_wfmdemodgui.h"
#include "dsp/dspengine.h"
#include "plugin/pluginapi.h"
@ -15,12 +15,12 @@
#include "gui/basicchannelsettingswidget.h"
#include "mainwindow.h"
#include "../../channelrx/demodwfm/wfmdemod.h"
#include "wfmdemod.h"
const QString WFMDemodGUI::m_channelID = "de.maintech.sdrangelove.channel.wfm";
const int WFMDemodGUI::m_rfBW[] = {
48000, 80000, 120000, 140000, 160000, 180000, 200000, 220000, 250000
48000, 80000, 100000, 120000, 140000, 160000, 180000, 200000, 220000, 250000
};
int requiredBW(int rfBW)
@ -244,7 +244,7 @@ WFMDemodGUI::WFMDemodGUI(PluginAPI* pluginAPI, DeviceSourceAPI *deviceAPI, QWidg
//m_channelMarker = new ChannelMarker(this);
m_channelMarker.setColor(Qt::blue);
m_channelMarker.setBandwidth(12500);
m_channelMarker.setBandwidth(m_rfBW[4]);
m_channelMarker.setCenterFrequency(0);
m_channelMarker.setVisible(true);

View File

@ -155,7 +155,7 @@
<string>Demodulator (RF) bandwidth</string>
</property>
<property name="maximum">
<number>8</number>
<number>9</number>
</property>
<property name="pageStep">
<number>1</number>
@ -177,7 +177,7 @@
</size>
</property>
<property name="text">
<string>12.5kHz</string>
<string>140kHz</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>

View File

@ -7,7 +7,7 @@
const PluginDescriptor WFMPlugin::m_pluginDescriptor = {
QString("WFM Demodulator"),
QString("2.0.0"),
QString("2.5.1"),
QString("(c) Edouard Griffiths, F4EXB"),
QString("https://github.com/f4exb/sdrangel"),
true,