1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-26 17:58:43 -05:00

PlutoSDR input: removed FileRecord references from the GUI

This commit is contained in:
f4exb 2017-09-05 00:49:59 +02:00
parent a1d2eabeb8
commit cf39ea548b
2 changed files with 0 additions and 8 deletions

View File

@ -16,7 +16,6 @@
#include <stdio.h>
#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;
}

View File

@ -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_ */