1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-07 16:34:45 -04:00

SigMF recorder: added possiblity to have a time shift at record start

This commit is contained in:
f4exb
2020-07-17 05:30:15 +02:00
parent 1669920abe
commit 2fa56d7736
2 changed files with 4 additions and 1 deletions
+2 -1
View File
@@ -35,6 +35,7 @@ SigMFFileRecord::SigMFFileRecord() :
m_fileName("test"),
m_sampleRate(0),
m_centerFrequency(0),
m_msShift(0),
m_recordOn(false),
m_recordStart(true),
m_sampleStart(0),
@@ -126,7 +127,7 @@ void SigMFFileRecord::startRecording()
qDebug("SigMFFileRecord::startRecording: start new capture");
}
m_captureStartDT = QDateTime::currentDateTimeUtc();
m_captureStartDT = QDateTime::currentDateTimeUtc().addMSecs(m_msShift);
m_recordOn = true;
m_sampleCount = 0;
}