1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-02 06:04:39 -04:00

Plugin interface: simplify createTxChannel

This commit is contained in:
f4exb
2017-12-23 10:16:27 +01:00
parent 703aa21159
commit 0f7faff299
15 changed files with 21 additions and 61 deletions
+1 -2
View File
@@ -193,8 +193,7 @@ void PluginManager::createTxChannelInstance(int channelPluginIndex, DeviceUISet
if (channelPluginIndex < m_txChannelRegistrations.size())
{
PluginInterface *pluginInterface = m_txChannelRegistrations[channelPluginIndex].m_plugin;
BasebandSampleSource *txChannel = pluginInterface->createTxChannelBS(
m_txChannelRegistrations[channelPluginIndex].m_channelIdURI, deviceAPI);
BasebandSampleSource *txChannel = pluginInterface->createTxChannelBS(deviceAPI);
pluginInterface->createTxChannelGUI(m_txChannelRegistrations[channelPluginIndex].m_channelIdURI, deviceUISet, txChannel);
}
}