1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-09 17:35:45 -04:00

Multi device support: Aligned HackRF plugin

This commit is contained in:
f4exb
2016-05-12 17:18:08 +02:00
parent deee1ada34
commit ea1f2208f7
3 changed files with 114 additions and 13 deletions
+7
View File
@@ -25,6 +25,7 @@
#define HACKRF_MAX_DEVICE (32)
class PluginAPI;
class FileSink;
namespace Ui {
class HackRFGui;
@@ -64,14 +65,19 @@ private:
QTimer m_updateTimer;
QTimer m_statusTimer;
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 displaySampleRates();
void displayBandwidths();
void sendSettings();
void updateSampleRateAndFrequency();
private slots:
void handleDSPMessages();
void on_centerFrequency_changed(quint64 value);
void on_LOppm_valueChanged(int value);
void on_dcOffset_toggled(bool checked);
@@ -85,6 +91,7 @@ private slots:
void on_bbFilter_currentIndexChanged(int index);
void on_vga_valueChanged(int value);
void on_startStop_toggled(bool checked);
void on_record_toggled(bool checked);
void updateHardware();
void updateStatus();
};