diff options
author | whiterandrek | 2018-06-21 10:56:57 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2018-06-28 23:51:32 +0200 |
commit | 60d2c3e2f216a7a634d716508e159b8a08361417 (patch) | |
tree | 807bf51d5bdbb9ee4ef9d480252d2b025cacc801 /engines/pink/sound.h | |
parent | 8516684b4a7e4f01e96305040a87c412110b9b3b (diff) | |
download | scummvm-rg350-60d2c3e2f216a7a634d716508e159b8a08361417.tar.gz scummvm-rg350-60d2c3e2f216a7a634d716508e159b8a08361417.tar.bz2 scummvm-rg350-60d2c3e2f216a7a634d716508e159b8a08361417.zip |
PINK: fixed playing SequenceAudio with long songs
Diffstat (limited to 'engines/pink/sound.h')
-rw-r--r-- | engines/pink/sound.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/pink/sound.h b/engines/pink/sound.h index f18fb9fe21..28de99d3f7 100644 --- a/engines/pink/sound.h +++ b/engines/pink/sound.h @@ -45,7 +45,7 @@ public: void pause(bool paused) { g_system->getMixer()->pauseHandle(_handle, paused); } - uint32 getCurrentSample() { return g_system->getMixer()->getSoundElapsedTime(_handle) * 22050 / 1000; } + uint64 getCurrentSample() { return (uint64)g_system->getMixer()->getSoundElapsedTime(_handle) * 22050 / 1000; } private: Audio::SoundHandle _handle; |