DirectX SDK

DirectSound3DBuffer.GetDirectSound3DListener

The DirectSound3DBuffer.GetDirectSound3DListener method returns a DirectSound3DListener object.

object.GetDirectSound3DListener() As DirectSound3DListener

Parameters

object
Object expression that resolves to a DirectSound3DBuffer 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 may be set to E_NOINTERFACE.

Remarks

The DirectSound3DListener object may only be created from the primary sound buffer.