1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-25 17:28:50 -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"
============
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)
{
const int loraBW[] = {7813, 15625, 31250, 62500};
const int loraBW[] = BANDWIDTHSTRING;
int thisBW = loraBW[value];
ui->BWText->setText(QString("%1 Hz").arg(thisBW));
m_channelMarker->setBandwidth(thisBW);
@ -165,7 +165,7 @@ LoRaDemodGUI::~LoRaDemodGUI()
void LoRaDemodGUI::applySettings()
{
const int loraBW[] = {7813, 15625, 31250, 62500};
const int loraBW[] = BANDWIDTHSTRING;
int thisBW = loraBW[ui->BW->value()];
m_channelizer->configure(m_threadedSampleSink->getMessageQueue(),
thisBW,

View File

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

View File

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