aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/sound
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gob/sound')
-rw-r--r--engines/gob/sound/cdrom.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/gob/sound/cdrom.cpp b/engines/gob/sound/cdrom.cpp
index ed006ca722..ec7da29fdb 100644
--- a/engines/gob/sound/cdrom.cpp
+++ b/engines/gob/sound/cdrom.cpp
@@ -115,7 +115,7 @@ void CDROM::play(uint32 from, uint32 to) {
// HSG encodes frame information into a double word:
// minute multiplied by 4500, plus second multiplied by 75,
// plus frame, minus 150
- g_system->getAudioCD()->play(1, 1, from, to - from + 1);
+ g_system->getAudioCDManager()->play(1, 1, from, to - from + 1);
_cdPlaying = true;
}
@@ -160,7 +160,7 @@ void CDROM::stopPlaying() {
void CDROM::stop() {
_curTrackBuffer = 0;
- g_system->getAudioCD()->stop();
+ g_system->getAudioCDManager()->stop();
_cdPlaying = false;
}