Remove the age guard
This commit is contained in:
parent
4529d371f0
commit
3fdf0ef7cd
1 changed files with 0 additions and 4 deletions
|
|
@ -52,9 +52,5 @@ sfz::Voice* sfz::VoiceStealing::steal(absl::Span<sfz::Voice*> voices) noexcept
|
||||||
while (idx < voices.size() && sisterVoices(ref, voices[idx]));
|
while (idx < voices.size() && sisterVoices(ref, voices[idx]));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Guard for future changes: voices with age 0 just started; don't kill those.
|
|
||||||
if (returnedVoice->getAge() == 0)
|
|
||||||
return {};
|
|
||||||
|
|
||||||
return returnedVoice;
|
return returnedVoice;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue