aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/sound.cpp
diff options
context:
space:
mode:
authorathrxx2011-11-06 00:46:58 +0100
committerJohannes Schickel2011-12-26 16:18:09 +0100
commit77a81a80b4157acd7e8e580c2648ec3b3ef6bc64 (patch)
treedc6a21036c29a0817d0a59116066b3287e09f955 /engines/kyra/sound.cpp
parent8c3488a973fb93895d542c0b55548bb96101b187 (diff)
downloadscummvm-rg350-77a81a80b4157acd7e8e580c2648ec3b3ef6bc64.tar.gz
scummvm-rg350-77a81a80b4157acd7e8e580c2648ec3b3ef6bc64.tar.bz2
scummvm-rg350-77a81a80b4157acd7e8e580c2648ec3b3ef6bc64.zip
KYRA: (AdLib Driver) - implement sound effects volume
(also make internal driver version more flexible)
Diffstat (limited to 'engines/kyra/sound.cpp')
-rw-r--r--engines/kyra/sound.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/kyra/sound.cpp b/engines/kyra/sound.cpp
index a1af1ad6f8..9325513066 100644
--- a/engines/kyra/sound.cpp
+++ b/engines/kyra/sound.cpp
@@ -229,8 +229,8 @@ bool MixedSoundDriver::isPlaying() const {
return _music->isPlaying() | _sfx->isPlaying();
}
-void MixedSoundDriver::playSoundEffect(uint8 track) {
- _sfx->playSoundEffect(track);
+void MixedSoundDriver::playSoundEffect(uint8 track, uint8 volume) {
+ _sfx->playSoundEffect(track, volume);
}
void MixedSoundDriver::stopAllSoundEffects() {