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

# SetShapeFiltVolMode

> SetShapeFiltVolMode

# SetShapeFiltVolMode

状態変数フィルターのモードを設定します。

## Syntax

```cpp theme={null}
HRESULT SetShapeFiltVolMode(  
         SHAPE_FILTVOL_CONTEXT* context,  
         SHAPE_FILTER_MODE ShapeFilterMode  
)  
```

### Parameters

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

[SHAPE\_FILTVOL\_CONTEXT](/reference/audio/shapefiltvolcontext/structs/shape_filtvol_context) オブジェクトへのポインター。

*ShapeFilterMode*   \
Type: [SHAPE\_FILTER\_MODE](/reference/audio/shapefiltvolcontext/enums/shape_filter_mode)

[SHAPE\_FILTER\_MODE](/reference/audio/shapefiltvolcontext/enums/shape_filter_mode) 列挙体のメンバー。

### Return value

Type: HRESULT

HRESULT の成功またはエラーコード。

## Remarks

フィルター/ボリューム (FLTVOL) ブロックは Chamberlin フィルターとして実装されています。3 つのフィルタリングモード (ローパス、バンドパス、ハイパス) と、バイパスモードを提供します。現在のモードを取得するには、[GetShapeFiltVolMode](/reference/audio/shapefiltvolcontext/functions/getshapefiltvolmode) を使用します。

フィルタリング動作は XAudio2 と同一になるように設計されています。

詳細については、[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

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


## Related topics

- [SHAPE_FILTER_MODE](/ja-jp/reference/audio/shapefiltvolcontext/enums/shape_filter_mode.md)
- [GetShapeFiltVolMode](/ja-jp/reference/audio/shapefiltvolcontext/functions/getshapefiltvolmode.md)
- [ShapeFiltVolContext](/ja-jp/reference/audio/shapefiltvolcontext/shapefiltvolcontext_members.md)
- [SetShapeFiltVolQ](/ja-jp/reference/audio/shapefiltvolcontext/functions/setshapefiltvolq.md)
- [SetShapeFiltVolFrequency](/ja-jp/reference/audio/shapefiltvolcontext/functions/setshapefiltvolfrequency.md)
