SetShapeEqCompLogGain
Sets the log gain mode of the compressor.Syntax
Parameters
context _Inout_Type: SHAPE_EQCOMP_CONTEXT* Pointer to a
SHAPE_EQCOMP_CONTEXT object.
mode Type: SHAPE_EQCOMP_LOG_GAIN A member of the
SHAPE_EQCOMP_LOG_GAIN enumeration.
Return value
Type: HRESULT HRESULT success or error code.Remarks
The attack and release values specify how quickly the compressor is to vary the output gain in response to a signal that exceeds the threshold or falls below it. These adjustments can be linear or log based. For more information, see Equalization and compression in Overview of SHAPE.Requirements
Header: shapeeqcompcontext.h Supported platforms: XBOX One family consoles and XBOX Series consolesSee also
GetShapeEqCompLogGainSHAPE_EQCOMP_LOG_GAIN
ShapeEqCompContext
