Trying to cleanup the volume control mess inside the SCUMM engine: renamed MusicEngine::setMasterVolume to setMusicVolume; fixed iMuse to use the correct method for setMusicVolume (previously modified the iMuse internal volume control); hooked up the volume control of various other music engines; added ScummEngine::setupVolume method which can be called whenever volume settings change, and which gurantees that those are handled uniformly

svn-id: r15944
This commit is contained in:
Max Horn 2004-11-28 21:24:02 +00:00
parent 6c84bbf2bd
commit 1ae87c0fbb
19 changed files with 65 additions and 67 deletions

View file

@ -75,8 +75,8 @@ Player_V3A::~Player_V3A() {
}
}
void Player_V3A::setMasterVolume (int vol) {
_mod->setMasterVolume(vol);
void Player_V3A::setMusicVolume (int vol) {
_mod->setMusicVolume(vol);
}
int Player_V3A::getMusChan (int id) const {