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:
@@ -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();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user