equal
deleted
inserted
replaced
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); |