aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/sound.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/kyra/sound.h')
-rw-r--r--engines/kyra/sound.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/kyra/sound.h b/engines/kyra/sound.h
index 565e02e917..52334806ad 100644
--- a/engines/kyra/sound.h
+++ b/engines/kyra/sound.h
@@ -213,6 +213,13 @@ public:
bool voiceIsPlaying(const char *file = 0);
/**
+ * Checks if all voice handles are used.
+ *
+ * @return false when a handle is free, else true
+ */
+ bool allVoiceChannelsPlaying();
+
+ /**
* Checks how long a voice has been playing
*
* @return time in milliseconds