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

# GetShapeFiltVolOutputGainTarget

> GetShapeFiltVolOutputGainTarget

# GetShapeFiltVolOutputGainTarget

取得輸出增益目標值。

## 語法

```cpp theme={null}
float GetShapeFiltVolOutputGainTarget(  
         const SHAPE_FILTVOL_CONTEXT* context  
)  
```

### 參數

*context*   \_In\_\
類型: [SHAPE\_FILTVOL\_CONTEXT](/zh-TW/reference/audio/shapefiltvolcontext/structs/shape_filtvol_context)\*

指向 [SHAPE\_FILTVOL\_CONTEXT](/zh-TW/reference/audio/shapefiltvolcontext/structs/shape_filtvol_context) 物件的指標。

### 傳回值

類型: float

增益目標值。

## 備註

增益目標值和增益是範圍介於 -2.0 到 2.0 的振幅值,負值會反轉訊號。

| 值 | 描述 |
| :- | :- |
| 1.0 到 2.0 | 放大 |
| 1.0 | 單位增益 |
| 0.0 到 1.0 | 增益衰減 |
| 0.0 | 靜音 |
| -1.0 到 0.0 | 增益衰減;反轉訊號 |
| -1.0 | 單位增益;反轉訊號 |
| -2.0 到 -1.0 | 放大;反轉訊號 |

若要變更輸出增益目標值,請使用 [SetShapeFiltVolOutputGainTarget](/zh-TW/reference/audio/shapefiltvolcontext/functions/setshapefiltvoloutputgaintarget)。

如需詳細資訊,請參閱 [SHAPE 概觀](/zh-TW/build/console-features/audio/overviews/shape-overview)的[濾波器/音量區塊 (FLTVOL)](/zh-TW/build/console-features/audio/overviews/shape-overview#ID4EBH) 一節。

## 需求

**標頭:** shapefiltvolcontext.h

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

## 另請參閱

[GetShapeFiltVolOutputGain](/zh-TW/reference/audio/shapefiltvolcontext/functions/getshapefiltvoloutputgain)\
[ShapeFiltVolContext](/zh-TW/reference/audio/shapefiltvolcontext/shapefiltvolcontext_members)


## Related topics

- [GetShapeFiltVolOutputGainTarget](/ja-jp/reference/audio/shapefiltvolcontext/functions/getshapefiltvoloutputgaintarget.md)
- [GetShapeFiltVolOutputGain](/reference/audio/shapefiltvolcontext/functions/getshapefiltvoloutputgain.md)
