mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-13 03:41:47 -05:00
Tx ph.1: Fixed sample sink plugin registration
This commit is contained in:
parent
adbc4f38dd
commit
239d67b2aa
@ -46,7 +46,7 @@ const PluginDescriptor& FileSinkPlugin::getPluginDescriptor() const
|
||||
|
||||
void FileSinkPlugin::initPlugin(PluginAPI* pluginAPI)
|
||||
{
|
||||
pluginAPI->registerSampleSource(m_deviceTypeID, this);
|
||||
pluginAPI->registerSampleSink(m_deviceTypeID, this);
|
||||
}
|
||||
|
||||
PluginInterface::SamplingDevices FileSinkPlugin::enumSampleSinks()
|
||||
|
@ -30,7 +30,7 @@ void PluginAPI::registerTxChannel(const QString& channelName, PluginInterface* p
|
||||
|
||||
void PluginAPI::registerSampleSink(const QString& sinkName, PluginInterface* plugin)
|
||||
{
|
||||
m_pluginManager->registerSampleSource(sinkName, plugin);
|
||||
m_pluginManager->registerSampleSink(sinkName, plugin);
|
||||
}
|
||||
|
||||
PluginAPI::ChannelRegistrations *PluginAPI::getTxChannelRegistrations()
|
||||
|
Loading…
Reference in New Issue
Block a user