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

# SetShapeEqCompLogGain

> SetShapeEqCompLogGain

# SetShapeEqCompLogGain

컴프레서의 로그 게인 모드를 설정합니다.

## Syntax

```cpp theme={null}
HRESULT SetShapeEqCompLogGain(  
         SHAPE_EQCOMP_CONTEXT* context,  
         SHAPE_EQCOMP_LOG_GAIN mode  
)  
```

### Parameters

*context*   \_Inout\_\
Type: [SHAPE\_EQCOMP\_CONTEXT\*](/reference/audio/shapeeqcompcontext/structs/shape_eqcomp_context)

`SHAPE_EQCOMP_CONTEXT` 객체에 대한 포인터입니다.

*mode*   \
Type: [SHAPE\_EQCOMP\_LOG\_GAIN](/reference/audio/shapeeqcompcontext/enums/shape_eqcomp_log_gain)

`SHAPE_EQCOMP_LOG_GAIN` 열거형의 한 멤버입니다.

### Return value

Type: HRESULT

HRESULT 성공 또는 오류 코드입니다.

## Remarks

어택과 릴리즈 값은 신호가 임계값을 초과하거나 임계값 아래로 떨어졌을 때 컴프레서가 얼마나 빠르게 출력 게인을 변경할지를 지정합니다. 이러한 조정은 선형 방식이나 로그 기반 방식으로 이루어질 수 있습니다.

자세한 내용은 [SHAPE 개요](/build/console-features/audio/overviews/shape-overview)의 [이퀄라이제이션 및 컴프레션](/build/console-features/audio/overviews/shape-overview#ID4ECF)을 참조하세요.

## Requirements

**Header:** shapeeqcompcontext.h

**Supported platforms:** XBOX One 제품군 콘솔 및 XBOX Series 콘솔

## See also

[GetShapeEqCompLogGain](/reference/audio/shapeeqcompcontext/functions/getshapeeqcomploggain)\
[SHAPE\_EQCOMP\_LOG\_GAIN](/reference/audio/shapeeqcompcontext/enums/shape_eqcomp_log_gain)\
[ShapeEqCompContext](/reference/audio/shapeeqcompcontext/shapeeqcompcontext_members)


## Related topics

- [GetShapeEqCompLogGain](/ko/reference/audio/shapeeqcompcontext/functions/getshapeeqcomploggain.md)
- [SHAPE_EQCOMP_LOG_GAIN](/ko/reference/audio/shapeeqcompcontext/enums/shape_eqcomp_log_gain.md)
- [ShapeEqCompContext](/ko/reference/audio/shapeeqcompcontext/shapeeqcompcontext_members.md)
- [SetShapeEqCompGain](/ko/reference/audio/shapeeqcompcontext/functions/setshapeeqcompgain.md)
- [SetShapeEqCompGainTarget](/ko/reference/audio/shapeeqcompcontext/functions/setshapeeqcompgaintarget.md)
