[Scummvm-cvs-logs] CVS: scummvm/queen sound.cpp,1.20,1.21 sound.h,1.9,1.10
Max Horn
fingolfin at users.sourceforge.net
Sat Dec 20 16:08:01 CET 2003
Update of /cvsroot/scummvm/scummvm/queen
In directory sc8-pr-cvs1:/tmp/cvs-serv15860
Modified Files:
sound.cpp sound.h
Log Message:
cleanup
Index: sound.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/queen/sound.cpp,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- sound.cpp 20 Dec 2003 16:54:46 -0000 1.20
+++ sound.cpp 21 Dec 2003 00:07:16 -0000 1.21
@@ -194,9 +194,9 @@
}
-int SBSound::playSound(byte *sound, uint32 size) {
+void SBSound::playSound(byte *sound, uint32 size) {
byte flags = SoundMixer::FLAG_UNSIGNED | SoundMixer::FLAG_AUTOFREE;
- return _mixer->playRaw(&_sfxHandle, sound, size, 11025, flags);
+ _mixer->playRaw(&_sfxHandle, sound, size, 11025, flags);
}
void SBSound::sfxPlay(const char *name) {
Index: sound.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/queen/sound.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- sound.h 20 Dec 2003 16:54:46 -0000 1.9
+++ sound.h 21 Dec 2003 00:07:16 -0000 1.10
@@ -104,7 +104,7 @@
SBSound(SoundMixer *mixer, QueenEngine *vm) : Sound(mixer, vm) {};
void sfxPlay(const char *name);
protected:
- int playSound(byte *sound, uint32 size);
+ void playSound(byte *sound, uint32 size);
};
#ifdef USE_MAD
More information about the Scummvm-git-logs
mailing list