msg711.acm: Constify some variables.
This commit is contained in:
parent
9312f0f974
commit
231fa34135
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue