mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 21:40:31 +00:00
winealsa.drv: Use correct integral types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com> Signed-off-by: Andrew Eikum <aeikum@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
7219e6ecb4
commit
17d5450d99
|
@ -637,7 +637,7 @@ static snd_pcm_format_t alsa_format(const WAVEFORMATEX *fmt)
|
|||
return format;
|
||||
}
|
||||
|
||||
static int alsa_channel_index(DWORD flag)
|
||||
static int alsa_channel_index(UINT flag)
|
||||
{
|
||||
switch(flag){
|
||||
case SPEAKER_FRONT_LEFT:
|
||||
|
@ -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) ){
|
||||
WAVEFORMATEXTENSIBLE *fmtex = (void*)fmt;
|
||||
DWORD mask, flag = SPEAKER_FRONT_LEFT;
|
||||
UINT mask, flag = SPEAKER_FRONT_LEFT;
|
||||
UINT i = 0;
|
||||
|
||||
if(fmt->wFormatTag == WAVE_FORMAT_EXTENSIBLE &&
|
||||
|
|
|
@ -1363,7 +1363,7 @@ static HRESULT WINAPI AudioCaptureClient_GetBuffer(IAudioCaptureClient *iface,
|
|||
params.stream = This->stream;
|
||||
params.data = data;
|
||||
params.frames = frames;
|
||||
params.flags = flags;
|
||||
params.flags = (UINT*)flags;
|
||||
params.devpos = devpos;
|
||||
params.qpcpos = qpcpos;
|
||||
|
||||
|
|
Loading…
Reference in a new issue