Do not allow interpolator coef to be exactly 1.0
This commit is contained in:
parent
731daf4ab8
commit
9e5d27af3c
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue