1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-07-25 11:34:09 -04:00

RxTx semantic move: updated debug message and displayed class names

This commit is contained in:
f4exb
2016-10-08 10:35:07 +02:00
parent 008ee56252
commit 5168fbf416
5 changed files with 62 additions and 62 deletions
+5 -5
View File
@@ -26,7 +26,7 @@ FileRecord::FileRecord(const std::string& filename) :
m_recordStart(false),
m_byteCount(0)
{
setObjectName("FileSink");
setObjectName("FileRecord");
}
FileRecord::~FileRecord()
@@ -74,7 +74,7 @@ void FileRecord::startRecording()
{
if (!m_sampleFile.is_open())
{
qDebug() << "FileSink::startRecording";
qDebug() << "FileRecord::startRecording";
m_sampleFile.open(m_fileName.c_str(), std::ios::binary);
m_recordOn = true;
m_recordStart = true;
@@ -86,7 +86,7 @@ void FileRecord::stopRecording()
{
if (m_sampleFile.is_open())
{
qDebug() << "FileSink::stopRecording";
qDebug() << "FileRecord::stopRecording";
m_sampleFile.close();
m_recordOn = false;
m_recordStart = false;
@@ -95,14 +95,14 @@ void FileRecord::stopRecording()
bool FileRecord::handleMessage(const Message& message)
{
qDebug() << "FileSink::handleMessage";
qDebug() << "FileRecord::handleMessage";
if (DSPSignalNotification::match(message))
{
DSPSignalNotification& notif = (DSPSignalNotification&) message;
m_sampleRate = notif.getSampleRate();
m_centerFrequency = notif.getCenterFrequency();
qDebug() << "FileSink::handleMessage: DSPSignalNotification: m_inputSampleRate: " << m_sampleRate
qDebug() << "FileRecord::handleMessage: DSPSignalNotification: m_inputSampleRate: " << m_sampleRate
<< " m_centerFrequency: " << m_centerFrequency;
return true;
}