aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2015-01-11 15:02:26 -0800
committerChris Robinson <[email protected]>2015-01-11 15:02:26 -0800
commited05c83ee7aa9464fe5e72cdd20916c3233dd283 (patch)
tree109d6544d59660c2bfefe8b653a5886325c8204a /Alc
parent4dc9956a12881d282bdc499b89d8619d8e7d08e2 (diff)
Fix the flags type
Diffstat (limited to 'Alc')
-rw-r--r--Alc/backends/mmdevapi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Alc/backends/mmdevapi.c b/Alc/backends/mmdevapi.c
index 87895680..be64c2f5 100644
--- a/Alc/backends/mmdevapi.c
+++ b/Alc/backends/mmdevapi.c
@@ -1222,7 +1222,8 @@ FORCE_ALIGN int ALCmmdevCapture_recordProc(void *arg)
ERR("Failed to get next packet size: 0x%08lx\n", hr);
else while(avail > 0 && SUCCEEDED(hr))
{
- UINT32 flags, numsamples;
+ UINT32 numsamples;
+ DWORD flags;
BYTE *data;
hr = IAudioCaptureClient_GetBuffer(self->capture,