imaadp32.acm: Constify some variables

Andrew Talbot Andrew.Talbot at talbotville.com
Wed Feb 14 08:35:58 CST 2007


Changelog:
    imaadp32.acm: Constify some variables.

diff -urN a/dlls/imaadp32.acm/imaadp32.c b/dlls/imaadp32.acm/imaadp32.c
--- a/dlls/imaadp32.acm/imaadp32.c	2007-01-10 22:13:12.000000000 +0000
+++ b/dlls/imaadp32.acm/imaadp32.c	2007-02-14 14:18:21.000000000 +0000
@@ -73,7 +73,7 @@
     int		rate;
 } Format;
 
-static Format PCM_Formats[] =
+static const Format PCM_Formats[] =
 {
     {1,  8,  8000}, {2,  8,  8000}, {1, 16,  8000}, {2, 16,  8000},
     {1,  8, 11025}, {2,  8, 11025}, {1, 16, 11025}, {2, 16, 11025},
@@ -95,8 +95,8 @@
  */
 static	DWORD	ADPCM_GetFormatIndex(LPWAVEFORMATEX wfx)
 {
-    int 	i, hi;
-    Format*	fmts;
+    int             i, hi;
+    const Format*   fmts;
 
     switch (wfx->wFormatTag)
     {



More information about the wine-patches mailing list