From 9c05d44d00ff31ffb9b535da1536e38ab28d150a Mon Sep 17 00:00:00 2001 From: Paweł Kołodziejski Date: Sat, 30 Aug 2003 18:12:49 +0000 Subject: added func isChannelActive for mixer, and fixed handling numbers of channel 0 svn-id: r9924 --- sound/mixer.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sound/mixer.h') 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); -- cgit v1.2.3