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

# GetShapeEqCompSidechainMode

> GetShapeEqCompSidechainMode

# GetShapeEqCompSidechainMode

获取侧链模式。

## 语法

```cpp theme={null}
SHAPE_EQCOMP_SIDECHAIN_MODE GetShapeEqCompSidechainMode(  
         const SHAPE_EQCOMP_CONTEXT* context  
)  
```

### 参数

*context*   \_In\_\
类型：[SHAPE\_EQCOMP\_CONTEXT\*](/reference/audio/shapeeqcompcontext/structs/shape_eqcomp_context)

指向 `SHAPE_EQCOMP_CONTEXT` 对象的指针。

### 返回值

类型：[SHAPE\_EQCOMP\_SIDECHAIN\_MODE](/reference/audio/shapeeqcompcontext/enums/shape_eqcomp_sidechain_mode)

`SHAPE_EQCOMP_SIDECHAIN_MODE` 枚举的一个成员。

## 备注

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

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

压缩器-扩展器可以运行于以下三种侧链模式之一：

* 在常规模式下，来自混合缓冲区的单一音频输入被送入均衡器，随后由压缩器进行处理并输出到混合缓冲区。
* 在内部模式下，输入信号直接送入压缩器的音频输入，并被分流发送到均衡器。从均衡器出来后，它被送入压缩器的侧链输入。
* 在外部模式下，使用来自两个独立混合缓冲区的两个独立输入信号。输入信号经均衡器后送入压缩模块的音频输入。侧链输入信号则直接送入压缩器的侧链输入。

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

## 要求

**头文件：** shapeeqcompcontext.h

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

## 另请参阅

[SetShapeEqCompSidechainMode](/reference/audio/shapeeqcompcontext/functions/setshapeeqcompsidechainmode)\
[ShapeEqCompContext](/reference/audio/shapeeqcompcontext/shapeeqcompcontext_members)


## Related topics

- [SetShapeEqCompSidechainMode](/zh-CN/reference/audio/shapeeqcompcontext/functions/setshapeeqcompsidechainmode.md)
- [SHAPE_EQCOMP_SIDECHAIN_MODE](/zh-CN/reference/audio/shapeeqcompcontext/enums/shape_eqcomp_sidechain_mode.md)
- [ShapeEqCompContext](/zh-CN/reference/audio/shapeeqcompcontext/shapeeqcompcontext_members.md)
- [GetShapeEqCompCompressorMode](/zh-CN/reference/audio/shapeeqcompcontext/functions/getshapeeqcompcompressormode.md)
- [GetShapeEqCompExpandMode](/zh-CN/reference/audio/shapeeqcompcontext/functions/getshapeeqcompexpandmode.md)
