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

> SHAPE_EQCOMP_EXPAND_MODE

# SHAPE\_EQCOMP\_EXPAND\_MODE

压缩器-扩展器模式。

## 语法

```cpp theme={null}
enum SHAPE_EQCOMP_EXPAND_MODE    
{  
    SHAPE_EQCOMP_EXPAND_MODE_COMPRESSOR,  
    SHAPE_EQCOMP_EXPAND_MODE_EXPANDER  
}  
```

## 常量

| 常量                                      | 说明    |
| --------------------------------------- | ----- |
| SHAPE\_EQCOMP\_EXPAND\_MODE\_COMPRESSOR | 压缩模式。 |
| SHAPE\_EQCOMP\_EXPAND\_MODE\_EXPANDER   | 扩展模式。 |

## 备注

此枚举由 [GetShapeEqCompEnableCompressor](/reference/audio/shapeeqcompcontext/functions/getshapeeqcompenablecompressor) 和 [SetShapeEqCompEnableCompressor](/reference/audio/shapeeqcompcontext/functions/setshapeeqcompenablecompressor) 函数使用。当指定 `SHAPE_EQCOMP_EXPAND_MODE_COMPRESSOR` 时，EQ/压缩器-扩展器模块处于压缩模式；当指定 `SHAPE_EQCOMP_EXPAND_MODE_EXPANDER` 时，EQ/压缩器-扩展器模块处于扩展模式。

有关详细信息，请参阅 [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

- [SetShapeEqCompExpandMode](/zh-CN/reference/audio/shapeeqcompcontext/functions/setshapeeqcompexpandmode.md)
- [GetShapeEqCompExpandMode](/zh-CN/reference/audio/shapeeqcompcontext/functions/getshapeeqcompexpandmode.md)
- [ShapeEqCompContext](/zh-CN/reference/audio/shapeeqcompcontext/shapeeqcompcontext_members.md)
- [SHAPE_EQCOMP_CONTEXT](/zh-CN/reference/audio/shapeeqcompcontext/structs/shape_eqcomp_context.md)
- [GetShapeEqCompThreshold](/zh-CN/reference/audio/shapeeqcompcontext/functions/getshapeeqcompthreshold.md)
