1
0
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:
f4exb
2016-05-11 18:29:01 +02:00
parent 33e5e781c0
commit 66daf9fa4e
14 changed files with 95 additions and 65 deletions
+5
View File
@@ -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; }