[Scummvm-cvs-logs] scummvm master -> fa3136fbc4385f1f14a87f21dfa2e7bf82aac66d

clone2727 clone2727 at gmail.com
Tue Mar 19 15:43:24 CET 2013


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

Summary:
fa3136fbc4 PEGASUS: Make sure sounds are rewound before playing them


Commit: fa3136fbc4385f1f14a87f21dfa2e7bf82aac66d
    https://github.com/scummvm/scummvm/commit/fa3136fbc4385f1f14a87f21dfa2e7bf82aac66d
Author: Matthew Hoops (clone2727 at gmail.com)
Date: 2013-03-19T07:40:47-07:00

Commit Message:
PEGASUS: Make sure sounds are rewound before playing them

Changed paths:
    engines/pegasus/sound.cpp



diff --git a/engines/pegasus/sound.cpp b/engines/pegasus/sound.cpp
index bf15858..5b437b8 100644
--- a/engines/pegasus/sound.cpp
+++ b/engines/pegasus/sound.cpp
@@ -87,6 +87,9 @@ void Sound::playSound() {
 
 	stopSound();
 
+	// Make sure the sound is back at the beginning before we play it
+	_stream->rewind();
+
 	if (_fader)
 		setVolume(_fader->getFaderValue());
 






More information about the Scummvm-git-logs mailing list