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

Plugin interface: simplify createRxChannel

This commit is contained in:
f4exb
2017-12-23 09:54:42 +01:00
parent a72200d2d0
commit 703aa21159
41 changed files with 134 additions and 209 deletions
+2 -2
View File
@@ -61,7 +61,7 @@ PluginInstanceGUI* AMModPlugin::createTxChannelGUI(const QString& channelName, D
}
}
BasebandSampleSource* AMModPlugin::createTxChannel(const QString& channelName, DeviceSinkAPI *deviceAPI)
BasebandSampleSource* AMModPlugin::createTxChannelBS(const QString& channelName, DeviceSinkAPI *deviceAPI)
{
if(channelName == AMMod::m_channelIdURI)
{
@@ -72,7 +72,7 @@ BasebandSampleSource* AMModPlugin::createTxChannel(const QString& channelName, D
}
}
ChannelSourceAPI* AMModPlugin::createTxChannel(DeviceSinkAPI *deviceAPI)
ChannelSourceAPI* AMModPlugin::createTxChannelCS(DeviceSinkAPI *deviceAPI)
{
return new AMMod(deviceAPI);
}