1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2025-02-03 09:44:01 -05:00

Bandwidth 20.8 kHz.

This commit is contained in:
John Greb 2015-02-20 08:45:57 +00:00
parent 3705b062a0
commit a05759e1b8
4 changed files with 15 additions and 3 deletions

View File

@ -32,3 +32,13 @@ Debian 7 "wheezy" uses Qt4. Qt5 is available from the "wheezy-backports" repo, b
"mkdir out && cd out && cmake ../ && make" "mkdir out && cd out && cmake ../ && make"
============
Known Issues
============
Possible compiler/linker bug when building with "make -j2"
FM is mostly untested.
RTL frontend will have bad aliasing in noisy environments.

View File

@ -86,7 +86,7 @@ void LoRaDemodGUI::viewChanged()
void LoRaDemodGUI::on_BW_valueChanged(int value) void LoRaDemodGUI::on_BW_valueChanged(int value)
{ {
const int loraBW[] = {7813, 15625, 31250, 62500}; const int loraBW[] = BANDWIDTHSTRING;
int thisBW = loraBW[value]; int thisBW = loraBW[value];
ui->BWText->setText(QString("%1 Hz").arg(thisBW)); ui->BWText->setText(QString("%1 Hz").arg(thisBW));
m_channelMarker->setBandwidth(thisBW); m_channelMarker->setBandwidth(thisBW);
@ -165,7 +165,7 @@ LoRaDemodGUI::~LoRaDemodGUI()
void LoRaDemodGUI::applySettings() void LoRaDemodGUI::applySettings()
{ {
const int loraBW[] = {7813, 15625, 31250, 62500}; const int loraBW[] = BANDWIDTHSTRING;
int thisBW = loraBW[ui->BW->value()]; int thisBW = loraBW[ui->BW->value()];
m_channelizer->configure(m_threadedSampleSink->getMessageQueue(), m_channelizer->configure(m_threadedSampleSink->getMessageQueue(),
thisBW, thisBW,

View File

@ -4,6 +4,8 @@
#include "gui/rollupwidget.h" #include "gui/rollupwidget.h"
#include "plugin/plugingui.h" #include "plugin/plugingui.h"
#define BANDWIDTHSTRING {7813,15625,20833,31250,62500}
class PluginAPI; class PluginAPI;
class ChannelMarker; class ChannelMarker;
class ThreadedSampleSink; class ThreadedSampleSink;

View File

@ -52,7 +52,7 @@
<number>0</number> <number>0</number>
</property> </property>
<property name="maximum"> <property name="maximum">
<number>2</number> <number>3</number>
</property> </property>
<property name="pageStep"> <property name="pageStep">
<number>1</number> <number>1</number>