* update from personal repo
This commit is contained in:
@@ -236,7 +236,7 @@ RubberBandStretcher::Impl::setPitchScale(double fs)
|
||||
}
|
||||
|
||||
if (fs == m_pitchScale) return;
|
||||
|
||||
|
||||
bool was1 = (m_pitchScale == 1.f);
|
||||
bool rbs = resampleBeforeStretching();
|
||||
|
||||
@@ -247,9 +247,7 @@ RubberBandStretcher::Impl::setPitchScale(double fs)
|
||||
if (!(m_options & OptionPitchHighConsistency) &&
|
||||
(was1 || resampleBeforeStretching() != rbs) &&
|
||||
m_pitchScale != 1.f) {
|
||||
|
||||
cerr << "reset resampler" << endl;
|
||||
|
||||
|
||||
// resampling mode has changed
|
||||
for (int c = 0; c < m_channels; ++c) {
|
||||
if (m_channelData[c]->resampler) {
|
||||
|
||||
Reference in New Issue
Block a user