> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SetShapeEqCompRelease

> SetShapeEqCompRelease

# SetShapeEqCompRelease

Sets the compression release multiplier.

## Syntax

```cpp theme={null}
HRESULT SetShapeEqCompRelease(  
         SHAPE_EQCOMP_CONTEXT* context,  
         float release  
)  
```

### Parameters

*context*   \_Inout\_\
Type: [SHAPE\_EQCOMP\_CONTEXT\*](/reference/audio/shapeeqcompcontext/structs/shape_eqcomp_context)

Pointer to a `SHAPE_EQCOMP_CONTEXT` object.

*release*   \
Type: float

The release multiplier.

### Return value

Type: HRESULT

HRESULT success or error code.

## Remarks

Attack and release are specified in milliseconds, and correspond to how quickly the compressor should vary the output gain in response to the signal exceeding or falling below the threshold. These adjustments can be linear or log based.

The desired output level is not achieved until the input has exceeded the threshold for the time specified by attack, and similarly returns to unity only after the input is under the threshold for the time specified by release.

For more information, see [Equalization and compression](/build/console-features/audio/overviews/shape-overview#ID4ECF) in [Overview of SHAPE](/build/console-features/audio/overviews/shape-overview).

## Requirements

**Header:** shapeeqcompcontext.h

**Supported platforms:** XBOX One family consoles and XBOX Series consoles

## See also

[ShapeEqCompContext](/reference/audio/shapeeqcompcontext/shapeeqcompcontext_members)


## Related topics

- [ShapeEqCompContext](/reference/audio/shapeeqcompcontext/shapeeqcompcontext_members.md)
- [SetShapeEqCompAttack](/reference/audio/shapeeqcompcontext/functions/setshapeeqcompattack.md)
- [SetShapeEqCompLogGain](/reference/audio/shapeeqcompcontext/functions/setshapeeqcomploggain.md)
- [GetShapeEqCompRelease](/reference/audio/shapeeqcompcontext/functions/getshapeeqcomprelease.md)
- [SetShapeEqCompGain](/reference/audio/shapeeqcompcontext/functions/setshapeeqcompgain.md)
