Do not allow interpolator coef to be exactly 1.0

This commit is contained in:
Jean Pierre Cimalando 2021-03-26 13:46:45 +01:00
parent 731daf4ab8
commit 9e5d27af3c

View file

@ -1102,7 +1102,7 @@ void Voice::Impl::fillWithData(AudioSpan<float> buffer) noexcept
off(i, true);
fill<int>(indices->subspan(i), sampleEnd);
fill<float>(coeffs->subspan(i), 1.0f);
fill<float>(coeffs->subspan(i), 0x1.fffffep-1);
break;
}
}