diff options
Diffstat (limited to 'Alc/backends/mmdevapi.c')
-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, |