diff --git a/src/StretcherImpl.cpp b/src/StretcherImpl.cpp index 51da691..c069a5f 100644 --- a/src/StretcherImpl.cpp +++ b/src/StretcherImpl.cpp @@ -78,6 +78,7 @@ RubberBandStretcher::Impl::Impl(size_t sampleRate, m_lastProcessPhaseResetDf(16), m_phaseResetAudioCurve(0), m_stretchAudioCurve(0), + m_silentAudioCurve(0), m_stretchCalculator(0), m_freq0(600), m_freq1(1200), diff --git a/src/ladspa/RubberBandPitchShifter.cpp b/src/ladspa/RubberBandPitchShifter.cpp index 4c41721..d28b086 100644 --- a/src/ladspa/RubberBandPitchShifter.cpp +++ b/src/ladspa/RubberBandPitchShifter.cpp @@ -213,9 +213,7 @@ RubberBandPitchShifter::RubberBandPitchShifter(int sampleRate, size_t channels) m_prevRatio(1.0), m_currentCrispness(-1), m_currentFormant(false), -// m_extraLatency(8192), //!!! this should be at least the maximum possible displacement from linear at input rates, divided by the pitch scale factor. It could be very large -// m_extraLatency(512), //!!! this should be at least the maximum possible displacement from linear at input rates, divided by the pitch scale factor. It could be very large - m_extraLatency(128), //!!! this should be at least the maximum possible displacement from linear at input rates, divided by the pitch scale factor. It could be very large + m_extraLatency(128), m_stretcher(new RubberBandStretcher (sampleRate, channels, RubberBandStretcher::OptionProcessRealTime)),