mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-01 21:54:55 -04:00
Multi device support: pass plugin API to devices input handlers to give access to DSP device engine methods
This commit is contained in:
@@ -28,6 +28,7 @@ struct fcd_buffer {
|
||||
std::size_t length;
|
||||
};
|
||||
|
||||
class PluginAPI;
|
||||
class FCDProPlusThread;
|
||||
|
||||
class FCDProPlusInput : public SampleSource {
|
||||
@@ -52,7 +53,7 @@ public:
|
||||
{ }
|
||||
};
|
||||
|
||||
FCDProPlusInput();
|
||||
FCDProPlusInput(PluginAPI *pluginAPI);
|
||||
virtual ~FCDProPlusInput();
|
||||
|
||||
virtual bool init(const Message& cmd);
|
||||
@@ -77,6 +78,7 @@ public:
|
||||
private:
|
||||
void applySettings(const FCDProPlusSettings& settings, bool force);
|
||||
|
||||
PluginAPI *m_pluginApi;
|
||||
hid_device *m_dev;
|
||||
QMutex m_mutex;
|
||||
FCDProPlusSettings m_settings;
|
||||
|
||||
Reference in New Issue
Block a user