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

# SetShapeFiltVolQTarget

> SetShapeFiltVolQTarget

# SetShapeFiltVolQTarget

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

## Syntax

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

### Parameters

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

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

*qTarget*   \
Type: float

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

### Return value

Type: HRESULT

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

## Remarks

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

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

[SetShapeFiltVolQ](/reference/audio/shapefiltvolcontext/functions/setshapefiltvolq)\
[ShapeFiltVolContext](/reference/audio/shapefiltvolcontext/shapefiltvolcontext_members)
