dsound: Constify some variables.
This commit is contained in:
parent
1e12e90cc9
commit
ab6ad77243
|
@ -344,7 +344,7 @@ static HRESULT DSPROPERTY_EnumerateW(
|
|||
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)
|
||||
{
|
||||
DWORD modlen, desclen;
|
||||
|
@ -372,7 +372,7 @@ static BOOL DSPROPERTY_descWtoA(DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W_DATA
|
|||
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)
|
||||
{
|
||||
data1->DeviceId = dataW->DeviceId;
|
||||
|
|
Loading…
Reference in New Issue