[Scummvm-cvs-logs] CVS: scummvm/sound mixer.cpp,1.17,1.18 mixer.h,1.9,1.10
Max Horn
fingolfin at users.sourceforge.net
Tue Oct 15 17:25:07 CEST 2002
Update of /cvsroot/scummvm/scummvm/sound
In directory usw-pr-cvs1:/tmp/cvs-serv27866/sound
Modified Files:
mixer.cpp mixer.h
Log Message:
compilation fix
Index: mixer.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sound/mixer.cpp,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- mixer.cpp 15 Oct 2002 21:55:03 -0000 1.17
+++ mixer.cpp 16 Oct 2002 00:24:45 -0000 1.18
@@ -193,11 +193,6 @@
_channels[i]->destroy();
}
-void SoundMixer::stop(PlayingSoundHandle psh) {
- if (psh && _channels[psh - 1])
- _channels[psh - 1]->destroy();
-}
-
void SoundMixer::stop(int index) {
if ((index < 0) || (index >= NUM_CHANNELS)) {
warning("soundMixer::stop has invalid index %d", index);
Index: mixer.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sound/mixer.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- mixer.h 15 Oct 2002 21:55:04 -0000 1.9
+++ mixer.h 16 Oct 2002 00:24:45 -0000 1.10
@@ -202,7 +202,6 @@
void stopAll();
/* stop playing a specific sound */
- void stop(PlayingSoundHandle psh);
void stop(int index);
/* append to existing sound */
More information about the Scummvm-git-logs
mailing list