Skip to content

Commit

Permalink
Update src/deluge/model/voice/voice.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Katherine Whitlock <[email protected]>
  • Loading branch information
m-m-adams and stellar-aria authored Jan 15, 2025
1 parent 6971d88 commit 14583b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/deluge/model/voice/voice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -746,7 +746,7 @@ uint32_t Voice::getLocalLFOPhaseIncrement() {

bool unassignVoiceAfter = (envelopes[0].state == EnvelopeStage::OFF)
|| (envelopes[0].state > EnvelopeStage::DECAY
&& sourceValues[util::to_underlying(PatchSource::ENVELOPE_0)] == -2147483648);
&& sourceValues[util::to_underlying(PatchSource::ENVELOPE_0)] == std::numeric_limits<int32_t>::min());
// Local LFO
if (paramManager->getPatchCableSet()->sourcesPatchedToAnything[GLOBALITY_LOCAL]
& (1 << util::to_underlying(PatchSource::LFO_LOCAL))) {
Expand Down

0 comments on commit 14583b8

Please sign in to comment.