Platform SDK: DirectX

DirectSoundCaptureBuffer.GetFormat

The DirectSoundCaptureBuffer.GetFormat method retrieves the format of the capture buffer.

object.GetFormat(waveformat As WAVEFORMATEX)

Parameters

object
Object expression that resolves to a DirectSoundCaptureBuffer object.
waveformat
WAVEFORMATEX type that receives a description of the capture buffer format.

Error Codes

If the method fails, an error is raised and Err.Number may be set to DSERR_INVALIDPARAM.