mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-07 16:34:45 -04:00
FileSource: calculate file record length down to the microsecond. Implements #614
This commit is contained in:
@@ -464,7 +464,7 @@ void FileSource::webapiFormatChannelReport(SWGSDRangel::SWGChannelReport& respon
|
||||
quint64 samplesCount = m_basebandSource->getSamplesCount();
|
||||
uint32_t fileSampleRate = m_basebandSource->getFileSampleRate();
|
||||
quint64 startingTimeStamp = m_basebandSource->getStartingTimeStamp();
|
||||
quint64 fileRecordLength = m_basebandSource->getRecordLength();
|
||||
quint64 fileRecordLength = m_basebandSource->getRecordLengthMuSec() / 1000000UL;
|
||||
quint32 fileSampleSize = m_basebandSource->getFileSampleSize();
|
||||
|
||||
if (fileSampleRate > 0)
|
||||
|
||||
Reference in New Issue
Block a user