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

Obtient les coefficients bruts d'un filtre d'égaliseur.

## Syntaxe

```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  
)  
```

### Paramètres

*context*   \_In\_\
Type : [SHAPE\_EQCOMP\_CONTEXT\*](/fr-CA/reference/audio/shapeeqcompcontext/structs/shape_eqcomp_context)

Pointeur vers une structure SHAPE\_EQCOMP\_CONTEXT.

*filterIndex*   \
Type : [SHAPE\_EQCOMP\_FILTER\_INDEX](/fr-CA/reference/audio/shapeeqcompcontext/enums/shape_eqcomp_filter_index)

Membre de l'énumération SHAPE\_EQCOMP\_FILTER\_INDEX.

*a1*   \_Out\_\
Type : INT32\*

Coefficient brut a1 du filtre d'égaliseur spécifié.

*a2*   \_Out\_\
Type : INT32\*

Coefficient brut a2 du filtre d'égaliseur spécifié.

*b0*   \_Out\_\
Type : INT32\*

Coefficient brut b0 du filtre d'égaliseur spécifié.

*b1*   \_Out\_\
Type : INT32\*

Coefficient brut b1 du filtre d'égaliseur spécifié.

*b2*   \_Out\_\
Type : INT32\*

Coefficient brut b2 du filtre d'égaliseur spécifié.

### Valeur de retour

Type : HRESULT

Code de réussite ou d'erreur HRESULT.

## Remarques

Les coefficients de chaque filtre biquadratique (b0, b1, b2, a1 et a2) sont stockés sous forme d'entiers de 24 bits. Cela permet une plage de coefficients allant jusqu'à ±7,998, ce qui convient pour fournir les coefficients des types de filtres autorisés : une plage de fréquences de 20 Hz à 18 kHz et une plage de gain de -18 dB à 18 dB.

Pour plus d'informations, consultez [Égalisation et compression](/fr-CA/build/console-features/audio/overviews/shape-overview#ID4ECF) dans [Vue d'ensemble de SHAPE](/fr-CA/build/console-features/audio/overviews/shape-overview).

## Configuration requise

**En-tête :** shapeeqcompcontext.h

**Plateformes prises en charge :** Consoles de la famille XBOX One et consoles XBOX Series

## Voir aussi

[ShapeEqCompContext](/fr-CA/reference/audio/shapeeqcompcontext/shapeeqcompcontext_members)


## Related topics

- [GetShapeEqCompRawFilterCoefficients](/ja-jp/reference/audio/shapeeqcompcontext/functions/getshapeeqcomprawfiltercoefficients.md)
- [ShapeEqCompContext](/reference/audio/shapeeqcompcontext/shapeeqcompcontext_members.md)
- [GetShapeEqCompRawFilterTargetCoefficients](/reference/audio/shapeeqcompcontext/functions/getshapeeqcomprawfiltertargetcoefficients.md)
