Microsoft DirectX 8.0 (Visual Basic)

DirectSound3DListener8.GetDirectSoundBuffer

Retrieves the primary buffer from which the listener was created.

object.GetDirectSoundBuffer() As DirectSoundPrimaryBuffer8

Parts

object
Resolves to a DirectSound3DListener8 object.

Return Values

Returns a DirectSoundPrimaryBuffer8 object.

Error Codes

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