diff options
author | Sven Hesse | 2008-12-12 17:12:05 +0000 |
---|---|---|
committer | Sven Hesse | 2008-12-12 17:12:05 +0000 |
commit | 052e83cd2421f14c24063ab424b465f2029c5bf3 (patch) | |
tree | 68bdb81cdb7a628c09118df5e5bfc9f47cc51fca /engines/gob | |
parent | cbdb105d8ebcc5720c010c713ac31ab9d01485b9 (diff) | |
download | scummvm-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.cpp | 2 |
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); |