31 QString(
"SDRPlay RSP1 Input"),
33 QString(
"(c) Edouard Griffiths, F4EXB"),
34 QString(
"https://github.com/f4exb/sdrangel"),
36 QString(
"https://github.com/f4exb/sdrangel")
60 int count = mirisdr_get_device_count();
66 for(
int i = 0;
i < count;
i++)
72 if (mirisdr_get_device_usb_strings((
uint32_t)
i, vendor, product, serial) != 0)
77 qDebug(
"SDRPlayPlugin::enumSampleSources: found %s:%s (%s)", vendor, product, serial);
78 QString displayedName(QString(
"SDRPlay[%1] %2").
arg(i).
arg(serial));
96 const QString& sourceId,
107 const QString& sourceId,
static const PluginDescriptor m_pluginDescriptor
void registerSampleSource(const QString &sourceName, PluginInterface *plugin)
SDRPlayPlugin(QObject *parent=NULL)
const PluginDescriptor & getPluginDescriptor() const
virtual PluginInstanceGUI * createSampleSourcePluginInstanceGUI(const QString &sourceId, QWidget **widget, DeviceUISet *deviceUISet)
Fixed< IntType, IntBits > arg(const std::complex< Fixed< IntType, IntBits > > &val)
virtual SamplingDevices enumSampleSources()
virtual DeviceSampleSource * createSampleSourcePluginInstance(const QString &sourceId, DeviceAPI *deviceAPI)
Exposes a single input stream that can be one of the streams of a physical device.
static const QString m_deviceTypeID
void initPlugin(PluginAPI *pluginAPI)
#define SDRPLAY_DEVICE_TYPE_ID
static const QString m_hardwareID
QList< SamplingDevice > SamplingDevices