src/multimedia/audio/qaudioinput_win32_p.h
branchRCL_3
changeset 13 c0432d11811c
parent 4 3b1da2848fc7
equal deleted inserted replaced
12:cc75c76972ee 13:c0432d11811c
   120     WAVEHDR* waveBlocks;
   120     WAVEHDR* waveBlocks;
   121     volatile bool finished;
   121     volatile bool finished;
   122     volatile int waveFreeBlockCount;
   122     volatile int waveFreeBlockCount;
   123     int waveCurrentBlock;
   123     int waveCurrentBlock;
   124 
   124 
       
   125     CRITICAL_SECTION waveInCriticalSection;
       
   126 
   125     static void CALLBACK waveInProc( HWAVEIN hWaveIn, UINT uMsg,
   127     static void CALLBACK waveInProc( HWAVEIN hWaveIn, UINT uMsg,
   126             DWORD dwInstance, DWORD dwParam1, DWORD dwParam2 );
   128             DWORD dwInstance, DWORD dwParam1, DWORD dwParam2 );
   127 
   129 
   128     WAVEHDR* allocateBlocks(int size, int count);
   130     WAVEHDR* allocateBlocks(int size, int count);
   129     void freeBlocks(WAVEHDR* blockArray);
   131     void freeBlocks(WAVEHDR* blockArray);