Another attempt at getting the play cursor to update more often. Looks like getting somewhere with that but needs more work.

This commit is contained in:
xenakios
2018-09-13 13:47:19 +03:00
parent 9c5141a16b
commit cabf6de7c3
4 changed files with 27 additions and 6 deletions

View File

@ -321,6 +321,7 @@ void StretchAudioSource::getNextAudioBlock(const AudioSourceChannelInfo & buffer
int readed = 0;
if (readsize != 0)
{
m_last_filepos = m_inputfile->getCurrentPosition();
readed = m_inputfile->readNextBlock(m_file_inbuf, readsize, m_num_outchans);
}
if (m_rand_count % (int)m_free_filter_envelope->m_transform_y_random_rate == 0)
@ -362,7 +363,7 @@ void StretchAudioSource::getNextAudioBlock(const AudioSourceChannelInfo & buffer
}
}
}
};