Platform SDK: DirectX

DirectSoundBuffer.GetDirectSound3DListener

The DirectSoundBuffer.GetDirectSound3DListener method returns a DirectSound3DListener object.

object.GetDirectSound3DListener() As DirectSound3DListener

Parameters

object
Object expression that resolves to a DirectSoundBuffer object.

Return Values

If the method succeeds, a DirectSound3DListener object is returned.

Error Codes

If the method fails, an error is raised and Err.Number is set.

Remarks

The method succeeds only on buffers that have been created with the DSBCAPS_CTRL3D and DSBCAPS_PRIMARYBUFFER flags.

See Also

DirectSound.CreateSoundBuffer