Language

Listener3D.Listener3D(IntPtr,SecondaryBuffer) Constructor (Microsoft.DirectX.DirectSound)

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 IntPtrLeave Site, _
    ByVal buff As SecondaryBuffer _
)
C# public Listener3D(
    IntPtrLeave Site lp,
    SecondaryBuffer buff
);
C++ public:
 Listener3D(
    IntPtrLeave Site lp,
    SecondaryBuffer^ buff
);
JScript public function Listener3D(
    lp : IntPtrLeave Site,
    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.