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

# SetShapeFiltVolQ

> SetShapeFiltVolQ

# SetShapeFiltVolQ

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

## Syntax

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

### Parameters

*context*   \_Inout\_\
Type: [SHAPE\_FILTVOL\_CONTEXT](https://docs.xbox.com/ja-jp/reference/audio/shapefiltvolcontext/structs/shape_filtvol_context.md)\*

[SHAPE\_FILTVOL\_CONTEXT](https://docs.xbox.com/ja-jp/reference/audio/shapefiltvolcontext/structs/shape_filtvol_context.md) オブジェクトへのポインター。

*q*   \
Type: float

Q ファクター。

### Return value

Type: HRESULT

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

## Remarks

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

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

詳細については、[SHAPE の概要](https://docs.xbox.com/ja-jp/build/console-features/audio/overviews/shape-overview.md) の [フィルター/ボリュームブロック (FLTVOL)](https://docs.xbox.com/ja-jp/build/console-features/audio/overviews/shape-overview.md#ID4EBH) セクションを参照してください。

## Requirements

**Header:** shapefiltvolcontext.h

**Supported platforms:** XBOX One ファミリー本体および XBOX Series 本体

## See also

[SetShapeFiltVolQTarget](https://docs.xbox.com/ja-jp/reference/audio/shapefiltvolcontext/functions/setshapefiltvolqtarget.md)\
[ShapeFiltVolContext](https://docs.xbox.com/ja-jp/reference/audio/shapefiltvolcontext/shapefiltvolcontext_members.md)


## Related topics

- [SetShapeFiltVolQTarget](https://docs.xbox.com/ja-jp/reference/audio/shapefiltvolcontext/functions/setshapefiltvolqtarget.md)
- [GetShapeFiltVolQ](https://docs.xbox.com/ja-jp/reference/audio/shapefiltvolcontext/functions/getshapefiltvolq.md)
- [ShapeFiltVolContext](https://docs.xbox.com/ja-jp/reference/audio/shapefiltvolcontext/shapefiltvolcontext_members.md)
- [SetShapeFiltVolCommand](https://docs.xbox.com/ja-jp/reference/audio/shapeflowgraph/functions/setshapefiltvolcommand.md)
- [SetShapeFiltVolFrequency](https://docs.xbox.com/ja-jp/reference/audio/shapefiltvolcontext/functions/setshapefiltvolfrequency.md)
