aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/sound.cpp
diff options
context:
space:
mode:
authorAlejandro Marzini2010-06-15 04:13:12 +0000
committerAlejandro Marzini2010-06-15 04:13:12 +0000
commite1ef3cd9fc059ebe8c606d330173bc3f71f8dce7 (patch)
tree46fa8fa2fb556941a0edecee0a1e1169a29232b5 /engines/scumm/sound.cpp
parent6a52a168eeb54938c757d3be560f7ba8b30aa7c0 (diff)
downloadscummvm-rg350-e1ef3cd9fc059ebe8c606d330173bc3f71f8dce7.tar.gz
scummvm-rg350-e1ef3cd9fc059ebe8c606d330173bc3f71f8dce7.tar.bz2
scummvm-rg350-e1ef3cd9fc059ebe8c606d330173bc3f71f8dce7.zip
Renamed getAudioCD to getAudioCDManager.
svn-id: r49678
Diffstat (limited to 'engines/scumm/sound.cpp')
-rw-r--r--engines/scumm/sound.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/scumm/sound.cpp b/engines/scumm/sound.cpp
index 1516054679..98fa3d0e4a 100644
--- a/engines/scumm/sound.cpp
+++ b/engines/scumm/sound.cpp
@@ -86,7 +86,7 @@ Sound::Sound(ScummEngine *parent, Audio::Mixer *mixer)
Sound::~Sound() {
stopCDTimer();
- g_system->getAudioCD()->stop();
+ g_system->getAudioCDManager()->stop();
delete _sfxFile;
}
@@ -1068,7 +1068,7 @@ void Sound::playCDTrack(int track, int numLoops, int startFrame, int duration) {
// Play it
if (!_soundsPaused)
- g_system->getAudioCD()->play(track, numLoops, startFrame, duration);
+ g_system->getAudioCDManager()->play(track, numLoops, startFrame, duration);
// Start the timer after starting the track. Starting an MP3 track is
// almost instantaneous, but a CD player may take some time. Hopefully
@@ -1077,15 +1077,15 @@ void Sound::playCDTrack(int track, int numLoops, int startFrame, int duration) {
}
void Sound::stopCD() {
- g_system->getAudioCD()->stop();
+ g_system->getAudioCDManager()->stop();
}
int Sound::pollCD() const {
- return g_system->getAudioCD()->isPlaying();
+ return g_system->getAudioCDManager()->isPlaying();
}
void Sound::updateCD() {
- g_system->getAudioCD()->updateCD();
+ g_system->getAudioCDManager()->updateCD();
}
void Sound::saveLoadWithSerializer(Serializer *ser) {