aboutsummaryrefslogtreecommitdiff
path: root/engines/gob
diff options
context:
space:
mode:
authorSven Hesse2008-12-12 17:12:05 +0000
committerSven Hesse2008-12-12 17:12:05 +0000
commit052e83cd2421f14c24063ab424b465f2029c5bf3 (patch)
tree68bdb81cdb7a628c09118df5e5bfc9f47cc51fca /engines/gob
parentcbdb105d8ebcc5720c010c713ac31ab9d01485b9 (diff)
downloadscummvm-rg350-052e83cd2421f14c24063ab424b465f2029c5bf3.tar.gz
scummvm-rg350-052e83cd2421f14c24063ab424b465f2029c5bf3.tar.bz2
scummvm-rg350-052e83cd2421f14c24063ab424b465f2029c5bf3.zip
Okay, removing my implementation of AppandableAudioStream::getTotalPlayTime (I've apparently misunderstood its intent) and using Mixer::getSoundElapsedTime() instead
svn-id: r35317
Diffstat (limited to 'engines/gob')
-rw-r--r--engines/gob/coktelvideo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/coktelvideo.cpp b/engines/gob/coktelvideo.cpp
index cb3449615b..b5eb781294 100644
--- a/engines/gob/coktelvideo.cpp
+++ b/engines/gob/coktelvideo.cpp
@@ -330,7 +330,7 @@ void Imd::waitEndFrame() {
if (_skipFrames == 0) {
int32 waitTime = (int16) (((_curFrame * _soundSliceLength) -
- (_audioStream->getTotalPlayTime() << 16)) >> 16);
+ (_mixer->getSoundElapsedTime(_audioHandle) << 16)) >> 16);
if (waitTime < 0) {
_skipFrames = -waitTime / (_soundSliceLength >> 16);