[Scummvm-cvs-logs] SF.net SVN: scummvm:[43111] scummvm/branches/gsoc2009-mods/sound/mods/ maxtrax.cpp
nolange at users.sourceforge.net
nolange at users.sourceforge.net
Sat Aug 8 11:23:09 CEST 2009
Revision: 43111
http://scummvm.svn.sourceforge.net/scummvm/?rev=43111&view=rev
Author: nolange
Date: 2009-08-08 09:23:09 +0000 (Sat, 08 Aug 2009)
Log Message:
-----------
slighty changed how voices get disabled after their sample played
Modified Paths:
--------------
scummvm/branches/gsoc2009-mods/sound/mods/maxtrax.cpp
Modified: scummvm/branches/gsoc2009-mods/sound/mods/maxtrax.cpp
===================================================================
--- scummvm/branches/gsoc2009-mods/sound/mods/maxtrax.cpp 2009-08-08 09:18:23 UTC (rev 43110)
+++ scummvm/branches/gsoc2009-mods/sound/mods/maxtrax.cpp 2009-08-08 09:23:09 UTC (rev 43111)
@@ -240,9 +240,9 @@
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
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list