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

# GetShapeEqCompRawFilterCoefficients

> GetShapeEqCompRawFilterCoefficients

# GetShapeEqCompRawFilterCoefficients

イコライザー フィルターの Raw 係数を取得します。

## Syntax

```cpp theme={null}
HRESULT GetShapeEqCompRawFilterCoefficients(  
         const SHAPE_EQCOMP_CONTEXT* context,  
         SHAPE_EQCOMP_FILTER_INDEX filterIndex,  
         INT32* a1,  
         INT32* a2,  
         INT32* b0,  
         INT32* b1,  
         INT32* b2  
)  
```

### パラメーター

*context*   \_In\_\
型: [SHAPE\_EQCOMP\_CONTEXT\*](/reference/audio/shapeeqcompcontext/structs/shape_eqcomp_context)

SHAPE\_EQCOMP\_CONTEXT 構造体へのポインター。

*filterIndex*   \
型: [SHAPE\_EQCOMP\_FILTER\_INDEX](/reference/audio/shapeeqcompcontext/enums/shape_eqcomp_filter_index)

SHAPE\_EQCOMP\_FILTER\_INDEX 列挙型のメンバー。

*a1*   \_Out\_\
型: INT32\*

指定されたイコライザー フィルターの Raw 係数 a1。

*a2*   \_Out\_\
型: INT32\*

指定されたイコライザー フィルターの Raw 係数 a2。

*b0*   \_Out\_\
型: INT32\*

指定されたイコライザー フィルターの Raw 係数 b0。

*b1*   \_Out\_\
型: INT32\*

指定されたイコライザー フィルターの Raw 係数 b1。

*b2*   \_Out\_\
型: INT32\*

指定されたイコライザー フィルターの Raw 係数 b2。

### 戻り値

型: HRESULT

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

## 解説

各 biquad フィルターの係数 (b0、b1、b2、a1、および a2) は、24 ビット整数として格納されます。これにより最大 ±7.998 までの係数範囲が可能となり、許容されるフィルターの種類 (20 Hz ～ 18 kHz の周波数範囲、および -18 dB ～ 18 dB のゲイン範囲) に係数を提供するのに適しています。

詳細については、[SHAPE の概要](/build/console-features/audio/overviews/shape-overview)の[イコライゼーションおよびコンプレッション](/build/console-features/audio/overviews/shape-overview#ID4ECF)を参照してください。

## 要件

**ヘッダー:** shapeeqcompcontext.h

**対応プラットフォーム:** XBOX One ファミリ本体および XBOX Series 本体

## 関連項目

[ShapeEqCompContext](/reference/audio/shapeeqcompcontext/shapeeqcompcontext_members)


## Related topics

- [ShapeEqCompContext](/ja-jp/reference/audio/shapeeqcompcontext/shapeeqcompcontext_members.md)
- [GetShapeEqCompRawFilterTargetCoefficients](/ja-jp/reference/audio/shapeeqcompcontext/functions/getshapeeqcomprawfiltertargetcoefficients.md)
- [SetShapeEqCompRawFilterCoefficients](/ja-jp/reference/audio/shapeeqcompcontext/functions/setshapeeqcomprawfiltercoefficients.md)
- [SetShapeEqCompRawFilterTargetCoefficients](/ja-jp/reference/audio/shapeeqcompcontext/functions/setshapeeqcomprawfiltertargetcoefficients.md)
- [GetShapeEqCompFilterCoefficients](/ja-jp/reference/audio/shapeeqcompcontext/functions/getshapeeqcompfiltercoefficients.md)
