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

# ShapeEqCompContext

> ShapeEqCompContext

# ShapeEqCompContext

## 函数

| 函数                                                                                                                                   | 说明                                          |
| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------- |
| [GetShapeEqCompAttack](/reference/audio/shapeeqcompcontext/functions/getshapeeqcompattack)                                           | 获取压缩启动乘数。                                   |
| [GetShapeEqCompCompressorMode](/reference/audio/shapeeqcompcontext/functions/getshapeeqcompcompressormode)                           | 获取压缩模式。                                     |
| [GetShapeEqCompDelayElement2](/reference/audio/shapeeqcompcontext/functions/getshapeeqcompdelayelement2)                             | 获取输入延迟 2。                                   |
| [GetShapeEqCompDelayElement3](/reference/audio/shapeeqcompcontext/functions/getshapeeqcompdelayelement3)                             | 获取输入延迟 3。                                   |
| [GetShapeEqCompDelayElement4](/reference/audio/shapeeqcompcontext/functions/getshapeeqcompdelayelement4)                             | 获取输入延迟 4。                                   |
| [GetShapeEqCompDelayElement5](/reference/audio/shapeeqcompcontext/functions/getshapeeqcompdelayelement5)                             | 获取输入延迟 5。                                   |
| [GetShapeEqCompDelayElement6](/reference/audio/shapeeqcompcontext/functions/getshapeeqcompdelayelement6)                             | 获取输入延迟 6。                                   |
| [GetShapeEqCompDelayElement7](/reference/audio/shapeeqcompcontext/functions/getshapeeqcompdelayelement7)                             | 获取输入延迟 7。                                   |
| [GetShapeEqCompEnableCompressor](/reference/audio/shapeeqcompcontext/functions/getshapeeqcompenablecompressor)                       | 获取压缩器标志的状态。                                 |
| [GetShapeEqCompExpandMode](/reference/audio/shapeeqcompcontext/functions/getshapeeqcompexpandmode)                                   | 获取压缩/扩展模式。                                  |
| [GetShapeEqCompFilterCoefficients](/reference/audio/shapeeqcompcontext/functions/getshapeeqcompfiltercoefficients)                   | 获取均衡器滤波器的系数。                                |
| [GetShapeEqCompFilterTargetCoefficients](/reference/audio/shapeeqcompcontext/functions/getshapeeqcompfiltertargetcoefficients)       | 获取均衡器滤波器的目标系数。                              |
| [GetShapeEqCompGain](/reference/audio/shapeeqcompcontext/functions/getshapeeqcompgain)                                               | 获取压缩器的输出(补偿)增益。                             |
| [GetShapeEqCompGainReduction](/reference/audio/shapeeqcompcontext/functions/getshapeeqcompgainreduction)                             | 获取压缩器的输出增益衰减量。                              |
| [GetShapeEqCompGainTarget](/reference/audio/shapeeqcompcontext/functions/getshapeeqcompgaintarget)                                   | 获取压缩器输出(补偿)增益的目标值。                          |
| [GetShapeEqCompInputDelay0](/reference/audio/shapeeqcompcontext/functions/getshapeeqcompinputdelay0)                                 | 获取左声道的输入延迟。                                 |
| [GetShapeEqCompInputDelay1](/reference/audio/shapeeqcompcontext/functions/getshapeeqcompinputdelay1)                                 | 获取右声道的输入延迟。                                 |
| [GetShapeEqCompInputLevel](/reference/audio/shapeeqcompcontext/functions/getshapeeqcompinputlevel)                                   | 获取压缩器的输入电平。                                 |
| [GetShapeEqCompInternalSaturate](/reference/audio/shapeeqcompcontext/functions/getshapeeqcompinternalsaturate)                       | 获取内部饱和标志。                                   |
| [GetShapeEqCompLogGain](/reference/audio/shapeeqcompcontext/functions/getshapeeqcomploggain)                                         | 获取压缩器的对数增益模式。                               |
| [GetShapeEqCompMixBufferPeakMagnitude](/reference/audio/shapeeqcompcontext/functions/getshapeeqcompmixbufferpeakmagnitude)           | 获取输出混音缓冲区的峰值幅度。                             |
| [GetShapeEqCompPeakMagnitude](/reference/audio/shapeeqcompcontext/functions/getshapeeqcomppeakmagnitude)                             | 获取峰值幅度。                                     |
| [GetShapeEqCompRatio](/reference/audio/shapeeqcompcontext/functions/getshapeeqcompratio)                                             | 获取压缩比。                                      |
| [GetShapeEqCompRawFilterCoefficients](/reference/audio/shapeeqcompcontext/functions/getshapeeqcomprawfiltercoefficients)             | 获取均衡器滤波器的原始系数。                              |
| [GetShapeEqCompRawFilterTargetCoefficients](/reference/audio/shapeeqcompcontext/functions/getshapeeqcomprawfiltertargetcoefficients) | 获取均衡器滤波器的原始目标系数。                            |
| [GetShapeEqCompRelease](/reference/audio/shapeeqcompcontext/functions/getshapeeqcomprelease)                                         | 获取压缩释放乘数。                                   |
| [GetShapeEqCompSidechainMode](/reference/audio/shapeeqcompcontext/functions/getshapeeqcompsidechainmode)                             | 获取侧链模式。                                     |
| [GetShapeEqCompThreshold](/reference/audio/shapeeqcompcontext/functions/getshapeeqcompthreshold)                                     | 获取压缩阈值。                                     |
| [GetShapeEqCompTimestamp](/reference/audio/shapeeqcompcontext/functions/getshapeeqcomptimestamp)                                     | 获取 EQComp 上下文的时间戳。                          |
| [SetShapeEqCompAttack](/reference/audio/shapeeqcompcontext/functions/setshapeeqcompattack)                                           | 设置压缩启动乘数。                                   |
| [SetShapeEqCompCompressorMode](/reference/audio/shapeeqcompcontext/functions/setshapeeqcompcompressormode)                           | 设置压缩模式。                                     |
| [SetShapeEqCompEnableCompressor](/reference/audio/shapeeqcompcontext/functions/setshapeeqcompenablecompressor)                       | 设置压缩器标志的状态。                                 |
| [SetShapeEqCompExpandMode](/reference/audio/shapeeqcompcontext/functions/setshapeeqcompexpandmode)                                   | 设置压缩/扩展模式。                                  |
| [SetShapeEqCompFilterCoefficients](/reference/audio/shapeeqcompcontext/functions/setshapeeqcompfiltercoefficients)                   | 设置均衡器滤波器的系数。                                |
| [SetShapeEqCompFilterTargetCoefficients](/reference/audio/shapeeqcompcontext/functions/setshapeeqcompfiltertargetcoefficients)       | 设置均衡器滤波器的目标系数。                              |
| [SetShapeEqCompGain](/reference/audio/shapeeqcompcontext/functions/setshapeeqcompgain)                                               | 设置压缩器的输出(补偿)增益                              |
| [SetShapeEqCompGainTarget](/reference/audio/shapeeqcompcontext/functions/setshapeeqcompgaintarget)                                   | 设置压缩器输出(补偿)增益的目标值。                          |
| [SetShapeEqCompLogGain](/reference/audio/shapeeqcompcontext/functions/setshapeeqcomploggain)                                         | 设置压缩器的对数增益模式。                               |
| [SetShapeEqCompRatio](/reference/audio/shapeeqcompcontext/functions/setshapeeqcompratio)                                             | 设置压缩比。                                      |
| [SetShapeEqCompRawFilterCoefficients](/reference/audio/shapeeqcompcontext/functions/setshapeeqcomprawfiltercoefficients)             | 设置均衡器滤波器的原始系数。                              |
| [SetShapeEqCompRawFilterTargetCoefficients](/reference/audio/shapeeqcompcontext/functions/setshapeeqcomprawfiltertargetcoefficients) | 设置均衡器滤波器的原始目标系数。                            |
| [SetShapeEqCompRelease](/reference/audio/shapeeqcompcontext/functions/setshapeeqcomprelease)                                         | 设置压缩释放乘数。                                   |
| [SetShapeEqCompSidechainMode](/reference/audio/shapeeqcompcontext/functions/setshapeeqcompsidechainmode)                             | 设置侧链模式。                                     |
| [SetShapeEqCompThreshold](/reference/audio/shapeeqcompcontext/functions/setshapeeqcompthreshold)                                     | 设置压缩阈值。                                     |
| [ShapeSignedFromU16\_8](/reference/audio/shapeeqcompcontext/functions/shapesignedfromu16_8)                                          | 将一个 16 位整数和一个 8 位整数组合为一个 32 位整数。            |
| [ShapeSignedFromU24](/reference/audio/shapeeqcompcontext/functions/shapesignedfromu24)                                               | 接收一个无符号 24 位整数并返回一个有符号 32 位整数。              |
| [ShapeSignedFromU8\_16](/reference/audio/shapeeqcompcontext/functions/shapesignedfromu8_16)                                          | 将一个 8 位整数和一个 16 位整数组合为一个 32 位整数。            |
| [ShapeSignedToHighU16](/reference/audio/shapeeqcompcontext/functions/shapesignedtohighu16)                                           | 接收一个有符号 32 位整数,并将其值放置在无符号 32 位整数的高 16 位中返回。 |
| [ShapeSignedToHighU8](/reference/audio/shapeeqcompcontext/functions/shapesignedtohighu8)                                             | 接收一个有符号 32 位整数,并将其值放置在无符号 32 位整数的高 8 位中返回。  |
| [ShapeSignedToLowU16](/reference/audio/shapeeqcompcontext/functions/shapesignedtolowu16)                                             | 接收一个有符号 32 位整数,并将其值放置在无符号 32 位整数的低 16 位中返回。 |
| [ShapeSignedToLowU8](/reference/audio/shapeeqcompcontext/functions/shapesignedtolowu8)                                               | 接收一个有符号 32 位整数,并将其值放置在无符号 32 位整数的低 8 位中返回。  |
| [ShapeSignedToU16](/reference/audio/shapeeqcompcontext/functions/shapesignedtou16)                                                   | 接收一个有符号 32 位整数,并将其值放置在无符号 32 位整数的高 16 位中返回。 |
| [ShapeSignedToU24](/reference/audio/shapeeqcompcontext/functions/shapesignedtou24)                                                   | 接收一个有符号 32 位整数,并将其值放置在无符号 32 位整数的高 24 位中返回。 |
| [ShapeUnsignedToU16](/reference/audio/shapeeqcompcontext/functions/shapeunsignedtou16)                                               | 接收一个无符号 32 位整数,并将其值放置在无符号 32 位整数的高 16 位中返回。 |
| [ShapeUnsignedToU24](/reference/audio/shapeeqcompcontext/functions/shapeunsignedtou24)                                               | 接收一个无符号 32 位整数,并将其值放置在无符号 32 位整数的高 24 位中返回。 |

