mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-07-28 21:14:15 -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* ATVModPlugin::createTxChannel(const QString& channelName,
|
||||
}
|
||||
}
|
||||
|
||||
void ATVModPlugin::createTxChannel(ChannelSourceAPI **channelSourceAPI, const QString& channelName, DeviceSinkAPI *deviceAPI)
|
||||
ChannelSourceAPI* ATVModPlugin::createTxChannel(DeviceSinkAPI *deviceAPI)
|
||||
{
|
||||
if(channelName == ATVMod::m_channelIdURI) {
|
||||
*channelSourceAPI = new ATVMod(deviceAPI);
|
||||
} else {
|
||||
*channelSourceAPI = 0;
|
||||
}
|
||||
return new ATVMod(deviceAPI);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user