aboutsummaryrefslogtreecommitdiff
path: root/engines/teenagent/teenagent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/teenagent/teenagent.cpp')
-rw-r--r--engines/teenagent/teenagent.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/teenagent/teenagent.cpp b/engines/teenagent/teenagent.cpp
index bb0e9773a2..99c79efddf 100644
--- a/engines/teenagent/teenagent.cpp
+++ b/engines/teenagent/teenagent.cpp
@@ -31,7 +31,6 @@
#include "engines/advancedDetector.h"
#include "engines/util.h"
-#include "sound/audiocd.h"
#include "sound/mixer.h"
#include "sound/decoders/raw.h"
@@ -985,7 +984,7 @@ void TeenAgentEngine::setMusic(byte id) {
}
byte track = track2cd[id - 1];
debug(0, "playing cd track %u", track);
- Audio::AudioCDManager::instance().play(track, -1, 0, 0);
+ _system->getAudioCD()->play(track, -1, 0, 0);
} else if (music->load(id))
music->start();
}