diff options
Diffstat (limited to 'sound/audiocd.cpp')
-rw-r--r-- | sound/audiocd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/audiocd.cpp b/sound/audiocd.cpp index e8a74d062c..3188d03cee 100644 --- a/sound/audiocd.cpp +++ b/sound/audiocd.cpp @@ -105,7 +105,7 @@ bool AudioCDManager::isPlaying() const { void AudioCDManager::updateCD() { if (_cd.playing) { // If the sound handle is 0, then playback stopped. - if (!_cd.handle.isActive()) { + if (!g_engine->_mixer->isSoundHandleActive(_cd.handle)) { // If playback just stopped, check if the current track is supposed // to be repeated, and if that's the case, play it again. Else, stop // the CD explicitly. |