32 QString(
"SoapySDR Input"),
34 QString(
"(c) Edouard Griffiths, F4EXB"),
35 QString(
"https://github.com/f4exb/sdrangel"),
37 QString(
"https://github.com/f4exb/sdrangel")
62 const std::vector<DeviceSoapySDRScan::SoapySDRDeviceEnum>& devicesEnumeration = deviceSoapySDR.
getDevicesEnumeration();
63 qDebug(
"SoapySDRInputPlugin::enumSampleSources: %lu SoapySDR devices. Enumerate these with Rx channel(s):", devicesEnumeration.size());
64 std::vector<DeviceSoapySDRScan::SoapySDRDeviceEnum>::const_iterator it = devicesEnumeration.begin();
66 for (
int idev = 0; it != devicesEnumeration.end(); ++it, idev++)
68 unsigned int nbRxChannels = it->m_nbRx;
70 for (
unsigned int ichan = 0; ichan < nbRxChannels; ichan++)
72 QString displayedName(QString(
"SoapySDR[%1:%2] %3").
arg(idev).
arg(ichan).
arg(it->m_label));
73 QString serial(QString(
"%1-%2").
arg(it->m_driverName).arg(it->m_sequence));
74 qDebug(
"SoapySDRInputPlugin::enumSampleSources: device #%d (%s) serial %s channel %u",
75 idev, it->m_label.toStdString().c_str(), serial.toStdString().c_str(), ichan);
93 const QString& sourceId,
104 const QString& sourceId,
static DeviceSoapySDR & instance()
void registerSampleSource(const QString &sourceName, PluginInterface *plugin)
const std::vector< DeviceSoapySDRScan::SoapySDRDeviceEnum > & getDevicesEnumeration() const
Fixed< IntType, IntBits > arg(const std::complex< Fixed< IntType, IntBits > > &val)
Exposes a single input stream that can be one of the streams of a physical device.
QList< SamplingDevice > SamplingDevices