diff options
author | Chris Robinson <[email protected]> | 2015-01-11 15:02:26 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2015-01-11 15:02:26 -0800 |
commit | ed05c83ee7aa9464fe5e72cdd20916c3233dd283 (patch) | |
tree | 109d6544d59660c2bfefe8b653a5886325c8204a /Alc/backends | |
parent | 4dc9956a12881d282bdc499b89d8619d8e7d08e2 (diff) |
Fix the flags type
Diffstat (limited to 'Alc/backends')
-rw-r--r-- | Alc/backends/mmdevapi.c | 3 |
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, |