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

# SHAPE\_EQCOMP\_SIDECHAIN\_MODE

侧链模式。

## 语法

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

## 常量

| 常量 | 说明 |
| - | - |
| SHAPE\_EQCOMP\_SIDECHAIN\_MODE\_NORMAL | 常规模式。 |
| SHAPE\_EQCOMP\_SIDECHAIN\_MODE\_INTERNAL | 内部模式。 |
| SHAPE\_EQCOMP\_SIDECHAIN\_MODE\_EXTERNAL | 外部模式。 |

## 备注

此枚举用于 [GetShapeEqCompSidechainMode](https://docs.xbox.com/zh-CN/reference/audio/shapeeqcompcontext/functions/getshapeeqcompsidechainmode.md) 和 [SetShapeEqCompSidechainMode](https://docs.xbox.com/zh-CN/reference/audio/shapeeqcompcontext/functions/setshapeeqcompsidechainmode.md) 函数。

EQ/压缩器-扩展器模块从一个或两个混合缓冲区获取输入：

* 一个输入是要处理的音频信号。
* 第二个输入称为 *sidechain*，是用于确定音频压缩的可选控制信号。

下图显示了各个模式的处理过程。

**常规、内部和外部模式。**\\

![显示常规、内部和外部模式处理序列的示意图。](https://mintcdn.com/microsoft-4404708b/-_0FrcE2bDxzGxv-/images/gdk/reference/eqcompressor.png?fit=max\&auto=format\&n=-_0FrcE2bDxzGxv-\&q=85\&s=a86eefe2790561d6a18fb9e814da3204)

有关详细信息，请参阅 [SHAPE 概述](https://docs.xbox.com/zh-CN/build/console-features/audio/overviews/shape-overview.md) 中的 [均衡与压缩](https://docs.xbox.com/zh-CN/build/console-features/audio/overviews/shape-overview.md#ID4ECF)。

## 要求

**头文件：** shapeeqcompcontext.h

**支持的平台：** XBOX One 系列主机和 XBOX Series 主机

## 另请参阅

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


## Related topics

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