aboutsummaryrefslogtreecommitdiff
path: root/engines/voyeur/sound.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/voyeur/sound.cpp')
-rw-r--r--engines/voyeur/sound.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/voyeur/sound.cpp b/engines/voyeur/sound.cpp
index 1cd0cf3c00..e53716a70c 100644
--- a/engines/voyeur/sound.cpp
+++ b/engines/voyeur/sound.cpp
@@ -75,6 +75,10 @@ void SoundManager::startVOCPlay(const Common::String &filename) {
_mixer->playStream(Audio::Mixer::kSFXSoundType, &_soundHandle, audioStream);
}
+void SoundManager::startVOCPlay(int soundId) {
+ startVOCPlay(getVOCFileName(soundId));
+}
+
int SoundManager::getVOCStatus() {
return _mixer->isSoundHandleActive(_soundHandle);
}