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

# SHAPE_EQCOMP_SIDECHAIN_MODE

> SHAPE_EQCOMP_SIDECHAIN_MODE

Sidechain modes.

## Syntax

```cpp theme={null}
enum SHAPE_EQCOMP_SIDECHAIN_MODE    
{  
    SHAPE_EQCOMP_SIDECHAIN_MODE_NORMAL,  
    SHAPE_EQCOMP_SIDECHAIN_MODE_INTERNAL,  
    SHAPE_EQCOMP_SIDECHAIN_MODE_EXTERNAL  
}  
```

## Constants

| Constant | Description |
| - | - |
| SHAPE\_EQCOMP\_SIDECHAIN\_MODE\_NORMAL | Normal mode. |
| SHAPE\_EQCOMP\_SIDECHAIN\_MODE\_INTERNAL | Internal mode. |
| SHAPE\_EQCOMP\_SIDECHAIN\_MODE\_EXTERNAL | External mode. |

## Remarks

This enumeration is used in the [GetShapeEqCompSidechainMode](https://docs.xbox.com/reference/audio/shapeeqcompcontext/functions/getshapeeqcompsidechainmode.md) and [SetShapeEqCompSidechainMode](https://docs.xbox.com/reference/audio/shapeeqcompcontext/functions/setshapeeqcompsidechainmode.md) functions.

The EQ/Compressor-Expander block takes input from one or two mix buffers:

* One input is the audio signal to be processed.
* The second input, called *sidechain*, is the optional control signal used to determine the audio compression.

The processing of each of the modes is shown in the following diagram.

**Normal, Internal, and External modes.**\\

![Diagram that shows the processing sequences for Normal, Internal, and External modes.](https://mintcdn.com/microsoft-4404708b/-_0FrcE2bDxzGxv-/images/gdk/reference/eqcompressor.png?fit=max\&auto=format\&n=-_0FrcE2bDxzGxv-\&q=85\&s=a86eefe2790561d6a18fb9e814da3204)

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

## Requirements

**Header:** shapeeqcompcontext.h

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

## See also

[ShapeEqCompContext](https://docs.xbox.com/reference/audio/shapeeqcompcontext/shapeeqcompcontext_members.md)


## Related topics

- [SetShapeEqCompSidechainMode](https://docs.xbox.com/reference/audio/shapeeqcompcontext/functions/setshapeeqcompsidechainmode.md)
- [GetShapeEqCompSidechainMode](https://docs.xbox.com/reference/audio/shapeeqcompcontext/functions/getshapeeqcompsidechainmode.md)
- [ShapeEqCompContext](https://docs.xbox.com/reference/audio/shapeeqcompcontext/shapeeqcompcontext_members.md)
- [SetShapeEqCompCommand](https://docs.xbox.com/reference/audio/shapeflowgraph/functions/setshapeeqcompcommand.md)
- [SHAPE_EQCOMP_CONTEXT](https://docs.xbox.com/reference/audio/shapeeqcompcontext/structs/shape_eqcomp_context.md)
