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

> SHAPE_EQCOMP_LOG_GAIN

# SHAPE\_EQCOMP\_LOG\_GAIN

壓縮器增益模式。

## 語法

```cpp theme={null}
enum SHAPE_EQCOMP_LOG_GAIN    
{  
    SHAPE_EQCOMP_LOG_GAIN_NORMAL,  
    SHAPE_EQCOMP_LOG_GAIN_LOG  
}  
```

## 常數

| 常數 | 描述 |
| - | - |
| SHAPE\_EQCOMP\_LOG\_GAIN\_NORMAL | 一般模式。 |
| SHAPE\_EQCOMP\_LOG\_GAIN\_LOG | 對數增益模式。 |

## 備註

此列舉用於 [GetShapeEqCompLogGain](/zh-TW/reference/audio/shapeeqcompcontext/functions/getshapeeqcomploggain) 和 [SetShapeEqCompLogGain](/zh-TW/reference/audio/shapeeqcompcontext/functions/setshapeeqcomploggain) 函式中。

起音和釋音值指定壓縮器在訊號超過或低於閾值時，應以多快的速度改變輸出增益。這些調整可以是線性 (`SHAPE_EQCOMP_LOG_GAIN_NORMAL`) 或以對數為基礎 (`SHAPE_EQCOMP_LOG_GAIN_LOG`)。

如需詳細資訊，請參閱 [SHAPE 概觀](/zh-TW/build/console-features/audio/overviews/shape-overview) 中的 [等化與壓縮](/zh-TW/build/console-features/audio/overviews/shape-overview#ID4ECF)。

## 需求

**標頭：** shapeeqcompcontext.h

**支援的平台：** XBOX One 系列主機和 XBOX Series 主機

## 另請參閱

[ShapeEqCompContext](/zh-TW/reference/audio/shapeeqcompcontext/shapeeqcompcontext_members)


## Related topics

- [SetShapeEqCompLogGain](/zh-TW/reference/audio/shapeeqcompcontext/functions/setshapeeqcomploggain.md)
- [GetShapeEqCompLogGain](/zh-TW/reference/audio/shapeeqcompcontext/functions/getshapeeqcomploggain.md)
- [ShapeEqCompContext](/zh-TW/reference/audio/shapeeqcompcontext/shapeeqcompcontext_members.md)
- [SHAPE_EQCOMP_CONTEXT](/zh-TW/reference/audio/shapeeqcompcontext/structs/shape_eqcomp_context.md)
- [ACP_COMMAND_UPDATE_EQCOMP_CONTEXT](/zh-TW/reference/audio/acphal/structs/acp_command_update_eqcomp_context.md)
