Platform SDK: DirectX |
The DirectSound3DBuffer.GetDirectSound3DListener method returns a DirectSound3DListener object.
object.GetDirectSound3DListener() As DirectSound3DListener
If the method succeeds, a DirectSound3DListener object is returned.
If the method fails, an error is raised and Err.Number may be set to E_NOINTERFACE.
This method can be used to obtain the listener from a DirectSound3DBuffer that was obtained from a DirectSoundBuffer representing the primary buffer. Most applications obtain the listener directly from the object representing the primary buffer by calling DirectSoundBuffer.GetDirectSound3DListener .