Try zeroing even more buffers, but no help...

This commit is contained in:
xenakios 2017-12-27 17:43:36 +02:00
parent a6ec40904c
commit 7dcf9831f2

View File

@ -407,7 +407,7 @@ void StretchAudioSource::initObjects()
{
ScopedLock locker(m_cs);
m_inputfile->setActiveRange(m_playrange);
m_inputfile->seek(m_seekpos);
m_inputfile->seek(m_playrange.getStart());
m_firstbuffer = true;
if (m_stretchoutringbuf.getSize() < m_num_outchans*m_process_fftsize)
@ -446,7 +446,10 @@ void StretchAudioSource::initObjects()
m_file_inbuf.setSize(m_num_outchans, 3 * inbufsize);
int poolsize = m_stretchers[0]->get_max_bufsize();
for (int i = 0; i < m_num_outchans; ++i)
{
m_inbufs[i].resize(poolsize);
fill_container(m_inbufs[i],0.0f);
}
}