The processing has to apply on the real buffer, not the delayed data one.
This commit is contained in:
parent
3efaeac351
commit
b1638646ed
1 changed files with 2 additions and 2 deletions
|
|
@ -248,9 +248,9 @@ void sfz::Voice::renderBlock(AudioSpan<float> buffer) noexcept
|
||||||
fillWithData(delayed_buffer);
|
fillWithData(delayed_buffer);
|
||||||
|
|
||||||
if (region->isStereo())
|
if (region->isStereo())
|
||||||
processStereo(delayed_buffer);
|
processStereo(buffer);
|
||||||
else
|
else
|
||||||
processMono(delayed_buffer);
|
processMono(buffer);
|
||||||
|
|
||||||
if (!egEnvelope.isSmoothing())
|
if (!egEnvelope.isSmoothing())
|
||||||
reset();
|
reset();
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue