mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-05-29 13:32:26 -04:00
FreeDV modulator: fixed file total and current times
This commit is contained in:
parent
9232f67668
commit
990863d48b
@ -539,7 +539,6 @@ void FreeDVMod::openFileStream()
|
|||||||
m_fileSize = m_ifstream.tellg();
|
m_fileSize = m_ifstream.tellg();
|
||||||
m_ifstream.seekg(0,std::ios_base::beg);
|
m_ifstream.seekg(0,std::ios_base::beg);
|
||||||
|
|
||||||
m_inputSampleRate = 48000; // fixed rate
|
|
||||||
m_recordLength = m_fileSize / (sizeof(Real) * m_inputSampleRate);
|
m_recordLength = m_fileSize / (sizeof(Real) * m_inputSampleRate);
|
||||||
|
|
||||||
qDebug() << "FreeDVMod::openFileStream: " << m_fileName.toStdString().c_str()
|
qDebug() << "FreeDVMod::openFileStream: " << m_fileName.toStdString().c_str()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user