From 3fdf0ef7cd8b5427cdad7c759463b6de614e790d Mon Sep 17 00:00:00 2001 From: Paul Ferrand Date: Mon, 10 Aug 2020 17:21:15 +0200 Subject: [PATCH] Remove the age guard --- src/sfizz/VoiceStealing.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/sfizz/VoiceStealing.cpp b/src/sfizz/VoiceStealing.cpp index fbac880c..49e1b2d0 100644 --- a/src/sfizz/VoiceStealing.cpp +++ b/src/sfizz/VoiceStealing.cpp @@ -52,9 +52,5 @@ sfz::Voice* sfz::VoiceStealing::steal(absl::Span 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; }