Should be using HighConsistency in plugin that supports realtime parameter changes

This commit is contained in:
Chris Cannam
2023-03-08 14:39:12 +00:00
parent 782f3b5b5e
commit 48680627d8

View File

@@ -271,7 +271,8 @@ RubberBandR3PitchShifter::RubberBandR3PitchShifter(int sampleRate, size_t channe
m_stretcher(new RubberBandStretcher m_stretcher(new RubberBandStretcher
(sampleRate, channels, (sampleRate, channels,
RubberBandStretcher::OptionProcessRealTime | RubberBandStretcher::OptionProcessRealTime |
RubberBandStretcher::OptionEngineFiner)), RubberBandStretcher::OptionEngineFiner |
RubberBandStretcher::OptionPitchHighConsistency)),
m_sampleRate(sampleRate), m_sampleRate(sampleRate),
m_channels(channels) m_channels(channels)
{ {