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

# SetShapeEqCompThreshold

> SetShapeEqCompThreshold

# SetShapeEqCompThreshold

컴프레션 임계값을 설정합니다.

## Syntax

```cpp theme={null}
HRESULT SetShapeEqCompThreshold(  
         SHAPE_EQCOMP_CONTEXT* context,  
         float threshold  
)  
```

### Parameters

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

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

*threshold*   \
Type: float

컴프레션 임계값입니다.

### Return value

Type: HRESULT

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

## Remarks

컴프레서는 특정 임계값을 초과하는 신호에만 작용하며, 임계값 아래의 신호는 변경되지 않고 그대로 통과합니다.

컴프레서는 입력 레벨과 출력 레벨의 비율을 지정하는 파라미터에 따라 사운드 데이터를 변경합니다. 이 비율은 입력 신호가 임계값을 초과할 경우 적용될 감쇠의 정도를 나타냅니다. (컴프레서/익스팬더 모드가 `SHAPE_EQCOMP_EXPAND_MODE_EXPANDER`로 설정된 경우 동작이 반대로 됩니다. 익스팬더는 특정 임계값 아래의 신호에 작용하며, 임계값 위의 신호는 변경되지 않고 그대로 통과합니다.)

자세한 내용은 [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

[GetShapeEqCompThreshold](/reference/audio/shapeeqcompcontext/functions/getshapeeqcompthreshold)\
[ShapeEqCompContext](/reference/audio/shapeeqcompcontext/shapeeqcompcontext_members)


## Related topics

- [GetShapeEqCompThreshold](/ko/reference/audio/shapeeqcompcontext/functions/getshapeeqcompthreshold.md)
- [SetShapeEqCompExpandMode](/ko/reference/audio/shapeeqcompcontext/functions/setshapeeqcompexpandmode.md)
- [ShapeEqCompContext](/ko/reference/audio/shapeeqcompcontext/shapeeqcompcontext_members.md)
- [SetShapeEqCompAttack](/ko/reference/audio/shapeeqcompcontext/functions/setshapeeqcompattack.md)
- [SetShapeEqCompGain](/ko/reference/audio/shapeeqcompcontext/functions/setshapeeqcompgain.md)
