33 #include "../xtrxoutput/xtrxoutputplugin.h" 36 QString(
"XTRX Output"),
38 QString(
"(c) Edouard Griffiths, F4EXB"),
39 QString(
"https://github.com/f4exb/sdrangel"),
41 QString(
"https://github.com/f4exb/sdrangel")
65 xtrx_device_info_t devs[32];
66 int res = xtrx_discovery(devs, 32);
68 for (i = 0; i < res; i++) {
72 qDebug(
"XTRXInputPlugin::enumSampleSinks: device #%d channel %u: %s", i, j, devs[i].uniqname);
73 QString displayedName(QString(
"XTRX[%1:%2] %3").
arg(i).
arg(j).
arg(devs[i].uniqname));
77 QString(devs[i].uniqname),
90 const QString& sinkId,
101 const QString& sinkId,
static const QString m_deviceTypeID
void registerSampleSink(const QString &sinkName, PluginInterface *plugin)
uint32_t m_nbTxChannels
number of Tx channels
virtual SamplingDevices enumSampleSinks()
void initPlugin(PluginAPI *pluginAPI)
Fixed< IntType, IntBits > arg(const std::complex< Fixed< IntType, IntBits > > &val)
XTRXOutputPlugin(QObject *parent=0)
virtual PluginInstanceGUI * createSampleSinkPluginInstanceGUI(const QString &sinkId, QWidget **widget, DeviceUISet *deviceUISet)
Exposes a single output stream that can be one of the streams of a physical device.
const PluginDescriptor & getPluginDescriptor() const
static const QString m_hardwareID
#define XTRXOUTPUT_DEVICE_TYPE_ID
static const PluginDescriptor m_pluginDescriptor
QList< SamplingDevice > SamplingDevices
virtual DeviceSampleSink * createSampleSinkPluginInstance(const QString &sinkId, DeviceAPI *deviceAPI)