Suppress range checks of output in renderBlock

This commit is contained in:
Jean Pierre Cimalando 2020-05-14 14:29:19 +02:00
parent c2fbd61e81
commit 60cfd84ac5

View file

@ -715,10 +715,12 @@ void sfz::Synth::renderBlock(AudioSpan<float> buffer) noexcept
}
}
#if 0
ASSERT(!hasNanInf(buffer.getConstSpan(0)));
ASSERT(!hasNanInf(buffer.getConstSpan(1)));
ASSERT(isValidAudio(buffer.getConstSpan(0)));
ASSERT(isValidAudio(buffer.getConstSpan(1)));
#endif
}
void sfz::Synth::noteOn(int delay, int noteNumber, uint8_t velocity) noexcept