1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-25 09:18:54 -05:00

another one

This commit is contained in:
CRD716 2022-10-27 22:44:41 -05:00 committed by GitHub
parent ad705db1f7
commit 9ee0c057ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -133,7 +133,7 @@ bool WavFileRecord::startRecording()
m_sampleFile.open(m_currentFileName.toStdString().c_str(), std::ios::binary); m_sampleFile.open(m_currentFileName.toStdString().c_str(), std::ios::binary);
if (!m_sampleFile.is_open()) if (!m_sampleFile.is_open())
{ {
qWarning() << "WavFileRecord::startRecording: failed to open file: " << m_curentFileName; qWarning() << "WavFileRecord::startRecording: failed to open file: " << m_currentFileName;
return false; return false;
} }
m_recordOn = true; m_recordOn = true;
@ -161,7 +161,7 @@ bool WavFileRecord::stopRecording()
m_recordStart = false; m_recordStart = false;
if (m_sampleFile.bad()) if (m_sampleFile.bad())
{ {
qWarning() << "WavFileRecord::stopRecording: an error occurred while writing to " << m_curentFileName; qWarning() << "WavFileRecord::stopRecording: an error occurred while writing to " << m_currentFileName;
return false; return false;
} }
} }