mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-23 01:55:48 -05:00
SigMFFileInput: fixed acceleration. For #1699
This commit is contained in:
parent
5500ba4d17
commit
fce03a6494
@ -194,7 +194,7 @@ void SigMFFileInputWorker::tick()
|
||||
if (throttlems != m_throttlems)
|
||||
{
|
||||
m_throttlems = throttlems;
|
||||
m_chunksize = 2 * m_samplebytes * ((m_samplerate * (m_throttlems+(m_throttleToggle ? 1 : 0))) / 1000);
|
||||
m_chunksize = 2 * m_samplebytes * ((m_samplerate * m_accelerationFactor * (m_throttlems+(m_throttleToggle ? 1 : 0))) / 1000);
|
||||
m_throttleToggle = !m_throttleToggle;
|
||||
setBuffers(m_chunksize);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user