Microsoft DirectX 9.0 SDK Update (October 2004)

Listener3D.Listener3D Constructor

Language:

Note: This documentation is preliminary and is subject to change.

Initializes a new instance of the object using a primary Buffer object.

Definition

Visual Basic .NET Public Sub New( _
    ByVal lp As Buffer _
)
C# public Listener3D(
    Buffer lp
);
Managed C++ public: Listener3D(
    Buffer *lp
);
JScript .NET public function Listener3D(
    lp : Buffer
);

Parameters

lp Microsoft.DirectX.DirectSound.Buffer. A primary Buffer object that acts as the sound source for the listener.

Remarks

The Buffer object passed to this method must have the PrimaryBuffer property set to true in its BufferDescription.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center