[Scummvm-cvs-logs] CVS: scummvm/sound mixer.h,1.44,1.45
Pawel Kolodziejski
aquadran at users.sourceforge.net
Sun Aug 31 13:37:06 CEST 2003
Update of /cvsroot/scummvm/scummvm/sound
In directory sc8-pr-cvs1:/tmp/cvs-serv22379
Modified Files:
mixer.h
Log Message:
added comments:
volume: 0 - 127
pan: (-127 <-> 0 <-> 127) (left <-> center <-> right)
Index: mixer.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sound/mixer.h,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -d -r1.44 -r1.45
--- mixer.h 31 Aug 2003 20:26:21 -0000 1.44
+++ mixer.h 31 Aug 2003 20:36:53 -0000 1.45
@@ -107,8 +107,10 @@
/** stop playing the channel for the given handle */
void stopHandle(PlayingSoundHandle handle);
+ /** changing the channel volume for the given handle (0 - 255) */
void setChannelVolume(PlayingSoundHandle handle, byte volume);
+ /** changing the channel pan for the given handle (-127 ... 0 ... 127) (left ... center ... right)*/
void setChannelPan(PlayingSoundHandle handle, int8 pan);
bool isChannelActive(PlayingSoundHandle handle);
More information about the Scummvm-git-logs
mailing list