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

# GetShapeEqCompLogGain

> GetShapeEqCompLogGain

# GetShapeEqCompLogGain

获取压缩器的对数增益模式。

## 语法

```cpp theme={null}
SHAPE_EQCOMP_LOG_GAIN GetShapeEqCompLogGain(  
         const SHAPE_EQCOMP_CONTEXT* context  
)  
```

### 参数

*context*   \_In\_\
类型：[SHAPE\_EQCOMP\_CONTEXT\*](https://docs.xbox.com/zh-CN/reference/audio/shapeeqcompcontext/structs/shape_eqcomp_context.md)

指向 `SHAPE_EQCOMP_CONTEXT` 对象的指针。

### 返回值

类型：[SHAPE\_EQCOMP\_LOG\_GAIN](https://docs.xbox.com/zh-CN/reference/audio/shapeeqcompcontext/enums/shape_eqcomp_log_gain.md)

`SHAPE_EQCOMP_LOG_GAIN` 枚举的一个成员。

## 备注

启动和释放值指定了压缩器响应超过阈值或低于阈值的信号时改变输出增益的速度。这些调整可以是线性的或基于对数的。

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

## 另请参阅

[SetShapeEqCompLogGain](https://docs.xbox.com/zh-CN/reference/audio/shapeeqcompcontext/functions/setshapeeqcomploggain.md)\
[SHAPE\_EQCOMP\_LOG\_GAIN](https://docs.xbox.com/zh-CN/reference/audio/shapeeqcompcontext/enums/shape_eqcomp_log_gain.md)\
[ShapeEqCompContext](https://docs.xbox.com/zh-CN/reference/audio/shapeeqcompcontext/shapeeqcompcontext_members.md)


## Related topics

- [SetShapeEqCompLogGain](https://docs.xbox.com/zh-CN/reference/audio/shapeeqcompcontext/functions/setshapeeqcomploggain.md)
- [SHAPE_EQCOMP_LOG_GAIN](https://docs.xbox.com/zh-CN/reference/audio/shapeeqcompcontext/enums/shape_eqcomp_log_gain.md)
- [ShapeEqCompContext](https://docs.xbox.com/zh-CN/reference/audio/shapeeqcompcontext/shapeeqcompcontext_members.md)
- [GetShapeEqCompGain](https://docs.xbox.com/zh-CN/reference/audio/shapeeqcompcontext/functions/getshapeeqcompgain.md)
- [GetShapeEqCompGainTarget](https://docs.xbox.com/zh-CN/reference/audio/shapeeqcompcontext/functions/getshapeeqcompgaintarget.md)
