aboutsummaryrefslogtreecommitdiff
path: root/engines/tinsel
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/tinsel
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/tinsel')
-rw-r--r--engines/tinsel/bmv.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tinsel/bmv.cpp b/engines/tinsel/bmv.cpp
index 613d8c9686..15da5823fc 100644
--- a/engines/tinsel/bmv.cpp
+++ b/engines/tinsel/bmv.cpp
@@ -1243,7 +1243,7 @@ int32 MovieAudioLag(void) {
// Calculate lag
int32 playLength = (movieTick - startTick - 1) * ((((uint32) 1000) << 10) / 24);
- return (playLength - (audioStream->getTotalPlayTime() << 10)) >> 10;
+ return (playLength - (((int32) _vm->_mixer->getSoundElapsedTime(audioHandle)) << 10)) >> 10;
}
uint32 NextMovieTime(void) {