|
AudRecordLib
|
#include <messages.h>
Public Attributes | |
| ULONGLONG | bufferDuration |
| struct IMMDevice * | pDevice |
| struct IAudioClient * | pClient |
| struct IAudioCaptureClient * | pCaptureClient |
| struct tWAVEFORMATEX * | pwfx |
| HRESULT | hr |
Params for the MSG_CREATE_AUDIO_CLIENT message
The audio client must be released on the same thread as the one that created it so it is created on the sampling thread using this structure
| ULONGLONG CreateAudioClientParams::bufferDuration |
In parameter - the requested size of the audio buffer in the created audio client in 100ns units
| HRESULT CreateAudioClientParams::hr |
Out parameter - result value
| struct IAudioCaptureClient* CreateAudioClientParams::pCaptureClient |
Out parameter - interface pointer that captures the audio
| struct IAudioClient* CreateAudioClientParams::pClient |
Out parameter - created audio client interface pointer
| struct IMMDevice* CreateAudioClientParams::pDevice |
In parameter - specifies the requested size of the audio buffer in the created audio client
| struct tWAVEFORMATEX* CreateAudioClientParams::pwfx |
Out parameter - wave format of the audio client, must be freed by CoTaskMemFree
1.7.5.1