mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-04 06:54:39 -04:00
BladerRF2 input support. Transfer thread ownership before closing the source if it has the allocated thread
This commit is contained in:
@@ -101,7 +101,7 @@ public:
|
||||
virtual bool start();
|
||||
virtual void stop();
|
||||
BladeRF2InputThread *getThread() { return m_thread; }
|
||||
void resetThread() { m_thread = 0; }
|
||||
void setThread(BladeRF2InputThread *thread) { m_thread = thread; }
|
||||
|
||||
virtual QByteArray serialize() const;
|
||||
virtual bool deserialize(const QByteArray& data);
|
||||
@@ -155,6 +155,7 @@ private:
|
||||
bool openDevice();
|
||||
void closeDevice();
|
||||
BladeRF2InputThread *findThread();
|
||||
void moveThreadToBuddy();
|
||||
bool applySettings(const BladeRF2InputSettings& settings, bool force = false);
|
||||
void webapiFormatDeviceSettings(SWGSDRangel::SWGDeviceSettings& response, const BladeRF2InputSettings& settings);
|
||||
void webapiFormatDeviceReport(SWGSDRangel::SWGDeviceReport& response);
|
||||
|
||||
Reference in New Issue
Block a user