1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-07 16:34:45 -04:00

SoapySDR support: input: open and close

This commit is contained in:
f4exb
2018-10-30 01:58:39 +01:00
parent d8b82ddecd
commit 124af5a7b4
6 changed files with 135 additions and 3 deletions
@@ -21,6 +21,7 @@
#include <QByteArray>
#include <stdint.h>
#include "soapysdr/devicesoapysdrshared.h"
#include "dsp/devicesamplesource.h"
class DeviceSourceAPI;
@@ -48,7 +49,13 @@ public:
virtual bool handleMessage(const Message& message);
private:
DeviceSourceAPI *m_deviceAPI;
DeviceSoapySDRShared m_deviceShared;
QString m_deviceDescription;
bool m_running;
bool openDevice();
void closeDevice();
};