diff options
Diffstat (limited to 'simon/simonsound.cpp')
-rw-r--r-- | simon/simonsound.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/simon/simonsound.cpp b/simon/simonsound.cpp index e687c880ed..d6867fa0ab 100644 --- a/simon/simonsound.cpp +++ b/simon/simonsound.cpp @@ -148,6 +148,11 @@ void SimonSound::playAmbient(uint sound) _ambient_index = _effects->playSound(sound, &_ambient_handle, SoundMixer::FLAG_LOOP); } +bool SimonSound::hasVoice() +{ + return _voice != NULL; +} + void SimonSound::stopAll() { _mixer->stopAll(); |