Listener3D.Listener3D Constructor

Language:

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

Definition

Visual Basic Public Sub New( _
    ByVal lp As Buffer _
)
C# public Listener3D(
    Buffer lp
);
C++ public:
 Listener3D(
    Bufferlp
);
JScript 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.


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

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