diff options
author | Kurt Korbatits <kurt.korbatits@nokia.com> | 2010-04-09 02:59:47 (GMT) |
---|---|---|
committer | Kurt Korbatits <kurt.korbatits@nokia.com> | 2010-04-09 02:59:47 (GMT) |
commit | a5b4b54820b9266a2916981002e9be66fd0a7710 (patch) | |
tree | 1025927817d9a396b8cffce7ea0a8c223c052dde /src/multimedia/audio/qaudioinput_win32_p.h | |
parent | 0b1dd92c46c91711b31e1d4bded5cb5145ae161b (diff) | |
download | Qt-a5b4b54820b9266a2916981002e9be66fd0a7710.zip Qt-a5b4b54820b9266a2916981002e9be66fd0a7710.tar.gz Qt-a5b4b54820b9266a2916981002e9be66fd0a7710.tar.bz2 |
Just one (static) waveInCriticalSection but multiple QAudioInput to
record from different soundcards
Task-number:QTBUG-9221
Reviewed-by:Andrew den Exter
Diffstat (limited to 'src/multimedia/audio/qaudioinput_win32_p.h')
-rw-r--r-- | src/multimedia/audio/qaudioinput_win32_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/multimedia/audio/qaudioinput_win32_p.h b/src/multimedia/audio/qaudioinput_win32_p.h index d555eff..a12c75e 100644 --- a/src/multimedia/audio/qaudioinput_win32_p.h +++ b/src/multimedia/audio/qaudioinput_win32_p.h @@ -122,6 +122,8 @@ private: volatile int waveFreeBlockCount; int waveCurrentBlock; + CRITICAL_SECTION waveInCriticalSection; + static void CALLBACK waveInProc( HWAVEIN hWaveIn, UINT uMsg, DWORD dwInstance, DWORD dwParam1, DWORD dwParam2 ); |