Microsoft Windows CE 3.0  

Creating the DirectSoundCapture Object

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

You create the DirectSoundCapture object by calling the DirectSoundCaptureCreatefunction, which returns a pointer to an IDirectSoundCaptureCOM interface.

The lpGUIDparameter to DirectSoundCaptureCreatecan be a GUID obtained by enumeration, or it can be NULL for the preferred capture device. In most cases you will pass NULL.

If you want DirectSound and DirectSoundCapture objects to coexist, then you should create and initialize the DirectSound object before creating and initializing the DirectSoundCapture object.

Some audio devices aren't configured for full duplex audio by default. If you have problems with creating and initializing both a DirectSound object and a DirectSoundCapture object, you should check your audio device to ensure that two DMA channels are enabled.



 Last updated on Tuesday, May 18, 2004

© 2004 Microsoft Corporation. All rights reserved.