Microsoft DirectX 8.1 (Visual Basic)

DirectSoundCaptureBuffer8

An object of the DirectSoundCaptureBuffer8 class represents a buffer used to capture sounds.

A DirectSoundCaptureBuffer8 object is obtained by calling the DirectSoundCapture8.CreateCaptureBuffer method.

The methods of the DirectSoundCaptureBuffer8 class may be grouped as follows:

Information

Method Description
GetCaps Retrieves the capabilities of the buffer.
GetCurrentPosition Retrieves the capture and read cursors.
GetFormat Retrieves the format of the capture buffer.
GetStatus Retrieves the status of the capture buffer.

Buffer data

Method Description
ReadBuffer Reads a portion of the sound capture buffer and stores the data in an application buffer.
WriteBuffer Writes data to the capture buffer.

Notification

Method Description
SetNotificationPositions Sets points in the buffer where notification events are to be signaled.

Capture management

Method Description
Start Begins capturing data into the buffer.
Stop stops capturing data.

See Also