## 结构

| 结构                                                                                         | 说明          |
| ------------------------------------------------------------------------------------------ | ----------- |
| [SHAPE\_EQCOMP\_CONTEXT](/reference/audio/shapeeqcompcontext/structs/shape_eqcomp_context) | EQComp 上下文。 |

## 枚举

| 枚举                                                                                                        | 说明         |
| --------------------------------------------------------------------------------------------------------- | ---------- |
| [SHAPE\_EQCOMP\_COMPRESSOR\_MODE](/reference/audio/shapeeqcompcontext/enums/shape_eqcomp_compressor_mode) | 压缩器模式。     |
| [SHAPE\_EQCOMP\_EXPAND\_MODE](/reference/audio/shapeeqcompcontext/enums/shape_eqcomp_expand_mode)         | 压缩器-扩展器模式。 |
| [SHAPE\_EQCOMP\_FILTER\_INDEX](/reference/audio/shapeeqcompcontext/enums/shape_eqcomp_filter_index)       | 均衡器滤波器。    |
| [SHAPE\_EQCOMP\_LOG\_GAIN](/reference/audio/shapeeqcompcontext/enums/shape_eqcomp_log_gain)               | 压缩器增益模式。   |
| [SHAPE\_EQCOMP\_SIDECHAIN\_MODE](/reference/audio/shapeeqcompcontext/enums/shape_eqcomp_sidechain_mode)   | 侧链模式。      |


## Related topics

- [GetShapeEqCompTimestamp](/zh-CN/reference/audio/shapeeqcompcontext/functions/getshapeeqcomptimestamp.md)
- [SHAPE_EQCOMP_CONTEXT](/zh-CN/reference/audio/shapeeqcompcontext/structs/shape_eqcomp_context.md)
- [GetShapeEqCompGain](/zh-CN/reference/audio/shapeeqcompcontext/functions/getshapeeqcompgain.md)
- [GetShapeEqCompRatio](/zh-CN/reference/audio/shapeeqcompcontext/functions/getshapeeqcompratio.md)
- [GetShapeEqCompRelease](/zh-CN/reference/audio/shapeeqcompcontext/functions/getshapeeqcomprelease.md)
