Remove the age guard

This commit is contained in:
Paul Ferrand 2020-08-10 17:21:15 +02:00
parent 4529d371f0
commit 3fdf0ef7cd

View file

@ -52,9 +52,5 @@ sfz::Voice* sfz::VoiceStealing::steal(absl::Span<sfz::Voice*> voices) noexcept
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;
}