diff options
author | Max Horn | 2003-11-29 13:56:33 +0000 |
---|---|---|
committer | Max Horn | 2003-11-29 13:56:33 +0000 |
commit | e68ac71155bf775a32742335a1d8690aad17ecee (patch) | |
tree | 64b1923d8e7e2f73f998cc5725c54618a5a76e3c /scumm/sound.cpp | |
parent | f00cd05b331cb5db1dfee140608d6189385950a4 (diff) | |
download | scummvm-rg350-e68ac71155bf775a32742335a1d8690aad17ecee.tar.gz scummvm-rg350-e68ac71155bf775a32742335a1d8690aad17ecee.tar.bz2 scummvm-rg350-e68ac71155bf775a32742335a1d8690aad17ecee.zip |
added API to query CD playback status; renamed AudioCDManager methods
svn-id: r11422
Diffstat (limited to 'scumm/sound.cpp')
-rw-r--r-- | scumm/sound.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scumm/sound.cpp b/scumm/sound.cpp index 80857d1bf6..79c5f06013 100644 --- a/scumm/sound.cpp +++ b/scumm/sound.cpp @@ -1364,7 +1364,7 @@ void Sound::playCDTrack(int track, int numLoops, int startFrame, int duration) { // Play it if (!_soundsPaused) - AudioCD.playCDTrack(track, numLoops, startFrame, duration); + AudioCD.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 @@ -1373,11 +1373,11 @@ void Sound::playCDTrack(int track, int numLoops, int startFrame, int duration) { } void Sound::stopCD() { - AudioCD.stopCD(); + AudioCD.stop(); } int Sound::pollCD() const { - return AudioCD.pollCD(); + return AudioCD.isPlaying(); } void Sound::updateCD() { |