19 #include <libairspyhf/airspyhf.h> 32 QString(
"AirspyHF Input"),
34 QString(
"(c) Edouard Griffiths, F4EXB"),
35 QString(
"https://github.com/f4exb/sdrangel"),
37 QString(
"https://github.com/f4exb/sdrangel")
65 nbDevices = airspyhf_list_devices(deviceSerials,
m_maxDevices);
69 qCritical(
"AirspyHFPlugin::enumSampleSources: failed to list Airspy HF devices");
72 for (
int i = 0;
i < nbDevices;
i++)
76 QString serial_str = QString::number(deviceSerials[i], 16);
77 QString displayedName(QString(
"AirspyHF[%1] %2").
arg(i).
arg(serial_str));
89 qDebug(
"AirspyHFPlugin::enumSampleSources: enumerated Airspy HF device #%d", i);
93 qDebug(
"AirspyHFPlugin::enumSampleSources: finished to enumerate Airspy HF. %d devices found", i);
103 const QString& sourceId,
114 const QString& sourceId,
virtual SamplingDevices enumSampleSources()
AirspyHFPlugin(QObject *parent=0)
void registerSampleSource(const QString &sourceName, PluginInterface *plugin)
Fixed< IntType, IntBits > arg(const std::complex< Fixed< IntType, IntBits > > &val)
virtual DeviceSampleSource * createSampleSourcePluginInstance(const QString &sourceId, DeviceAPI *deviceAPI)
void initPlugin(PluginAPI *pluginAPI)
static const int m_maxDevices
static const QString m_deviceTypeID
Exposes a single input stream that can be one of the streams of a physical device.
static const PluginDescriptor m_pluginDescriptor
#define AIRSPYHF_DEVICE_TYPE_ID
const PluginDescriptor & getPluginDescriptor() const
static const QString m_hardwareID
virtual PluginInstanceGUI * createSampleSourcePluginInstanceGUI(const QString &sourceId, QWidget **widget, DeviceUISet *deviceUISet)
QList< SamplingDevice > SamplingDevices
unsigned __int64 uint64_t