> ## 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.

# SHAPE_EQCOMP_EXPAND_MODE

> SHAPE_EQCOMP_EXPAND_MODE

# SHAPE\_EQCOMP\_EXPAND\_MODE

Compressor-Expander modes.

## Syntax

```cpp theme={null}
enum SHAPE_EQCOMP_EXPAND_MODE    
{  
    SHAPE_EQCOMP_EXPAND_MODE_COMPRESSOR,  
    SHAPE_EQCOMP_EXPAND_MODE_EXPANDER  
}  
```

## Constants

| Constant                                | Description       |
| --------------------------------------- | ----------------- |
| SHAPE\_EQCOMP\_EXPAND\_MODE\_COMPRESSOR | Compression mode. |
| SHAPE\_EQCOMP\_EXPAND\_MODE\_EXPANDER   | Expansion mode.   |

## Remarks

This enumeration is used by the [GetShapeEqCompEnableCompressor](/reference/audio/shapeeqcompcontext/functions/getshapeeqcompenablecompressor) and [SetShapeEqCompEnableCompressor](/reference/audio/shapeeqcompcontext/functions/setshapeeqcompenablecompressor) functions. When `SHAPE_EQCOMP_EXPAND_MODE_COMPRESSOR` is specified, the EQ/Compressor-Expander block is in compression mode; when `SHAPE_EQCOMP_EXPAND_MODE_EXPANDER` is specified, the EQ/Compressor-Expander block is in expansion mode.

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

- [SetShapeEqCompExpandMode](/reference/audio/shapeeqcompcontext/functions/setshapeeqcompexpandmode.md)
- [GetShapeEqCompExpandMode](/reference/audio/shapeeqcompcontext/functions/getshapeeqcompexpandmode.md)
- [ShapeEqCompContext](/reference/audio/shapeeqcompcontext/shapeeqcompcontext_members.md)
- [SHAPE_EQCOMP_CONTEXT](/reference/audio/shapeeqcompcontext/structs/shape_eqcomp_context.md)
- [GetShapeEqCompThreshold](/reference/audio/shapeeqcompcontext/functions/getshapeeqcompthreshold.md)
