diff options
author | Paul Gilbert | 2014-10-16 21:53:21 -0400 |
---|---|---|
committer | Paul Gilbert | 2014-10-16 21:53:21 -0400 |
commit | dee4fd193d690baae5afaf906d7604a9df9155ef (patch) | |
tree | 97609b31307cea99f6a7419679062fc8a23fd333 /engines/mads/audio.cpp | |
parent | fa5c22393138034efceb908e012f6783b65f36f5 (diff) | |
download | scummvm-rg350-dee4fd193d690baae5afaf906d7604a9df9155ef.tar.gz scummvm-rg350-dee4fd193d690baae5afaf906d7604a9df9155ef.tar.bz2 scummvm-rg350-dee4fd193d690baae5afaf906d7604a9df9155ef.zip |
MADS: Fix stopping digital audio, music, and palette cycling when animation ends
Diffstat (limited to 'engines/mads/audio.cpp')
-rw-r--r-- | engines/mads/audio.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/mads/audio.cpp b/engines/mads/audio.cpp index 9d62c3f615..def2cd6c62 100644 --- a/engines/mads/audio.cpp +++ b/engines/mads/audio.cpp @@ -129,4 +129,8 @@ void AudioPlayer::playSound(int soundIndex, bool loop) { */ } +void AudioPlayer::stop() { + _mixer->stopHandle(_handle); +} + } // End of namespace M4 |