From cf39ea548b445e78479200d778922a3ad50bea4d Mon Sep 17 00:00:00 2001 From: f4exb Date: Tue, 5 Sep 2017 00:49:59 +0200 Subject: [PATCH] PlutoSDR input: removed FileRecord references from the GUI --- plugins/samplesource/plutosdrinput/plutosdrinputgui.cpp | 6 ------ plugins/samplesource/plutosdrinput/plutosdrinputgui.h | 2 -- 2 files changed, 8 deletions(-) diff --git a/plugins/samplesource/plutosdrinput/plutosdrinputgui.cpp b/plugins/samplesource/plutosdrinput/plutosdrinputgui.cpp index 3fb698d99..5d9e3fdca 100644 --- a/plugins/samplesource/plutosdrinput/plutosdrinputgui.cpp +++ b/plugins/samplesource/plutosdrinput/plutosdrinputgui.cpp @@ -16,7 +16,6 @@ #include -#include "dsp/filerecord.h" #include "device/devicesourceapi.h" #include "ui_plutosdrinputgui.h" #include "plutosdrinputgui.h" @@ -27,15 +26,10 @@ PlutoSDRInputGui::PlutoSDRInputGui(DeviceSourceAPI *deviceAPI, QWidget* parent) m_deviceAPI(deviceAPI), m_settings() { - char recFileNameCStr[30]; - sprintf(recFileNameCStr, "test_%d.sdriq", m_deviceAPI->getDeviceUID()); - m_fileSink = new FileRecord(std::string(recFileNameCStr)); - m_deviceAPI->addSink(m_fileSink); } PlutoSDRInputGui::~PlutoSDRInputGui() { - delete m_fileSink; delete ui; } diff --git a/plugins/samplesource/plutosdrinput/plutosdrinputgui.h b/plugins/samplesource/plutosdrinput/plutosdrinputgui.h index 05f1f4e4a..b312705b4 100644 --- a/plugins/samplesource/plutosdrinput/plutosdrinputgui.h +++ b/plugins/samplesource/plutosdrinput/plutosdrinputgui.h @@ -24,7 +24,6 @@ #include "plutosdrinputsettings.h" class DeviceSourceAPI; -class FileRecord; namespace Ui { class PlutoSDRInputGUI; @@ -51,7 +50,6 @@ private: Ui::PlutoSDRInputGUI* ui; DeviceSourceAPI* m_deviceAPI; PlutoSDRInputSettings m_settings; - FileRecord *m_fileSink; //!< File sink to record device I/Q output }; #endif /* PLUGINS_SAMPLESOURCE_PLUTOSDRINPUT_PLUTOSDRINPUTGUI_H_ */