mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-03 06:24:48 -04:00
Tx support: common device routines library and handle BladeRF Tx/Rx coordination on Rx side
This commit is contained in:
@@ -18,6 +18,8 @@
|
||||
#define INCLUDE_BLADERFINPUT_H
|
||||
|
||||
#include <dsp/devicesamplesource.h>
|
||||
#include "bladerf/devicebladerf.h"
|
||||
#include "bladerf/devicebladerfparam.h"
|
||||
|
||||
#include <libbladeRF.h>
|
||||
#include <QString>
|
||||
@@ -82,7 +84,7 @@ public:
|
||||
private:
|
||||
bool applySettings(const BladeRFInputSettings& settings, bool force);
|
||||
bladerf_lna_gain getLnaGain(int lnaGain);
|
||||
struct bladerf *open_bladerf_from_serial(const char *serial);
|
||||
// struct bladerf *open_bladerf_from_serial(const char *serial);
|
||||
|
||||
DeviceSourceAPI *m_deviceAPI;
|
||||
QMutex m_mutex;
|
||||
@@ -90,6 +92,7 @@ private:
|
||||
struct bladerf* m_dev;
|
||||
BladerfInputThread* m_bladerfThread;
|
||||
QString m_deviceDescription;
|
||||
DeviceBladeRFParams m_sharedParams;
|
||||
};
|
||||
|
||||
#endif // INCLUDE_BLADERFINPUT_H
|
||||
|
||||
Reference in New Issue
Block a user