mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-04 23:14:47 -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:
@@ -16,6 +16,7 @@ class AudioFifo;
|
||||
class MessageQueue;
|
||||
class MainWindow;
|
||||
class ChannelMarker;
|
||||
class ThreadedSampleSink;
|
||||
class PluginGUI;
|
||||
|
||||
class SDRANGEL_API PluginAPI : public QObject {
|
||||
@@ -39,6 +40,10 @@ public:
|
||||
// Sample Source stuff
|
||||
void registerSampleSource(const QString& sourceName, PluginInterface* plugin);
|
||||
|
||||
// Device engine stuff
|
||||
void addThreadedSink(ThreadedSampleSink* sink);
|
||||
void removeThreadedSink(ThreadedSampleSink* sink);
|
||||
|
||||
// R/O access to main window
|
||||
const MainWindow* getMainWindow() const { return m_mainWindow; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user