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. This method supports the .NET Framework Infrastructure and is not intended to be used directly in your code.

Definition

Visual Basic .NET Public Sub New( _
    ByVal lp As IntPtr, _
    ByVal buff As SecondaryBuffer _
)
C# public Listener3D(
    IntPtr lp,
    SecondaryBuffer buff
);
Managed C++ public: Listener3D(
    IntPtr lp,
    SecondaryBuffer *buff
);
JScript .NET 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.

© 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