[Scummvm-cvs-logs] SF.net SVN: scummvm:[40708] scummvm/trunk/sound/voc.cpp
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Tue May 19 00:11:56 CEST 2009
Revision: 40708
http://scummvm.svn.sourceforge.net/scummvm/?rev=40708&view=rev
Author: lordhoto
Date: 2009-05-18 22:11:56 +0000 (Mon, 18 May 2009)
Log Message:
-----------
Add some simple implementation for type 8 data blocks:
- Fix sound effect in LoL demo
Modified Paths:
--------------
scummvm/trunk/sound/voc.cpp
Modified: scummvm/trunk/sound/voc.cpp
===================================================================
--- scummvm/trunk/sound/voc.cpp 2009-05-18 22:03:44 UTC (rev 40707)
+++ scummvm/trunk/sound/voc.cpp 2009-05-18 22:11:56 UTC (rev 40708)
@@ -143,6 +143,15 @@
case 7: // end of loop
assert(len == 0);
break;
+ case 8: // "Extended"
+ // This occures in the LoL Intro demo. This block can usually be used to create stereo
+ // sound, but the LoL intro has only an empty block, thus this dummy implementation will
+ // work.
+ assert(len == 4);
+ stream.readUint16LE();
+ stream.readByte();
+ stream.readByte();
+ break;
default:
warning("Unhandled code in VOC file : %d", code);
return ret_sound;
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