[Scummvm-cvs-logs] SF.net SVN: scummvm:[52272] scummvm/trunk/sound/decoders/mp3.cpp
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Sun Aug 22 14:04:44 CEST 2010
Revision: 52272
http://scummvm.svn.sourceforge.net/scummvm/?rev=52272&view=rev
Author: lordhoto
Date: 2010-08-22 12:04:44 +0000 (Sun, 22 Aug 2010)
Log Message:
-----------
MP3: Fix seeking.
Formerly we did not read the first chunk of MP3 data after seeking. This
resulted in incorrect sound output in the Freddy Pharkas demo when the
sound was compressed with MP3 for example.
Modified Paths:
--------------
scummvm/trunk/sound/decoders/mp3.cpp
Modified: scummvm/trunk/sound/decoders/mp3.cpp
===================================================================
--- scummvm/trunk/sound/decoders/mp3.cpp 2010-08-22 10:48:13 UTC (rev 52271)
+++ scummvm/trunk/sound/decoders/mp3.cpp 2010-08-22 12:04:44 UTC (rev 52272)
@@ -233,6 +233,8 @@
while (mad_timer_compare(destination, _totalTime) > 0 && _state != MP3_STATE_EOS)
readHeader();
+ decodeMP3Data();
+
return (_state != MP3_STATE_EOS);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list