From 7dcf9831f2403c20e80a7c97cdaa04b7e15f8226 Mon Sep 17 00:00:00 2001 From: xenakios Date: Wed, 27 Dec 2017 17:43:36 +0200 Subject: [PATCH] Try zeroing even more buffers, but no help... --- Source/PS_Source/StretchSource.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Source/PS_Source/StretchSource.cpp b/Source/PS_Source/StretchSource.cpp index 6e521f7..4acb06a 100644 --- a/Source/PS_Source/StretchSource.cpp +++ b/Source/PS_Source/StretchSource.cpp @@ -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) @@ -445,8 +445,11 @@ void StretchAudioSource::initObjects() m_inbufs.resize(m_num_outchans); m_file_inbuf.setSize(m_num_outchans, 3 * inbufsize); int poolsize = m_stretchers[0]->get_max_bufsize(); - for (int i = 0; i