aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorPaweł Kołodziejski2003-08-31 20:36:53 +0000
committerPaweł Kołodziejski2003-08-31 20:36:53 +0000
commit82fea4967149a5edd92b90d4cefb181b7587a5e1 (patch)
treebd3164cb8ab7ee722e251911d4920006b5987ebe /sound
parent2533b23a601b053dd5394e8da9e787504d37e8ba (diff)
downloadscummvm-rg350-82fea4967149a5edd92b90d4cefb181b7587a5e1.tar.gz
scummvm-rg350-82fea4967149a5edd92b90d4cefb181b7587a5e1.tar.bz2
scummvm-rg350-82fea4967149a5edd92b90d4cefb181b7587a5e1.zip
added comments:
volume: 0 - 127 pan: (-127 <-> 0 <-> 127) (left <-> center <-> right) svn-id: r9945
Diffstat (limited to 'sound')
-rw-r--r--sound/mixer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/mixer.h b/sound/mixer.h
index 4604559f47..8690f73a3c 100644
--- a/sound/mixer.h
+++ b/sound/mixer.h
@@ -107,8 +107,10 @@ public:
/** 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);