[Scummvm-cvs-logs] CVS: scummvm/simon sound.cpp,1.29.2.3,1.29.2.4
Travis Howell
kirben at users.sourceforge.net
Thu Jul 24 07:22:08 CEST 2003
Update of /cvsroot/scummvm/scummvm/simon
In directory sc8-pr-cvs1:/tmp/cvs-serv19275/simon
Modified Files:
Tag: branch-0-5-0
sound.cpp
Log Message:
Simon games shold only play one voice at a time.
Fixes many voice overlaps
Fixes subtitles been ot of sync with voice, with simon 1 versions that had combined speech/subtitles.
Index: sound.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/simon/sound.cpp,v
retrieving revision 1.29.2.3
retrieving revision 1.29.2.4
diff -u -d -r1.29.2.3 -r1.29.2.4
--- sound.cpp 24 Jul 2003 12:31:59 -0000 1.29.2.3
+++ sound.cpp 24 Jul 2003 14:21:23 -0000 1.29.2.4
@@ -450,6 +450,9 @@
if (!_voice)
return;
+ if (_voice)
+ _mixer->stop(_voice_index);
+
if (_game == GAME_SIMON1CD32)
_voice_index = _voice->playSound(sound, &_voice_handle, FLAG_SIGNED);
else
More information about the Scummvm-git-logs
mailing list