Share via


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

Initializes a new instance of the WavesReverbEffect class. 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 source As SecondaryBuffer _
)
C# public WavesReverbEffect(
    IntPtrLeave Site lp,
    SecondaryBuffer source
);
C++ public:
 WavesReverbEffect(
    IntPtrLeave Site lp,
    SecondaryBuffersource
);
JScript public function WavesReverbEffect(
    lp : IntPtrLeave Site,
    source : 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 WavesReverbEffect. Not supported.
source Microsoft.DirectX.DirectSound.SecondaryBuffer
The SecondaryBuffer that is using this effect.

Remarks

Obtain the WavesReverbEffect object by calling on the GetEffects or GetObjectInPath method of the SecondaryBuffer object that is using the effect.

See Also