Skip to main content

GetShapeEqCompLogGain

Gets the log gain mode of the compressor.

Syntax

Parameters

context   _In_
Type: SHAPE_EQCOMP_CONTEXT*
Pointer to a SHAPE_EQCOMP_CONTEXT object.

Return value

Type: SHAPE_EQCOMP_LOG_GAIN A member of the SHAPE_EQCOMP_LOG_GAIN enumeration.

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 consoles

See also

SetShapeEqCompLogGain
SHAPE_EQCOMP_LOG_GAIN
ShapeEqCompContext
Last modified on August 20, 2026