diff options
Diffstat (limited to 'sound/mixer.h')
-rw-r--r-- | sound/mixer.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sound/mixer.h b/sound/mixer.h index 48aea32e49..6b888af247 100644 --- a/sound/mixer.h +++ b/sound/mixer.h @@ -205,9 +205,17 @@ public: bool isSoundIDActive(int id); /** + * Get the sound ID of handle sound + * + * @param handle sound to query + * @return sound ID if active + */ + int getActiveChannelSoundID(SoundHandle handle); + + /** * Check if a sound with the given hANDLE is active. * - * @param handle the sound to query + * @param handle sound to query * @return true if the sound is active */ bool isSoundHandleActive(SoundHandle handle); |