mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-27 02:09:14 -05:00
PlutoSDR input: removed FileRecord references from the GUI
This commit is contained in:
parent
a1d2eabeb8
commit
cf39ea548b
@ -16,7 +16,6 @@
|
|||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include "dsp/filerecord.h"
|
|
||||||
#include "device/devicesourceapi.h"
|
#include "device/devicesourceapi.h"
|
||||||
#include "ui_plutosdrinputgui.h"
|
#include "ui_plutosdrinputgui.h"
|
||||||
#include "plutosdrinputgui.h"
|
#include "plutosdrinputgui.h"
|
||||||
@ -27,15 +26,10 @@ PlutoSDRInputGui::PlutoSDRInputGui(DeviceSourceAPI *deviceAPI, QWidget* parent)
|
|||||||
m_deviceAPI(deviceAPI),
|
m_deviceAPI(deviceAPI),
|
||||||
m_settings()
|
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()
|
PlutoSDRInputGui::~PlutoSDRInputGui()
|
||||||
{
|
{
|
||||||
delete m_fileSink;
|
|
||||||
delete ui;
|
delete ui;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -24,7 +24,6 @@
|
|||||||
#include "plutosdrinputsettings.h"
|
#include "plutosdrinputsettings.h"
|
||||||
|
|
||||||
class DeviceSourceAPI;
|
class DeviceSourceAPI;
|
||||||
class FileRecord;
|
|
||||||
|
|
||||||
namespace Ui {
|
namespace Ui {
|
||||||
class PlutoSDRInputGUI;
|
class PlutoSDRInputGUI;
|
||||||
@ -51,7 +50,6 @@ private:
|
|||||||
Ui::PlutoSDRInputGUI* ui;
|
Ui::PlutoSDRInputGUI* ui;
|
||||||
DeviceSourceAPI* m_deviceAPI;
|
DeviceSourceAPI* m_deviceAPI;
|
||||||
PlutoSDRInputSettings m_settings;
|
PlutoSDRInputSettings m_settings;
|
||||||
FileRecord *m_fileSink; //!< File sink to record device I/Q output
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* PLUGINS_SAMPLESOURCE_PLUTOSDRINPUT_PLUTOSDRINPUTGUI_H_ */
|
#endif /* PLUGINS_SAMPLESOURCE_PLUTOSDRINPUT_PLUTOSDRINPUTGUI_H_ */
|
||||||
|
Loading…
Reference in New Issue
Block a user