Browse Source

wavfilerecord.cpp typo

chirpmodem-v8.0.0
CRD716 4 years ago committed by GitHub
parent
commit
9ad30bf040
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      sdrbase/dsp/wavfilerecord.cpp

4
sdrbase/dsp/wavfilerecord.cpp

@ -129,8 +129,8 @@ bool WavFileRecord::startRecording() @@ -129,8 +129,8 @@ bool WavFileRecord::startRecording()
if (!m_sampleFile.is_open())
{
qDebug() << "WavFileRecord::startRecording";
m_curentFileName = QString("%1.%2.wav").arg(m_fileBase).arg(QDateTime::currentDateTimeUtc().toString("yyyy-MM-ddTHH_mm_ss_zzz"));
m_sampleFile.open(m_curentFileName.toStdString().c_str(), std::ios::binary);
m_currentFileName = QString("%1.%2.wav").arg(m_fileBase).arg(QDateTime::currentDateTimeUtc().toString("yyyy-MM-ddTHH_mm_ss_zzz"));
m_sampleFile.open(m_currentFileName.toStdString().c_str(), std::ios::binary);
if (!m_sampleFile.is_open())
{
qWarning() << "WavFileRecord::startRecording: failed to open file: " << m_curentFileName;

Loading…
Cancel
Save