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

# SetShapeFiltVolFrequency

> SetShapeFiltVolFrequency

# SetShapeFiltVolFrequency

FLTVOL コンテキストのコーナー周波数を設定します。

## Syntax

```cpp theme={null}
HRESULT SetShapeFiltVolFrequency(  
         SHAPE_FILTVOL_CONTEXT* context,  
         float frequency  
)  
```

### Parameters

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

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

*frequency*   \
Type: float

コーナー周波数。0 ～ 7999 Hz の範囲で指定する必要があります。

### Return value

Type: HRESULT

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

## Remarks

フィルター/ボリューム (FLTVOL) ブロックは Chamberlin フィルターとして実装されています。現在のコーナー周波数を取得するには、[GetShapeFiltVolFrequency](/reference/audio/shapefiltvolcontext/functions/getshapefiltvolfrequency) を使用します。

フィルタリング動作は 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

[SetShapeFiltVolFrequencyTarget](/reference/audio/shapefiltvolcontext/functions/setshapefiltvolfrequencytarget)\
[ShapeFiltVolContext](/reference/audio/shapefiltvolcontext/shapefiltvolcontext_members)


## Related topics

- [SetShapeFiltVolFrequencyTarget](/ja-jp/reference/audio/shapefiltvolcontext/functions/setshapefiltvolfrequencytarget.md)
- [GetShapeFiltVolFrequency](/ja-jp/reference/audio/shapefiltvolcontext/functions/getshapefiltvolfrequency.md)
- [ShapeFiltVolContext](/ja-jp/reference/audio/shapefiltvolcontext/shapefiltvolcontext_members.md)
- [GetShapeFiltVolFrequencyTarget](/ja-jp/reference/audio/shapefiltvolcontext/functions/getshapefiltvolfrequencytarget.md)
- [SetShapeFiltVolQ](/ja-jp/reference/audio/shapefiltvolcontext/functions/setshapefiltvolq.md)
