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

# SetShapeFiltVolOutputGain

> SetShapeFiltVolOutputGain

# SetShapeFiltVolOutputGain

출력 게인을 설정합니다.

## Syntax

```cpp theme={null}
HRESULT SetShapeFiltVolOutputGain(  
         SHAPE_FILTVOL_CONTEXT* context,  
         float outputGain  
)  
```

### Parameters

*context*   \_Inout\_\
Type: [SHAPE\_FILTVOL\_CONTEXT](/reference/audio/shapefiltvolcontext/structs/shape_filtvol_context)\*

[SHAPE\_FILTVOL\_CONTEXT](/reference/audio/shapefiltvolcontext/structs/shape_filtvol_context) 객체에 대한 포인터입니다.

*outputGain*   \
Type: float

출력 게인입니다.

### Return value

Type: HRESULT

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

## Remarks

게인 및 게인 대상 값은 -2.0에서 2.0 범위의 진폭 값이며, 음수 값은 신호를 반전시킵니다.

| 값            | 설명                |
| :----------- | :---------------- |
| 1.0 \~ 2.0   | 증폭                |
| 1.0          | 단위 게인(Unity gain) |
| 0.0 \~ 1.0   | 게인 감쇠             |
| 0.0          | 무음                |
| -1.0 \~ 0.0  | 게인 감쇠, 반전된 신호     |
| -1.0         | 단위 게인, 반전된 신호     |
| -2.0 \~ -1.0 | 증폭, 반전된 신호        |

현재 출력 게인을 가져오려면 [GetShapeFiltVolOutputGain](/reference/audio/shapefiltvolcontext/functions/getshapefiltvoloutputgain)을 사용하세요.

자세한 내용은 [SHAPE 개요](/build/console-features/audio/overviews/shape-overview)의 [필터/볼륨 블록(FLTVOL)](/build/console-features/audio/overviews/shape-overview#ID4EBH) 섹션을 참조하세요.

## Requirements

**Header:** shapefiltvolcontext.h

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

## See also

[SetShapeFiltVolOutputGainTarget](/reference/audio/shapefiltvolcontext/functions/setshapefiltvoloutputgaintarget)\
[ShapeFiltVolContext](/reference/audio/shapefiltvolcontext/shapefiltvolcontext_members)


## Related topics

- [SetShapeFiltVolOutputGainTarget](/ko/reference/audio/shapefiltvolcontext/functions/setshapefiltvoloutputgaintarget.md)
- [GetShapeFiltVolOutputGain](/ko/reference/audio/shapefiltvolcontext/functions/getshapefiltvoloutputgain.md)
- [ShapeFiltVolContext](/ko/reference/audio/shapefiltvolcontext/shapefiltvolcontext_members.md)
- [GetShapeFiltVolOutputGainTarget](/ko/reference/audio/shapefiltvolcontext/functions/getshapefiltvoloutputgaintarget.md)
- [SetShapeFiltVolCommand](/ko/reference/audio/shapeflowgraph/functions/setshapefiltvolcommand.md)
