From 77a81a80b4157acd7e8e580c2648ec3b3ef6bc64 Mon Sep 17 00:00:00 2001 From: athrxx Date: Sun, 6 Nov 2011 00:46:58 +0100 Subject: KYRA: (AdLib Driver) - implement sound effects volume (also make internal driver version more flexible) --- engines/kyra/sound.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/kyra/sound.cpp') 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() { -- cgit v1.2.3