[Scummvm-cvs-logs] CVS: scummvm/scumm sound.cpp,1.225,1.226
Max Horn
fingolfin at users.sourceforge.net
Fri Sep 5 14:13:03 CEST 2003
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv4034/scumm
Modified Files:
sound.cpp
Log Message:
any reasons for playing bundle sounds at 50% volume?
Index: sound.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/sound.cpp,v
retrieving revision 1.225
retrieving revision 1.226
diff -u -d -r1.225 -r1.226
--- sound.cpp 5 Sep 2003 21:06:32 -0000 1.225
+++ sound.cpp 5 Sep 2003 21:12:33 -0000 1.226
@@ -1376,12 +1376,12 @@
_scumm->_mixer->stopHandle(*handle);
if (bits == 8) {
- _scumm->_mixer->playRaw(handle, final, size, rate, SoundMixer::FLAG_UNSIGNED | SoundMixer::FLAG_AUTOFREE, 127, pan);
+ _scumm->_mixer->playRaw(handle, final, size, rate, SoundMixer::FLAG_UNSIGNED | SoundMixer::FLAG_AUTOFREE, 255, pan);
} else if (bits == 16) {
// FIXME: For some weird reasons, sometimes we get an odd size, even though
// the data is supposed to be in 16 bit format... that makes no sense...
size &= ~1;
- _scumm->_mixer->playRaw(handle, final, size, rate, SoundMixer::FLAG_16BITS | SoundMixer::FLAG_AUTOFREE, 127, pan);
+ _scumm->_mixer->playRaw(handle, final, size, rate, SoundMixer::FLAG_16BITS | SoundMixer::FLAG_AUTOFREE, 255, pan);
} else {
warning("Sound::playBundleSound() to do more options to playRaw...");
}
More information about the Scummvm-git-logs
mailing list