Always "fast-off" voices that have no samples left

If anything, it will cut the release time on an ended sample.
This commit is contained in:
Paul Fd 2021-04-10 15:48:40 +02:00
parent 014518486c
commit edd0b8f04e

View file

@ -1154,9 +1154,7 @@ void Voice::Impl::fillWithData(AudioSpan<float> buffer) noexcept
continue; continue;
} }
if (!released()) off(int(i), true);
off(int(i), true);
fill<int>(indices->subspan(i), sampleEnd); fill<int>(indices->subspan(i), sampleEnd);
fill<float>(coeffs->subspan(i), 0x1.fffffep-1); fill<float>(coeffs->subspan(i), 0x1.fffffep-1);
break; break;