Restore original behaviour of pre-fill/start-skip
This commit is contained in:
@@ -1152,12 +1152,10 @@ RubberBandStretcher::Impl::writeOutput(RingBuffer<float> &to, float *from, size_
|
||||
// samples, because the first chunk is centred on the start of the
|
||||
// output. In RT mode we didn't apply any pre-padding in
|
||||
// configure(), so we don't want to remove any here.
|
||||
//!!!
|
||||
|
||||
size_t startSkip = 0;
|
||||
if (!m_realtime) {
|
||||
//!!! lock down the latency to this initial value in RT mode
|
||||
startSkip = lrintf((m_sWindowSize/2) / m_pitchScale);
|
||||
// startSkip = m_sWindowSize/2;
|
||||
}
|
||||
|
||||
if (outCount > startSkip) {
|
||||
|
||||
Reference in New Issue
Block a user