mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-07 16:34:45 -04:00
Server: Web API: /sdrangel/deviceset/{deviceSetIndex}/channel POST implementation and rework in the PluginInterface
This commit is contained in:
@@ -72,13 +72,9 @@ BasebandSampleSource* SSBModPlugin::createTxChannel(const QString& channelName,
|
||||
}
|
||||
}
|
||||
|
||||
void SSBModPlugin::createTxChannel(ChannelSourceAPI **channelSourceAPI, const QString& channelName, DeviceSinkAPI *deviceAPI)
|
||||
ChannelSourceAPI* SSBModPlugin::createTxChannel(DeviceSinkAPI *deviceAPI)
|
||||
{
|
||||
if(channelName == SSBMod::m_channelIdURI) {
|
||||
*channelSourceAPI = new SSBMod(deviceAPI);
|
||||
} else {
|
||||
*channelSourceAPI = 0;
|
||||
}
|
||||
return new SSBMod(deviceAPI);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user