IltmmCapture::get_AudioCaptureFormats Example for C
IltmmAudioFormats *pAudioFormats;
Long lCount;
IltmmCapture__get_AudioCaptureFormats(pCapture,
&pAudioFormats);
// get the count
IltmmAudioFormats__get_Count(pAudioFormats,
&lCount)
// select the first format
If( lCount > 0 )
{
// select the first audio format
IltmmAudioFormats__put_Selection(pAudioFormats,
0);
}
// release when done
IltmmAudioFormats_Release();