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

> 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](/reference/audio/shapeeqcompcontext/functions/getshapeeqcompsidechainmode) and [SetShapeEqCompSidechainMode](/reference/audio/shapeeqcompcontext/functions/setshapeeqcompsidechainmode) 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.**\\

<img src="https://mintcdn.com/microsoft-4404708b/-_0FrcE2bDxzGxv-/images/gdk/reference/eqcompressor.png?fit=max&auto=format&n=-_0FrcE2bDxzGxv-&q=85&s=a86eefe2790561d6a18fb9e814da3204" alt="Diagram that shows the processing sequences for Normal, Internal, and External modes." width="344" height="400" data-path="images/gdk/reference/eqcompressor.png" />

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

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