[Scummvm-cvs-logs] CVS: scummvm/sound mixer.cpp,1.117,1.118
Jonathan Gray
khalek at users.sourceforge.net
Tue Sep 2 15:39:07 CEST 2003
Update of /cvsroot/scummvm/scummvm/sound
In directory sc8-pr-cvs1:/tmp/cvs-serv29970
Modified Files:
mixer.cpp
Log Message:
remove shadow'd var by using variable name from prototype
Index: mixer.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sound/mixer.cpp,v
retrieving revision 1.117
retrieving revision 1.118
diff -u -d -r1.117 -r1.118
--- mixer.cpp 2 Sep 2003 20:34:22 -0000 1.117
+++ mixer.cpp 2 Sep 2003 22:38:53 -0000 1.118
@@ -411,7 +411,7 @@
}
}
-void SoundMixer::pauseHandle(PlayingSoundHandle handle, bool pause) {
+void SoundMixer::pauseHandle(PlayingSoundHandle handle, bool paused) {
StackLock lock(_mutex);
// Simply ignore pause/unpause requests for handles of sound that alreayd terminated
@@ -426,7 +426,7 @@
}
if (_channels[index])
- _channels[index]->pause(pause);
+ _channels[index]->pause(paused);
}
bool SoundMixer::hasActiveSFXChannel() {
More information about the Scummvm-git-logs
mailing list