Microsoft DirectX 8.1 (Visual Basic) |
The GetDirectSound3DListener method creates a listener object, which represents the person listening to the sound. The listener object can be used to set global sound parameters.
Syntax
object.GetDirectSound3DListener() As DirectSound3DListener8
Parts
object
Resolves to a DirectSoundPrimaryBuffer8 object.
Return Values
Returns a DirectSound3DListener8 object.
Error Codes
If the method fails, an error is raised and Err.Number is set.
Remarks
The method succeeds only if the primary buffer was created with the DSBCAPS_CTRL3D flag.