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

侧链模式。

## 语法

```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](/reference/audio/shapeeqcompcontext/functions/getshapeeqcompsidechainmode) 和 [SetShapeEqCompSidechainMode](/reference/audio/shapeeqcompcontext/functions/setshapeeqcompsidechainmode) 函数。

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

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

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

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

<img src="https://mintcdn.com/microsoft-4404708b/-_0FrcE2bDxzGxv-/images/gdk/reference/eqcompressor.png?fit=max&auto=format&n=-_0FrcE2bDxzGxv-&q=85&s=a86eefe2790561d6a18fb9e814da3204" alt="显示常规、内部和外部模式处理序列的示意图。" width="344" height="400" data-path="images/gdk/reference/eqcompressor.png" />

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

## 要求

**头文件：** shapeeqcompcontext.h

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

## 另请参阅

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


## Related topics

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