aboutsummaryrefslogtreecommitdiff
path: root/sound/mixer.h
diff options
context:
space:
mode:
authorPaweł Kołodziejski2003-08-30 18:12:49 +0000
committerPaweł Kołodziejski2003-08-30 18:12:49 +0000
commit9c05d44d00ff31ffb9b535da1536e38ab28d150a (patch)
treefbe424c8ae533fc59ae24ba01ff4bdaf33d931cc /sound/mixer.h
parenta2dad74da12f4d4bd63f79e86d0226c07e16dcc9 (diff)
downloadscummvm-rg350-9c05d44d00ff31ffb9b535da1536e38ab28d150a.tar.gz
scummvm-rg350-9c05d44d00ff31ffb9b535da1536e38ab28d150a.tar.bz2
scummvm-rg350-9c05d44d00ff31ffb9b535da1536e38ab28d150a.zip
added func isChannelActive for mixer, and fixed handling numbers of channel 0
svn-id: r9924
Diffstat (limited to 'sound/mixer.h')
-rw-r--r--sound/mixer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/mixer.h b/sound/mixer.h
index e90218b11d..3ecc6997ed 100644
--- a/sound/mixer.h
+++ b/sound/mixer.h
@@ -107,6 +107,8 @@ public:
/** stop playing the channel for the given handle */
void stopHandle(PlayingSoundHandle handle);
+ bool isChannelActive(PlayingSoundHandle handle);
+
/** Start a new stream. */
int newStream(void *sound, uint32 size, uint rate, byte flags, uint32 buffer_size);