IMA ADPCM ACM driver

Eric Pouech eric.pouech at wanadoo.fr
Sun Oct 6 14:29:54 CDT 2002


some minor fixes
A+
-------------- next part --------------
Name:          ima
ChangeLog:     minor comments cleanups
removed unneeded FIXME:s
License:       X11
GenDate:       2002/10/06 19:19:55 UTC
ModifiedFiles: dlls/msacm/imaadp32/imaadp32.c
AddedFiles:    
===================================================================
RCS file: /home/cvs/cvsroot/wine/wine/dlls/msacm/imaadp32/imaadp32.c,v
retrieving revision 1.6
diff -u -u -r1.6 imaadp32.c
--- dlls/msacm/imaadp32/imaadp32.c	10 Jun 2002 22:48:15 -0000	1.6
+++ dlls/msacm/imaadp32/imaadp32.c	6 Oct 2002 19:07:35 -0000
@@ -1,9 +1,7 @@
-/* -*- tab-width: 8; c-basic-offset: 4 -*- */
-
 /*
- * ADPCM handling (includes both MS and IMA forms)
+ * IMA ADPCM handling
  *
- *      Copyright (C) 2001		Eric Pouech
+ *      Copyright (C) 2001,2002		Eric Pouech
  *
  *
  * This library is free software; you can redistribute it and/or
@@ -650,7 +648,7 @@
         /* FIXME: not handling header overhead */
         adfs->pwfxDst->nAvgBytesPerSec = ((adfs->pwfxDst->nSamplesPerSec * 4) / 8) * adfs->pwfxSrc->nChannels;
         ((IMAADPCMWAVEFORMAT*)adfs->pwfxDst)->wSamplesPerBlock = (1024 - 4 * adfs->pwfxSrc->nChannels) * (2 / adfs->pwfxSrc->nChannels) + 1;
-        FIXME("setting spb=%u\n", ((IMAADPCMWAVEFORMAT*)adfs->pwfxDst)->wSamplesPerBlock);
+        TRACE("setting spb=%u\n", ((IMAADPCMWAVEFORMAT*)adfs->pwfxDst)->wSamplesPerBlock);
         break;
     default:
         FIXME("\n");
@@ -706,7 +704,7 @@
 	    goto theEnd;
 
         nspb = ((LPIMAADPCMWAVEFORMAT)adsi->pwfxSrc)->wSamplesPerBlock;
-        FIXME("spb=%u\n", nspb);
+        TRACE("spb=%u\n", nspb);
 
         /* we check that in a block, after the header, samples are present on
          * 4-sample packet pattern
@@ -731,7 +729,7 @@
 	    goto theEnd;
 
         nspb = ((LPIMAADPCMWAVEFORMAT)adsi->pwfxDst)->wSamplesPerBlock;
-        FIXME("spb=%u\n", nspb);
+        TRACE("spb=%u\n", nspb);
 
         /* we check that in a block, after the header, samples are present on
          * 4-sample packet pattern


More information about the wine-patches mailing list