33 QString(
"SoapySDR Output"),
35 QString(
"(c) Edouard Griffiths, F4EXB"),
36 QString(
"https://github.com/f4exb/sdrangel"),
38 QString(
"https://github.com/f4exb/sdrangel")
63 const std::vector<DeviceSoapySDRScan::SoapySDRDeviceEnum>& devicesEnumeration = deviceSoapySDR.
getDevicesEnumeration();
64 qDebug(
"SoapySDROutputPlugin::enumSampleSinks: %lu SoapySDR devices. Enumerate these with Tx channel(s):", devicesEnumeration.size());
65 std::vector<DeviceSoapySDRScan::SoapySDRDeviceEnum>::const_iterator it = devicesEnumeration.begin();
67 for (
int idev = 0; it != devicesEnumeration.end(); ++it, idev++)
69 unsigned int nbTxChannels = it->m_nbTx;
71 for (
unsigned int ichan = 0; ichan < nbTxChannels; ichan++)
73 QString displayedName(QString(
"SoapySDR[%1:%2] %3").
arg(idev).
arg(ichan).
arg(it->m_label));
74 QString serial(QString(
"%1-%2").
arg(it->m_driverName).arg(it->m_sequence));
75 qDebug(
"SoapySDROutputPlugin::enumSampleSinks: device #%d (%s) serial %s channel %u",
76 idev, it->m_label.toStdString().c_str(), serial.toStdString().c_str(), ichan);
94 const QString& sinkId,
105 const QString& sinkId,
virtual PluginInstanceGUI * createSampleSinkPluginInstanceGUI(const QString &sinkId, QWidget **widget, DeviceUISet *deviceUISet)
static const QString m_deviceTypeID
static const PluginDescriptor m_pluginDescriptor
#define SOAPYSDROUTPUT_DEVICE_TYPE_ID
void registerSampleSink(const QString &sinkName, PluginInterface *plugin)
virtual DeviceSampleSink * createSampleSinkPluginInstance(const QString &sinkId, DeviceAPI *deviceAPI)
static DeviceSoapySDR & instance()
const std::vector< DeviceSoapySDRScan::SoapySDRDeviceEnum > & getDevicesEnumeration() const
Fixed< IntType, IntBits > arg(const std::complex< Fixed< IntType, IntBits > > &val)
SoapySDROutputPlugin(QObject *parent=0)
Exposes a single output stream that can be one of the streams of a physical device.
void initPlugin(PluginAPI *pluginAPI)
static const QString m_hardwareID
const PluginDescriptor & getPluginDescriptor() const
virtual SamplingDevices enumSampleSinks()
QList< SamplingDevice > SamplingDevices