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

# SetShapeFiltVolQ

> SetShapeFiltVolQ

# SetShapeFiltVolQ

Q (クオリティ) ファクターを設定します。

## Syntax

```cpp theme={null}
HRESULT SetShapeFiltVolQ(  
         SHAPE_FILTVOL_CONTEXT* context,  
         float q  
)  
```

### Parameters

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

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

*q*   \
Type: float

Q ファクター。

### Return value

Type: HRESULT

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

## Remarks

フィルター/ボリューム (FLTVOL) ブロックは Chamberlin フィルターとして実装されています。Q の値が大きいほど、フィルターの帯域幅は狭くなります。現在の Q の値を取得するには、[GetShapeFiltVolQ](/reference/audio/shapefiltvolcontext/functions/getshapefiltvolq) を使用します。

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

[SetShapeFiltVolQTarget](/reference/audio/shapefiltvolcontext/functions/setshapefiltvolqtarget)\
[ShapeFiltVolContext](/reference/audio/shapefiltvolcontext/shapefiltvolcontext_members)


## Related topics

- [SetShapeFiltVolQTarget](/ja-jp/reference/audio/shapefiltvolcontext/functions/setshapefiltvolqtarget.md)
- [GetShapeFiltVolQ](/ja-jp/reference/audio/shapefiltvolcontext/functions/getshapefiltvolq.md)
- [ShapeFiltVolContext](/ja-jp/reference/audio/shapefiltvolcontext/shapefiltvolcontext_members.md)
- [SetShapeFiltVolFrequency](/ja-jp/reference/audio/shapefiltvolcontext/functions/setshapefiltvolfrequency.md)
- [SetShapeFiltVolMode](/ja-jp/reference/audio/shapefiltvolcontext/functions/setshapefiltvolmode.md)
