Browse Source

Change type of captureFlags to DWORD

fix-wasapi-resampler-crash
Mark Wissink 5 years ago
parent
commit
40c1649ede
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      RtAudio.cpp

+ 1
- 1
RtAudio.cpp View File

@@ -4941,7 +4941,7 @@ void RtApiWasapi::wasapiThread()
// declare local stream variables
RtAudioCallback callback = ( RtAudioCallback ) stream_.callbackInfo.callback;
BYTE* streamBuffer = NULL;
unsigned long captureFlags = 0;
DWORD captureFlags = 0;
unsigned int bufferFrameCount = 0;
unsigned int numFramesPadding = 0;
unsigned int convBufferSize = 0;


Loading…
Cancel
Save