Listener3D.Listener3D Constructor

Language:

Initializes a new instance of the object. This method supports the .NET Framework Infrastructure and is not intended to be used directly in your code.

Definition

Visual Basic Public Sub New( _
    ByVal lp As IntPtr, _
    ByVal buff As SecondaryBuffer _
)
C# public Listener3D(
    IntPtr lp,
    SecondaryBuffer buff
);
C++ public:
 Listener3D(
    IntPtr lp,
    SecondaryBufferbuff
);
JScript public function Listener3D(
    lp : IntPtr,
    buff : SecondaryBuffer
);

Parameters

lp System.IntPtr
Pointer to the unmanaged Component Object Model (COM) interface, IDirectSoundFXWavesReverb8, which allows unmanaged COM clients to create an instance of the managed Listener3D class. Not supported.
buff Microsoft.DirectX.DirectSound.SecondaryBuffer
A SecondaryBuffer object that acts as the sound source for the listener.

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