Platform SDK: DirectX

DirectSound3DListener.GetDirectSoundBuffer

The DirectSound3DListener.GetDirectSoundBuffer method returns a DirectSoundBuffer object representing the primary buffer.

object.GetDirectSoundBuffer() As DirectSoundBuffer

Parameters

object
Object expression that resolves to a DirectSound3DListener object.

Return Values

If the method succeeds, a DirectSoundBuffer object is returned.

Error Codes

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