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

# GetShapeFiltVolMode

> GetShapeFiltVolMode

# GetShapeFiltVolMode

获取状态变量滤波器的模式。

## 语法

```cpp theme={null}
SHAPE_FILTER_MODE GetShapeFiltVolMode(  
         const SHAPE_FILTVOL_CONTEXT* context  
)  
```

### 参数

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

指向 [SHAPE\_FILTVOL\_CONTEXT](/reference/audio/shapefiltvolcontext/structs/shape_filtvol_context) 对象的指针。

### 返回值

类型:SHAPE\_FILTER\_MODE

[SHAPE\_FILTER\_MODE](/reference/audio/shapefiltvolcontext/enums/shape_filter_mode) 枚举的一个成员。

## 注解

滤波器/音量(FLTVOL)模块实现为 Chamberlin 滤波器。它提供三种滤波模式(低通、带通和高通)以及一种旁路模式。若要更改模式,请使用 [SetShapeFiltVolMode](/reference/audio/shapefiltvolcontext/functions/setshapefiltvolmode)。

其滤波行为设计上与 XAudio2 中的完全一致。

有关详细信息,请参阅 [SHAPE 概述](/build/console-features/audio/overviews/shape-overview) 的 [滤波器/音量模块 (FLTVOL)](/build/console-features/audio/overviews/shape-overview#ID4EBH) 部分。

## 要求

**头文件:** shapefiltvolcontext.h

**支持的平台:** XBOX One 系列主机和 XBOX Series 主机

## 另请参阅

[ShapeFiltVolContext](/reference/audio/shapefiltvolcontext/shapefiltvolcontext_members)


## Related topics

- [SHAPE_FILTER_MODE](/zh-CN/reference/audio/shapefiltvolcontext/enums/shape_filter_mode.md)
- [SetShapeFiltVolMode](/zh-CN/reference/audio/shapefiltvolcontext/functions/setshapefiltvolmode.md)
- [ShapeFiltVolContext](/zh-CN/reference/audio/shapefiltvolcontext/shapefiltvolcontext_members.md)
- [GetShapeFiltVolQ](/zh-CN/reference/audio/shapefiltvolcontext/functions/getshapefiltvolq.md)
- [GetShapeFiltVolDelay1](/zh-CN/reference/audio/shapefiltvolcontext/functions/getshapefiltvoldelay1.md)
