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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user