slighty changed how voices get disabled after their sample played

svn-id: r43111
This commit is contained in:
Norbert Lange 2009-08-08 09:23:09 +00:00
parent baeed11aae
commit 6dbeddab25

View File

@ -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