> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GetShapeFiltVolFrequencyTarget

> GetShapeFiltVolFrequencyTarget

# GetShapeFiltVolFrequencyTarget

获取 FLTVOL 上下文的频率目标值。

## 语法

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

### 参数

*context*   \_In\_\
类型:[SHAPE\_FILTVOL\_CONTEXT](https://docs.xbox.com/zh-CN/reference/audio/shapefiltvolcontext/structs/shape_filtvol_context.md)\*

指向 [SHAPE\_FILTVOL\_CONTEXT](https://docs.xbox.com/zh-CN/reference/audio/shapefiltvolcontext/structs/shape_filtvol_context.md) 对象的指针。

### 返回值

类型:float

频率目标值。

## 注解

滤波器/音量(FLTVOL)模块实现为 Chamberlin 滤波器。若要更改频率目标值,请使用 [SetShapeFiltVolFrequencyTarget](https://docs.xbox.com/zh-CN/reference/audio/shapefiltvolcontext/functions/setshapefiltvolfrequencytarget.md)。

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

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

## 要求

**头文件:** shapefiltvolcontext.h

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

## 另请参阅

[GetShapeFiltVolFrequency](https://docs.xbox.com/zh-CN/reference/audio/shapefiltvolcontext/functions/getshapefiltvolfrequency.md)\
[ShapeFiltVolContext](https://docs.xbox.com/zh-CN/reference/audio/shapefiltvolcontext/shapefiltvolcontext_members.md)


## Related topics

- [GetShapeFiltVolFrequency](https://docs.xbox.com/zh-CN/reference/audio/shapefiltvolcontext/functions/getshapefiltvolfrequency.md)
- [SetShapeFiltVolFrequencyTarget](https://docs.xbox.com/zh-CN/reference/audio/shapefiltvolcontext/functions/setshapefiltvolfrequencytarget.md)
- [ShapeFiltVolContext](https://docs.xbox.com/zh-CN/reference/audio/shapefiltvolcontext/shapefiltvolcontext_members.md)
- [SetShapeFiltVolFrequency](https://docs.xbox.com/zh-CN/reference/audio/shapefiltvolcontext/functions/setshapefiltvolfrequency.md)
- [GetShapeFiltVolQTarget](https://docs.xbox.com/zh-CN/reference/audio/shapefiltvolcontext/functions/getshapefiltvolqtarget.md)
