[Scummvm-cvs-logs] CVS: scummvm/sword1 sound.cpp,1.29,1.30
Robert Göffringmann
lavosspawn at users.sourceforge.net
Tue Oct 12 18:02:05 CEST 2004
Update of /cvsroot/scummvm/scummvm/sword1
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21881/sword1
Modified Files:
sound.cpp
Log Message:
I hope this fixes speech in demo
Index: sound.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sword1/sound.cpp,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- sound.cpp 12 Oct 2004 15:50:00 -0000 1.29
+++ sound.cpp 13 Oct 2004 00:59:27 -0000 1.30
@@ -168,7 +168,7 @@
if (sampleSize) {
uint8 speechVol = (_speechVolR + _speechVolL) / 2;
int8 speechPan = (_speechVolR - _speechVolL) / 2;
- if (_cowMode == CowWave) {
+ if ((_cowMode == CowWave) || (_cowMode == CowDemo)) {
uint32 size;
int16 *data = uncompressSpeech(index + _cowHeaderSize, sampleSize, &size);
if (data)
More information about the Scummvm-git-logs
mailing list