diff -r cc75c76972ee -r c0432d11811c src/multimedia/audio/qaudiooutput_win32_p.h --- a/src/multimedia/audio/qaudiooutput_win32_p.h Wed Apr 21 12:15:23 2010 +0300 +++ b/src/multimedia/audio/qaudiooutput_win32_p.h Wed Apr 21 20:15:53 2010 +0300 @@ -119,6 +119,8 @@ static void CALLBACK waveOutProc( HWAVEOUT hWaveOut, UINT uMsg, DWORD dwInstance, DWORD dwParam1, DWORD dwParam2 ); + CRITICAL_SECTION waveOutCriticalSection; + WAVEHDR* allocateBlocks(int size, int count); void freeBlocks(WAVEHDR* blockArray); bool open();