msg711.acm: Constify some variables.

This commit is contained in:
Andrew Talbot 2007-05-28 18:11:40 +01:00 committed by Alexandre Julliard
parent 9312f0f974
commit 231fa34135

View file

@ -94,7 +94,7 @@ static const Format ULaw_Formats[] =
/*********************************************************************** /***********************************************************************
* G711_GetFormatIndex * G711_GetFormatIndex
*/ */
static DWORD G711_GetFormatIndex(LPWAVEFORMATEX wfx) static DWORD G711_GetFormatIndex(const WAVEFORMATEX *wfx)
{ {
int i, hi; int i, hi;
const Format* fmts; const Format* fmts;
@ -983,7 +983,7 @@ static LRESULT G711_StreamClose(PACMDRVSTREAMINSTANCE adsi)
* G711_StreamSize * G711_StreamSize
* *
*/ */
static LRESULT G711_StreamSize(PACMDRVSTREAMINSTANCE adsi, PACMDRVSTREAMSIZE adss) static LRESULT G711_StreamSize(const ACMDRVSTREAMINSTANCE *adsi, PACMDRVSTREAMSIZE adss)
{ {
switch (adss->fdwSize) switch (adss->fdwSize)
{ {