mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-02 06:04:39 -04:00
Multi device support: access DSPDeviceEngine from the channel plugins using the plubgin API and not a direct access
This commit is contained in:
@@ -59,6 +59,16 @@ void PluginAPI::registerSampleSource(const QString& sourceName, PluginInterface*
|
||||
m_pluginManager->registerSampleSource(sourceName, plugin);
|
||||
}
|
||||
|
||||
void PluginAPI::addThreadedSink(ThreadedSampleSink* sink)
|
||||
{
|
||||
m_pluginManager->addThreadedSink(sink);
|
||||
}
|
||||
|
||||
void PluginAPI::removeThreadedSink(ThreadedSampleSink* sink)
|
||||
{
|
||||
m_pluginManager->removeThreadedSink(sink);
|
||||
}
|
||||
|
||||
PluginAPI::PluginAPI(PluginManager* pluginManager, MainWindow* mainWindow) :
|
||||
QObject(mainWindow),
|
||||
m_pluginManager(pluginManager),
|
||||
|
||||
Reference in New Issue
Block a user