15 QString(
"RTL-SDR Input"),
17 QString(
"(c) Edouard Griffiths, F4EXB"),
18 QString(
"https://github.com/f4exb/sdrangel"),
20 QString(
"https://github.com/f4exb/sdrangel")
44 int count = rtlsdr_get_device_count();
49 for(
int i = 0;
i < count;
i++) {
54 if(rtlsdr_get_device_usb_strings((
uint32_t)
i, vendor, product, serial) != 0)
56 QString displayedName(QString(
"RTL-SDR[%1] %2").
arg(i).
arg(serial));
73 const QString& sourceId,
84 const QString& sourceId,
#define RTLSDR_DEVICE_TYPE_ID
RTLSDRPlugin(QObject *parent=NULL)
virtual DeviceSampleSource * createSampleSourcePluginInstance(const QString &sourceId, DeviceAPI *deviceAPI)
void registerSampleSource(const QString &sourceName, PluginInterface *plugin)
static const QString m_hardwareID
static const PluginDescriptor m_pluginDescriptor
Fixed< IntType, IntBits > arg(const std::complex< Fixed< IntType, IntBits > > &val)
virtual SamplingDevices enumSampleSources()
static const QString m_deviceTypeID
void initPlugin(PluginAPI *pluginAPI)
Exposes a single input stream that can be one of the streams of a physical device.
const PluginDescriptor & getPluginDescriptor() const
virtual PluginInstanceGUI * createSampleSourcePluginInstanceGUI(const QString &sourceId, QWidget **widget, DeviceUISet *deviceUISet)
QList< SamplingDevice > SamplingDevices