Revert part of the sustain changes, as it made really no sense :)
This commit is contained in:
parent
90f61b24fb
commit
84893a57f9
1 changed files with 1 additions and 1 deletions
|
|
@ -153,7 +153,7 @@ void sfz::Voice::registerNoteOff(int delay, int channel, int noteNumber, uint8_t
|
|||
if (region->loopMode == SfzLoopMode::one_shot)
|
||||
return;
|
||||
|
||||
if (region->checkSustain && ccState[config::sustainCC] < config::halfCCThreshold)
|
||||
if (!region->checkSustain || ccState[config::sustainCC] < config::halfCCThreshold)
|
||||
release(delay);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue