diff -r cc75c76972ee -r c0432d11811c src/multimedia/audio/qaudioinput_win32_p.h --- a/src/multimedia/audio/qaudioinput_win32_p.h Wed Apr 21 12:15:23 2010 +0300 +++ b/src/multimedia/audio/qaudioinput_win32_p.h Wed Apr 21 20:15:53 2010 +0300 @@ -122,6 +122,8 @@ volatile int waveFreeBlockCount; int waveCurrentBlock; + CRITICAL_SECTION waveInCriticalSection; + static void CALLBACK waveInProc( HWAVEIN hWaveIn, UINT uMsg, DWORD dwInstance, DWORD dwParam1, DWORD dwParam2 );