Platform SDK: DirectX

DirectSoundBuffer.GetFormat

The DirectSoundBuffer.GetFormat method retrieves a description of the wave format of the buffer.

object.GetFormat(format As WAVEFORMATEX)

Parameters

object
Object expression that resolves to a DirectSoundBuffer object.
format
WAVEFORMATEX type that receives a description of the wave format of the buffer.

Error Codes

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

See Also

DirectSoundBuffer.SetFormat