1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-01 21:54:55 -04:00

Renamed FileSink plugin to FileOutput

This commit is contained in:
f4exb
2020-08-04 00:29:15 +02:00
parent 1870b35832
commit 44a62ea505
24 changed files with 311 additions and 312 deletions
+1 -1
View File
@@ -165,7 +165,7 @@ void FileInput::seekFileStream(int seekMillis)
{
quint64 seekPoint = ((m_recordLength * seekMillis) / 1000) * m_sampleRate;
m_fileInputWorker->setSamplesCount(seekPoint);
seekPoint *= (m_sampleSize == 24 ? 8 : 4); // + sizeof(FileSink::Header)
seekPoint *= (m_sampleSize == 24 ? 8 : 4); // + sizeof(FileRecord::Header)
m_ifstream.clear();
m_ifstream.seekg(seekPoint + sizeof(FileRecord::Header), std::ios::beg);
}