diff options
Diffstat (limited to 'engines/drascula')
-rw-r--r-- | engines/drascula/drascula.cpp | 2 | ||||
-rw-r--r-- | engines/drascula/sound.cpp | 12 |
2 files changed, 7 insertions, 7 deletions
diff --git a/engines/drascula/drascula.cpp b/engines/drascula/drascula.cpp index dc1d54b808..39f07e5875 100644 --- a/engines/drascula/drascula.cpp +++ b/engines/drascula/drascula.cpp @@ -100,7 +100,7 @@ DrasculaEngine::DrasculaEngine(OSystem *syst, const DrasculaGameDescription *gam int cd_num = ConfMan.getInt("cdrom"); if (cd_num >= 0) - _system->getAudioCD()->openCD(cd_num); + _system->getAudioCDManager()->openCD(cd_num); _lang = kEnglish; diff --git a/engines/drascula/sound.cpp b/engines/drascula/sound.cpp index 934610ba4d..2233115f3d 100644 --- a/engines/drascula/sound.cpp +++ b/engines/drascula/sound.cpp @@ -122,20 +122,20 @@ void DrasculaEngine::finishSound() { } void DrasculaEngine::playMusic(int p) { - _system->getAudioCD()->stop(); - _system->getAudioCD()->play(p - 1, 1, 0, 0); + _system->getAudioCDManager()->stop(); + _system->getAudioCDManager()->play(p - 1, 1, 0, 0); } void DrasculaEngine::stopMusic() { - _system->getAudioCD()->stop(); + _system->getAudioCDManager()->stop(); } void DrasculaEngine::updateMusic() { - _system->getAudioCD()->updateCD(); + _system->getAudioCDManager()->updateCD(); } int DrasculaEngine::musicStatus() { - return _system->getAudioCD()->isPlaying(); + return _system->getAudioCDManager()->isPlaying(); } void DrasculaEngine::stopSound() { @@ -156,7 +156,7 @@ void DrasculaEngine::MusicFadeout() { _system->updateScreen(); _system->delayMillis(50); } - _system->getAudioCD()->stop(); + _system->getAudioCDManager()->stop(); _system->delayMillis(100); _mixer->setVolumeForSoundType(Audio::Mixer::kMusicSoundType, org_vol); } |