Skip to content

Commit

Permalink
SigMFFileInput: fixed acceleration. For f4exb#1699
Browse files Browse the repository at this point in the history
  • Loading branch information
f4exb committed Jun 3, 2023
1 parent 5500ba4 commit fce03a6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit fce03a6

Please sign in to comment.