accept samplesPerBlock up to 8192 (inclusive)
`ASSERT(samplesPerBlock < config::maxBlockSize)` (where `maxBlockSize` is 8192) means we cannot set 8192. But we don't want 8191 as the actual maximum size.
This commit is contained in:
parent
62046e9e8e
commit
b76a1c50a3
1 changed files with 1 additions and 1 deletions
|
|
@ -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 };
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue