1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-03 06:24:48 -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:
f4exb
2016-05-12 23:35:30 +02:00
parent 7b0e6fd42e
commit 7707858d57
25 changed files with 62 additions and 45 deletions
+3 -1
View File
@@ -29,6 +29,7 @@ struct fcd_buffer {
std::size_t length;
};
class PluginAPI;
class FCDProThread;
class FCDProInput : public SampleSource {
@@ -53,7 +54,7 @@ public:
{ }
};
FCDProInput();
FCDProInput(PluginAPI *pluginAPI);
virtual ~FCDProInput();
virtual bool init(const Message& cmd);
@@ -89,6 +90,7 @@ private:
void applySettings(const FCDProSettings& settings, bool force);
void set_lo_ppm();
PluginAPI *m_pluginAPI;
hid_device *m_dev;
QMutex m_mutex;
FCDProSettings m_settings;