PlutoSDR in[ut: correction of compilation errors

This commit is contained in:
f4exb 2017-09-04 22:23:39 +02:00
parent 5a27ca7746
commit 464f356340
3 changed files with 9 additions and 0 deletions

View File

@ -14,7 +14,11 @@
// along with this program. If not, see <http://www.gnu.org/licenses/>. // // along with this program. If not, see <http://www.gnu.org/licenses/>. //
/////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
#include <QDebug>
#include "dsp/filerecord.h" #include "dsp/filerecord.h"
#include "device/devicesourceapi.h"
#include "device/devicesinkapi.h"
#include "plutosdrinput.h" #include "plutosdrinput.h"
@ -41,6 +45,7 @@ PlutoSDRInput::~PlutoSDRInput()
bool PlutoSDRInput::start() bool PlutoSDRInput::start()
{ {
return false;
} }
void PlutoSDRInput::stop() void PlutoSDRInput::stop()
@ -74,6 +79,8 @@ bool PlutoSDRInput::handleMessage(const Message& message)
} else { } else {
m_fileSink->stopRecording(); m_fileSink->stopRecording();
} }
return true;
} }
else else
{ {

View File

@ -20,6 +20,7 @@
#include <QString> #include <QString>
#include <dsp/devicesamplesource.h> #include <dsp/devicesamplesource.h>
#include "util/message.h"
#include "plutosdrinputsettings.h" #include "plutosdrinputsettings.h"

View File

@ -18,6 +18,7 @@
#define _PLUTOSDR_PLUTOSDRINPUTSETTINGS_H_ #define _PLUTOSDR_PLUTOSDRINPUTSETTINGS_H_
#include <QtGlobal> #include <QtGlobal>
#include <stdint.h>
struct PlutoSDRInputSettings { struct PlutoSDRInputSettings {
typedef enum { typedef enum {