Commit 17d5450d authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

winealsa.drv: Use correct integral types.

parent 7219e6ec
...@@ -637,7 +637,7 @@ static snd_pcm_format_t alsa_format(const WAVEFORMATEX *fmt) ...@@ -637,7 +637,7 @@ static snd_pcm_format_t alsa_format(const WAVEFORMATEX *fmt)
return format; return format;
} }
static int alsa_channel_index(DWORD flag) static int alsa_channel_index(UINT flag)
{ {
switch(flag){ switch(flag){
case SPEAKER_FRONT_LEFT: case SPEAKER_FRONT_LEFT:
...@@ -702,7 +702,7 @@ static HRESULT map_channels(EDataFlow flow, const WAVEFORMATEX *fmt, int *alsa_c ...@@ -702,7 +702,7 @@ static HRESULT map_channels(EDataFlow flow, const WAVEFORMATEX *fmt, int *alsa_c
if(flow != eCapture && (fmt->wFormatTag == WAVE_FORMAT_EXTENSIBLE || fmt->nChannels > 2) ){ if(flow != eCapture && (fmt->wFormatTag == WAVE_FORMAT_EXTENSIBLE || fmt->nChannels > 2) ){
WAVEFORMATEXTENSIBLE *fmtex = (void*)fmt; WAVEFORMATEXTENSIBLE *fmtex = (void*)fmt;
DWORD mask, flag = SPEAKER_FRONT_LEFT; UINT mask, flag = SPEAKER_FRONT_LEFT;
UINT i = 0; UINT i = 0;
if(fmt->wFormatTag == WAVE_FORMAT_EXTENSIBLE && if(fmt->wFormatTag == WAVE_FORMAT_EXTENSIBLE &&
......
...@@ -1363,7 +1363,7 @@ static HRESULT WINAPI AudioCaptureClient_GetBuffer(IAudioCaptureClient *iface, ...@@ -1363,7 +1363,7 @@ static HRESULT WINAPI AudioCaptureClient_GetBuffer(IAudioCaptureClient *iface,
params.stream = This->stream; params.stream = This->stream;
params.data = data; params.data = data;
params.frames = frames; params.frames = frames;
params.flags = flags; params.flags = (UINT*)flags;
params.devpos = devpos; params.devpos = devpos;
params.qpcpos = qpcpos; params.qpcpos = qpcpos;
......
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