mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-01 13:47:01 -04:00
RxTx semantic move: renamed FileSink to FileRecord
This commit is contained in:
@@ -24,8 +24,10 @@
|
||||
#include "gui/glspectrum.h"
|
||||
#include "dsp/dspengine.h"
|
||||
#include "dsp/dspcommands.h"
|
||||
#include "dsp/filesink.h"
|
||||
#include "hackrfgui.h"
|
||||
|
||||
#include <dsp/filerecord.h>
|
||||
|
||||
#include "ui_hackrfgui.h"
|
||||
|
||||
HackRFGui::HackRFGui(DeviceAPI *deviceAPI, QWidget* parent) :
|
||||
@@ -55,7 +57,7 @@ HackRFGui::HackRFGui(DeviceAPI *deviceAPI, QWidget* parent) :
|
||||
|
||||
char recFileNameCStr[30];
|
||||
sprintf(recFileNameCStr, "test_%d.sdriq", m_deviceAPI->getDeviceUID());
|
||||
m_fileSink = new FileSink(std::string(recFileNameCStr));
|
||||
m_fileSink = new FileRecord(std::string(recFileNameCStr));
|
||||
m_deviceAPI->addSink(m_fileSink);
|
||||
|
||||
connect(m_deviceAPI->getDeviceOutputMessageQueue(), SIGNAL(messageEnqueued()), this, SLOT(handleDSPMessages()), Qt::QueuedConnection);
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
#define HACKRF_MAX_DEVICE (32)
|
||||
|
||||
class DeviceAPI;
|
||||
class FileSink;
|
||||
class FileRecord;
|
||||
|
||||
namespace Ui {
|
||||
class HackRFGui;
|
||||
@@ -65,7 +65,7 @@ private:
|
||||
QTimer m_updateTimer;
|
||||
QTimer m_statusTimer;
|
||||
SampleSource* m_sampleSource;
|
||||
FileSink *m_fileSink; //!< File sink to record device I/Q output
|
||||
FileRecord *m_fileSink; //!< File sink to record device I/Q output
|
||||
int m_sampleRate;
|
||||
quint64 m_deviceCenterFrequency; //!< Center frequency in device
|
||||
int m_lastEngineState;
|
||||
|
||||
Reference in New Issue
Block a user