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

# SetShapeEqCompSidechainMode

> SetShapeEqCompSidechainMode

# SetShapeEqCompSidechainMode

사이드체인 모드를 설정합니다.

## Syntax

```cpp theme={null}
HRESULT SetShapeEqCompSidechainMode(  
         SHAPE_EQCOMP_CONTEXT* context,  
         SHAPE_EQCOMP_SIDECHAIN_MODE mode  
)  
```

### Parameters

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

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

*mode*   \
Type: [SHAPE\_EQCOMP\_SIDECHAIN\_MODE](/reference/audio/shapeeqcompcontext/enums/shape_eqcomp_sidechain_mode)

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

### Return value

Type: HRESULT

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

## Remarks

EQ/Compressor-Expander 블록은 하나 또는 두 개의 믹스 버퍼에서 입력을 받습니다:

* 하나의 입력은 처리할 오디오 신호입니다.
* *사이드체인*이라고 부르는 두 번째 입력은 오디오 컴프레션을 결정하는 데 사용되는 선택적 제어 신호입니다.

Compressor-Expander는 세 가지 사이드체인 모드 중 하나로 동작할 수 있습니다:

* Normal 모드에서는 믹스 버퍼로부터 단일 오디오 입력이 이퀄라이저를 통과한 다음, 컴프레서에서 처리되어 믹스 버퍼로 출력됩니다.
* Internal 모드에서는 입력 신호가 컴프레서의 오디오 입력으로 직접 공급되고, 신호가 분기되어 이퀄라이저로 전송됩니다. 이퀄라이저에서는 신호가 컴프레서의 사이드체인 입력으로 전송됩니다.
* External 모드에서는 두 개의 서로 다른 믹스 버퍼로부터 두 개의 별도 입력 신호가 사용됩니다. 입력 신호는 이퀄라이저를 통과한 뒤 컴프레션 블록의 오디오 입력으로 공급됩니다. 사이드체인 입력 신호는 컴프레서의 사이드체인 입력으로 직접 공급됩니다.

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

[GetShapeEqCompSidechainMode](/reference/audio/shapeeqcompcontext/functions/getshapeeqcompsidechainmode)\
[ShapeEqCompContext](/reference/audio/shapeeqcompcontext/shapeeqcompcontext_members)


## Related topics

- [GetShapeEqCompSidechainMode](/ko/reference/audio/shapeeqcompcontext/functions/getshapeeqcompsidechainmode.md)
- [SHAPE_EQCOMP_SIDECHAIN_MODE](/ko/reference/audio/shapeeqcompcontext/enums/shape_eqcomp_sidechain_mode.md)
- [ShapeEqCompContext](/ko/reference/audio/shapeeqcompcontext/shapeeqcompcontext_members.md)
- [SetShapeEqCompCommand](/ko/reference/audio/shapeflowgraph/functions/setshapeeqcompcommand.md)
- [SetShapeEqCompCompressorMode](/ko/reference/audio/shapeeqcompcontext/functions/setshapeeqcompcompressormode.md)
