1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-07 08:24:43 -04:00

Plugin interface: use enum for single Rx or single Tx type and added the any type

This commit is contained in:
f4exb
2019-05-07 18:58:20 +02:00
parent fcc8817f62
commit 7ea814c180
30 changed files with 39 additions and 32 deletions
+1 -1
View File
@@ -107,7 +107,7 @@ PluginInterface::SamplingDevices AirspyPlugin::enumSampleSources()
serial_str,
i,
PluginInterface::SamplingDevice::PhysicalDevice,
true,
PluginInterface::SamplingDevice::StreamSingleRx,
1,
0));
@@ -83,7 +83,7 @@ PluginInterface::SamplingDevices AirspyHFPlugin::enumSampleSources()
serial_str,
i,
PluginInterface::SamplingDevice::PhysicalDevice,
true,
PluginInterface::SamplingDevice::StreamSingleRx,
1,
0));
@@ -94,7 +94,7 @@ PluginInterface::SamplingDevices Blderf1InputPlugin::enumSampleSources()
QString(devinfo[i].serial),
i,
PluginInterface::SamplingDevice::PhysicalDevice,
true,
PluginInterface::SamplingDevice::StreamSingleRx,
1,
0));
}
@@ -98,7 +98,7 @@ PluginInterface::SamplingDevices Blderf2InputPlugin::enumSampleSources()
QString(devinfo[i].serial),
i,
PluginInterface::SamplingDevice::PhysicalDevice,
true,
PluginInterface::SamplingDevice::StreamSingleRx,
nbRxChannels,
j));
}
+1 -1
View File
@@ -71,7 +71,7 @@ PluginInterface::SamplingDevices FCDProPlugin::enumSampleSources()
serialNumber,
i,
PluginInterface::SamplingDevice::PhysicalDevice,
true,
PluginInterface::SamplingDevice::StreamSingleRx,
1,
0));
@@ -73,7 +73,7 @@ PluginInterface::SamplingDevices FCDProPlusPlugin::enumSampleSources()
serialNumber,
i,
PluginInterface::SamplingDevice::PhysicalDevice,
true,
PluginInterface::SamplingDevice::StreamSingleRx,
1,
0));
@@ -66,7 +66,7 @@ PluginInterface::SamplingDevices FileSourcePlugin::enumSampleSources()
QString::null,
0,
PluginInterface::SamplingDevice::BuiltInDevice,
true,
PluginInterface::SamplingDevice::StreamSingleRx,
1,
0));
@@ -104,7 +104,7 @@ PluginInterface::SamplingDevices HackRFInputPlugin::enumSampleSources()
serial_str,
i,
PluginInterface::SamplingDevice::PhysicalDevice,
true,
PluginInterface::SamplingDevice::StreamSingleRx,
1,
0));
@@ -100,7 +100,7 @@ PluginInterface::SamplingDevices LimeSDRInputPlugin::enumSampleSources()
QString(deviceList[i]),
i,
PluginInterface::SamplingDevice::PhysicalDevice,
true,
PluginInterface::SamplingDevice::StreamSingleRx,
limeSDRParams.m_nbRxChannels,
j));
}
@@ -66,7 +66,7 @@ PluginInterface::SamplingDevices LocalInputPlugin::enumSampleSources()
QString::null,
0,
PluginInterface::SamplingDevice::BuiltInDevice,
true,
PluginInterface::SamplingDevice::StreamSingleRx,
1,
0));
@@ -78,7 +78,7 @@ PluginInterface::SamplingDevices PerseusPlugin::enumSampleSources()
serial_str,
i,
PluginInterface::SamplingDevice::PhysicalDevice,
true,
PluginInterface::SamplingDevice::StreamSingleRx,
1,
0));
@@ -78,7 +78,7 @@ PluginInterface::SamplingDevices PlutoSDRInputPlugin::enumSampleSources()
serial_str,
i,
PluginInterface::SamplingDevice::PhysicalDevice,
true,
PluginInterface::SamplingDevice::StreamSingleRx,
1,
0));
@@ -66,7 +66,7 @@ PluginInterface::SamplingDevices RemoteInputPlugin::enumSampleSources()
QString::null,
0,
PluginInterface::SamplingDevice::BuiltInDevice,
true,
PluginInterface::SamplingDevice::StreamSingleRx,
1,
0));
+1 -1
View File
@@ -62,7 +62,7 @@ PluginInterface::SamplingDevices RTLSDRPlugin::enumSampleSources()
QString(serial),
i,
PluginInterface::SamplingDevice::PhysicalDevice,
true,
PluginInterface::SamplingDevice::StreamSingleRx,
1,
0));
}
@@ -83,7 +83,7 @@ PluginInterface::SamplingDevices SDRPlayPlugin::enumSampleSources()
QString(serial),
i,
PluginInterface::SamplingDevice::PhysicalDevice,
true,
PluginInterface::SamplingDevice::StreamSingleRx,
1,
0));
}
@@ -80,7 +80,7 @@ PluginInterface::SamplingDevices SoapySDRInputPlugin::enumSampleSources()
serial,
idev,
PluginInterface::SamplingDevice::PhysicalDevice,
true,
PluginInterface::SamplingDevice::StreamSingleRx,
nbRxChannels,
ichan));
}
@@ -66,7 +66,7 @@ PluginInterface::SamplingDevices TestSourcePlugin::enumSampleSources()
QString::null,
0,
PluginInterface::SamplingDevice::BuiltInDevice,
true,
PluginInterface::SamplingDevice::StreamSingleRx,
1,
0));
@@ -79,7 +79,7 @@ PluginInterface::SamplingDevices XTRXInputPlugin::enumSampleSources()
QString(devs[i].uniqname),
i,
PluginInterface::SamplingDevice::PhysicalDevice,
true,
PluginInterface::SamplingDevice::StreamSingleRx,
XTRXParams.m_nbRxChannels,
j));
}