From 7eaf539b23c0d4a52c7c562532649e6bff69be90 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Sun, 21 Jun 2009 20:10:45 +0000 Subject: Cleanup. svn-id: r41733 --- engines/kyra/sound_lol.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/kyra/sound_lol.cpp') diff --git a/engines/kyra/sound_lol.cpp b/engines/kyra/sound_lol.cpp index c233e1af52..63a42837aa 100644 --- a/engines/kyra/sound_lol.cpp +++ b/engines/kyra/sound_lol.cpp @@ -304,12 +304,12 @@ int LoLEngine::snd_stopMusic() { return snd_playTrack(-1); } -int LoLEngine::convertValueToMixer(int value) { +int LoLEngine::convertVolumeToMixer(int value) { value -= 2; return (value * Audio::Mixer::kMaxMixerVolume) / 100; } -int LoLEngine::convertValueFromMixer(int value) { +int LoLEngine::convertVolumeFromMixer(int value) { return (value * 100) / Audio::Mixer::kMaxMixerVolume + 2; } -- cgit v1.2.3