diff options
Diffstat (limited to 'alc/backends/dsound.cpp')
-rw-r--r-- | alc/backends/dsound.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/alc/backends/dsound.cpp b/alc/backends/dsound.cpp index c581fe8f..c7014e33 100644 --- a/alc/backends/dsound.cpp +++ b/alc/backends/dsound.cpp @@ -828,9 +828,9 @@ ALCuint DSoundCapture::availableSamples() DWORD BufferBytes{mBufferBytes}; DWORD LastCursor{mCursor}; - DWORD ReadCursor; - void *ReadPtr1, *ReadPtr2; - DWORD ReadCnt1, ReadCnt2; + DWORD ReadCursor{}; + void *ReadPtr1{}, *ReadPtr2{}; + DWORD ReadCnt1{}, ReadCnt2{}; HRESULT hr{mDSCbuffer->GetCurrentPosition(nullptr, &ReadCursor)}; if(SUCCEEDED(hr)) { |