CompressorEffect.CompressorEffect Constructor

Language:

Initializes a new instance of the CompressorEffect 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 IntPtr, _
    ByVal source As SecondaryBuffer _
)
C# public CompressorEffect(
    IntPtr lp,
    SecondaryBuffer source
);
C++ public:
 CompressorEffect(
    IntPtr lp,
    SecondaryBuffersource
);
JScript public function CompressorEffect(
    lp : IntPtr,
    source : SecondaryBuffer
);

Parameters

lp System.IntPtr
Pointer to the unmanaged Component Object Model (COM) interface, IDirectSoundFXCompressor8, which allows unmanaged COM clients to create an instance of the managed CompressorEffect class. Not supported.
source Microsoft.DirectX.DirectSound.SecondaryBuffer
The SecondaryBuffer that is using this effect.

Remarks

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

See Also


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