[Scummvm-cvs-logs] CVS: scummvm/sound adpcm.cpp,1.4,1.5

Max Horn fingolfin at users.sourceforge.net
Fri Jun 24 09:22:50 CEST 2005


Update of /cvsroot/scummvm/scummvm/sound
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17006

Modified Files:
	adpcm.cpp 
Log Message:
Fixed Oki table entry; added doc URL; mention IMA ADPCM

Index: adpcm.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sound/adpcm.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- adpcm.cpp	24 Jun 2005 15:23:45 -0000	1.4
+++ adpcm.cpp	24 Jun 2005 16:21:10 -0000	1.5
@@ -27,7 +27,10 @@
 
 
 // Routines to convert 12 bit linear samples to the
-// Dialogic or Oki ADPCM coding format aka VOX
+// Dialogic or Oki ADPCM coding format aka VOX.
+// See also <http://www.comptek.ru/telephony/tnotes/tt1-13.html>
+//
+// In addition, also IMA ADPCM is supported.
 class ADPCMInputStream : public AudioStream {
 private:
 	bool _evenPos;
@@ -196,7 +199,6 @@
 		E += SS/2;
 	if (code & 0x04)
 		E += SS;
-
 	diff = (code & 0x08) ? -E : E;
 	samp = _status.last + diff;
 





More information about the Scummvm-git-logs mailing list