From 6dbeddab258b5b681586e4e6996acfc3f2cce2be Mon Sep 17 00:00:00 2001 From: Norbert Lange Date: Sat, 8 Aug 2009 09:23:09 +0000 Subject: slighty changed how voices get disabled after their sample played svn-id: r43111 --- sound/mods/maxtrax.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/mods/maxtrax.cpp b/sound/mods/maxtrax.cpp index 3817213b90..80765913b3 100644 --- a/sound/mods/maxtrax.cpp +++ b/sound/mods/maxtrax.cpp @@ -240,9 +240,9 @@ endOfEventLoop: voice.dmaOff = 0; voice.isBlocked = false; voice.priority = 0; - voice.status = VoiceContext::kStatusRelease; + // disable it in next tick + voice.stopEventTime = 0; } - // still act if voice is in sustain if (!channel.isAltered && !voice.hasPortamento && (!kHasModulation || !channel.modulation)) continue; // Update Volume and Period -- cgit v1.2.3