1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-01 21:54:55 -04:00

Multi device support: Aligned Funcube Pro plugin

This commit is contained in:
f4exb
2016-05-12 17:40:26 +02:00
parent ea1f2208f7
commit 25197faa7a
3 changed files with 111 additions and 10 deletions
+7
View File
@@ -23,6 +23,7 @@
#include "plugin/plugingui.h"
class PluginAPI;
class FileSink;
namespace Ui {
class FCDProGui;
@@ -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_ppm_valueChanged(int value);
void on_dcOffset_toggled(bool checked);
@@ -85,6 +91,7 @@ private slots:
void on_gain6_currentIndexChanged(int index);
void on_setDefaults_clicked(bool checked);
void on_startStop_toggled(bool checked);
void on_record_toggled(bool checked);
void updateHardware();
void updateStatus();
};