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

# GetShapeFiltVolQ

> GetShapeFiltVolQ

# GetShapeFiltVolQ

取得 Q (品質) 因子。

## 語法

```cpp theme={null}
float GetShapeFiltVolQ(  
         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

Q 因子。

## 備註

濾波器/音量 (FLTVOL) 區塊是以 Chamberlin 濾波器實作。Q 值越大，濾波器的頻寬就越窄。若要變更 Q 值，請使用 [SetShapeFiltVolQ](/zh-TW/reference/audio/shapefiltvolcontext/functions/setshapefiltvolq)。

濾波行為的設計與 XAudio2 中的濾波行為完全相同。

如需詳細資訊，請參閱 [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 主機

## 另請參閱

[GetShapeFiltVolQTarget](/zh-TW/reference/audio/shapefiltvolcontext/functions/getshapefiltvolqtarget)\
[ShapeFiltVolContext](/zh-TW/reference/audio/shapefiltvolcontext/shapefiltvolcontext_members)


## Related topics

- [GetShapeFiltVolQ](/reference/audio/shapefiltvolcontext/functions/getshapefiltvolq.md)
- [GetShapeFiltVolQTarget](/reference/audio/shapefiltvolcontext/functions/getshapefiltvolqtarget.md)
