[Scummvm-cvs-logs] SF.net SVN: scummvm: [29551] scummvm/trunk/sound/voc.cpp
cyx at users.sourceforge.net
cyx at users.sourceforge.net
Sun Nov 18 07:24:40 CET 2007
Revision: 29551
http://scummvm.svn.sourceforge.net/scummvm/?rev=29551&view=rev
Author: cyx
Date: 2007-11-17 22:24:40 -0800 (Sat, 17 Nov 2007)
Log Message:
-----------
skip silence VOC block (used in Igor)
Modified Paths:
--------------
scummvm/trunk/sound/voc.cpp
Modified: scummvm/trunk/sound/voc.cpp
===================================================================
--- scummvm/trunk/sound/voc.cpp 2007-11-18 06:16:58 UTC (rev 29550)
+++ scummvm/trunk/sound/voc.cpp 2007-11-18 06:24:40 UTC (rev 29551)
@@ -127,6 +127,14 @@
warning("VOC file packing %d unsupported", packing);
}
} break;
+ case 3: // silence
+ // occur with a few Igor sounds, voc file starts with a silence block with a
+ // frequency different from the data block. Just ignore fow now (implementing
+ // it wouldn't make a big difference anyway...)
+ assert(len == 3);
+ stream.readUint16LE();
+ stream.readByte();
+ break;
case 6: // begin of loop
assert(len == 2);
loops = stream.readUint16LE();
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