Added method to sound source to get playback position percent. Avoid seeking sound source when changing FFT size. Readme change.
This commit is contained in:
@ -399,7 +399,8 @@ void StretchAudioSource::initObjects()
|
||||
{
|
||||
ScopedLock locker(m_cs);
|
||||
m_inputfile->setActiveRange(m_playrange);
|
||||
m_inputfile->seek(m_playrange.getStart());
|
||||
if (m_inputfile->getActiveRange().contains(m_inputfile->getCurrentPositionPercent())==false)
|
||||
m_inputfile->seek(m_playrange.getStart());
|
||||
|
||||
m_firstbuffer = true;
|
||||
if (m_stretchoutringbuf.getSize() < m_num_outchans*m_process_fftsize)
|
||||
|
Reference in New Issue
Block a user