Commit ab6ad772 authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

dsound: Constify some variables.

parent 1e12e90c
...@@ -344,7 +344,7 @@ static HRESULT DSPROPERTY_EnumerateW( ...@@ -344,7 +344,7 @@ static HRESULT DSPROPERTY_EnumerateW(
return S_OK; return S_OK;
} }
static BOOL DSPROPERTY_descWtoA(DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W_DATA *dataW, static BOOL DSPROPERTY_descWtoA(const DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W_DATA *dataW,
DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_A_DATA *dataA) DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_A_DATA *dataA)
{ {
DWORD modlen, desclen; DWORD modlen, desclen;
...@@ -372,7 +372,7 @@ static BOOL DSPROPERTY_descWtoA(DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W_DATA ...@@ -372,7 +372,7 @@ static BOOL DSPROPERTY_descWtoA(DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W_DATA
return TRUE; return TRUE;
} }
static void DSPROPERTY_descWto1(DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W_DATA *dataW, static void DSPROPERTY_descWto1(const DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W_DATA *dataW,
DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_1_DATA *data1) DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_1_DATA *data1)
{ {
data1->DeviceId = dataW->DeviceId; data1->DeviceId = dataW->DeviceId;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment