imaadp32.acm: Constify some variables

Andrew Talbot Andrew.Talbot at talbotville.com
Wed May 2 15:24:31 CDT 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-02-14 21:32:23.000000000 +0000
+++ b/dlls/imaadp32.acm/imaadp32.c	2007-05-02 20:05:39.000000000 +0100
@@ -93,7 +93,7 @@
 /***********************************************************************
  *           ADPCM_GetFormatIndex
  */
-static	DWORD	ADPCM_GetFormatIndex(LPWAVEFORMATEX wfx)
+static	DWORD	ADPCM_GetFormatIndex(const WAVEFORMATEX *wfx)
 {
     int             i, hi;
     const Format*   fmts;
@@ -773,7 +773,7 @@
  *           ADPCM_StreamSize
  *
  */
-static	LRESULT ADPCM_StreamSize(PACMDRVSTREAMINSTANCE adsi, PACMDRVSTREAMSIZE adss)
+static	LRESULT ADPCM_StreamSize(const ACMDRVSTREAMINSTANCE *adsi, PACMDRVSTREAMSIZE adss)
 {
     switch (adss->fdwSize)
     {



More information about the wine-patches mailing list