Merge pull request #484 from atsushieno/patch-1

accept samplesPerBlock up to 8192 (inclusive)
This commit is contained in:
JP Cimalando 2020-10-07 19:45:16 +02:00 committed by GitHub
commit 0fb8abdf44
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -776,7 +776,7 @@ void sfz::Synth::garbageCollect() noexcept
void sfz::Synth::setSamplesPerBlock(int samplesPerBlock) noexcept
{
ASSERT(samplesPerBlock < config::maxBlockSize);
ASSERT(samplesPerBlock <= config::maxBlockSize);
const std::lock_guard<SpinMutex> disableCallback { callbackGuard };