mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-25 09:18:54 -05:00
another one
This commit is contained in:
parent
ad705db1f7
commit
9ee0c057ad
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user