]> Repos - portaudio/commitdiff
wmme: fix possible unused variable warning (not a real issue)
authorRoss Bencina <rossb@audiomulch.com>
Sat, 10 Sep 2016 14:25:30 +0000 (00:25 +1000)
committerRoss Bencina <rossb@audiomulch.com>
Sat, 10 Sep 2016 14:25:30 +0000 (00:25 +1000)
src/hostapi/wmme/pa_win_wmme.c

index d214bd974c394118ebb2ccc81c6f3ba7d395b24f..2da90f4578d9fa6c244c9d16edfb79e88ead2f92 100644 (file)
@@ -2368,7 +2368,7 @@ static PaError OpenStream( struct PaUtilHostApiRepresentation *hostApi,
     unsigned long hostInputBufferCount;
     unsigned long framesPerHostOutputBuffer;
     unsigned long hostOutputBufferCount;
-    unsigned long framesPerBufferProcessorCall;
+    unsigned long framesPerBufferProcessorCall = 0;
     PaWinMmeDeviceAndChannelCount *inputDevices = 0;  /* contains all devices and channel counts as local host api ids, even when PaWinMmeUseMultipleDevices is not used */
     unsigned long winMmeSpecificInputFlags = 0;
     unsigned long inputDeviceCount = 0;