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

# SetShapeFiltVolQTarget

> SetShapeFiltVolQTarget

# SetShapeFiltVolQTarget

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

## Syntax

```cpp theme={null}
HRESULT SetShapeFiltVolQTarget(  
         SHAPE_FILTVOL_CONTEXT* context,  
         float qTarget  
)  
```

### 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) オブジェクトへのポインター。

*qTarget*   \
Type: float

Q ファクターターゲット。

### Return value

Type: HRESULT

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

## Remarks

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

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


## Related topics

- [SetShapeFiltVolQ](https://docs.xbox.com/ja-jp/reference/audio/shapefiltvolcontext/functions/setshapefiltvolq.md)
- [GetShapeFiltVolQTarget](https://docs.xbox.com/ja-jp/reference/audio/shapefiltvolcontext/functions/getshapefiltvolqtarget.md)
- [ShapeFiltVolContext](https://docs.xbox.com/ja-jp/reference/audio/shapefiltvolcontext/shapefiltvolcontext_members.md)
- [SetShapeFiltVolFrequencyTarget](https://docs.xbox.com/ja-jp/reference/audio/shapefiltvolcontext/functions/setshapefiltvolfrequencytarget.md)
- [SetShapeFiltVolOutputGainTarget](https://docs.xbox.com/ja-jp/reference/audio/shapefiltvolcontext/functions/setshapefiltvoloutputgaintarget.md)
