1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-07-26 03:54:30 -04:00

Multi device support: Aligned Funcube Pro+ plugin

This commit is contained in:
f4exb
2016-05-12 18:02:55 +02:00
parent 25197faa7a
commit 7159004bbe
3 changed files with 124 additions and 25 deletions
+17 -10
View File
@@ -1,13 +1,3 @@
#ifndef INCLUDE_FCDGUI_H
#define INCLUDE_FCDGUI_H
#include <QTimer>
#include "fcdproplusinput.h"
#include "plugin/plugingui.h"
class PluginAPI;
///////////////////////////////////////////////////////////////////////////////////
// Copyright (C) 2015 Edouard Griffiths, F4EXB //
// //
@@ -24,6 +14,17 @@ class PluginAPI;
// along with this program. If not, see <http://www.gnu.org/licenses/>. //
///////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDE_FCDGUI_H
#define INCLUDE_FCDGUI_H
#include <QTimer>
#include "fcdproplusinput.h"
#include "plugin/plugingui.h"
class PluginAPI;
class FileSink;
namespace Ui {
class FCDProPlusGui;
}
@@ -56,12 +57,17 @@ private:
QTimer m_statusTimer;
std::vector<int> m_gains;
SampleSource* m_sampleSource;
FileSink *m_fileSink; //!< File sink to record device I/Q output
int m_sampleRate;
quint64 m_deviceCenterFrequency; //!< Center frequency in device
int m_lastEngineState;
void displaySettings();
void sendSettings();
void updateSampleRateAndFrequency();
private slots:
void handleDSPMessages();
void on_centerFrequency_changed(quint64 value);
void on_dcOffset_toggled(bool checked);
void on_iqImbalance_toggled(bool checked);
@@ -73,6 +79,7 @@ private slots:
void on_filterIF_currentIndexChanged(int index);
void on_ppm_valueChanged(int value);
void on_startStop_toggled(bool checked);
void on_record_toggled(bool checked);
void updateHardware();
void updateStatus();
};