[Scummvm-git-logs] scummvm master -> 00c1af496d32b9b78ecc992f3db02d538b2f8afe

aquadran noreply at scummvm.org
Sun Jul 19 05:05:34 UTC 2026


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .

Summary:
00c1af496d WINTERMUTE: Fixed bug not accounting stream start position for played sound stream in the middle


Commit: 00c1af496d32b9b78ecc992f3db02d538b2f8afe
    https://github.com/scummvm/scummvm/commit/00c1af496d32b9b78ecc992f3db02d538b2f8afe
Author: Paweł Kołodziejski (aquadran at gmail.com)
Date: 2026-07-19T07:05:21+02:00

Commit Message:
WINTERMUTE: Fixed bug not accounting stream start position for played sound stream in the middle

Changed paths:
    engines/wintermute/base/sound/base_sound_buffer.cpp


diff --git a/engines/wintermute/base/sound/base_sound_buffer.cpp b/engines/wintermute/base/sound/base_sound_buffer.cpp
index a2fd4c56883..8794072bc26 100644
--- a/engines/wintermute/base/sound/base_sound_buffer.cpp
+++ b/engines/wintermute/base/sound/base_sound_buffer.cpp
@@ -269,7 +269,7 @@ bool BaseSoundBuffer::isPlaying() {
 uint32 BaseSoundBuffer::getPosition() {
 	if (_stream && _handle) {
 		uint32 pos = g_system->getMixer()->getSoundElapsedTime(*_handle);
-		return pos;
+		return pos + _startPos;
 	}
 	return 0;
 }




More information about the Scummvm-git-logs mailing list