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

# SHAPE_EQCOMP_LOG_GAIN

> SHAPE_EQCOMP_LOG_GAIN

# SHAPE\_EQCOMP\_LOG\_GAIN

Modes de gain du compresseur.

## Syntaxe

```cpp theme={null}
enum SHAPE_EQCOMP_LOG_GAIN    
{  
    SHAPE_EQCOMP_LOG_GAIN_NORMAL,  
    SHAPE_EQCOMP_LOG_GAIN_LOG  
}  
```

## Constantes

| Constante | Description |
| - | - |
| SHAPE\_EQCOMP\_LOG\_GAIN\_NORMAL | Mode normal. |
| SHAPE\_EQCOMP\_LOG\_GAIN\_LOG | Mode de gain logarithmique. |

## Remarques

Cette énumération est utilisée dans les fonctions [GetShapeEqCompLogGain](/fr-CA/reference/audio/shapeeqcompcontext/functions/getshapeeqcomploggain) et [SetShapeEqCompLogGain](/fr-CA/reference/audio/shapeeqcompcontext/functions/setshapeeqcomploggain).

Les valeurs d'attaque et de relâchement indiquent à quelle vitesse le compresseur doit faire varier le gain de sortie en réponse à un signal qui dépasse le seuil ou qui passe sous celui-ci. Ces ajustements peuvent être linéaires (`SHAPE_EQCOMP_LOG_GAIN_NORMAL`) ou logarithmiques (`SHAPE_EQCOMP_LOG_GAIN_LOG`).

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

- [SHAPE_EQCOMP_LOG_GAIN](/reference/audio/shapeeqcompcontext/enums/shape_eqcomp_log_gain.md)
- [SetShapeEqCompLogGain](/reference/audio/shapeeqcompcontext/functions/setshapeeqcomploggain.md)
- [GetShapeEqCompLogGain](/reference/audio/shapeeqcompcontext/functions/getshapeeqcomploggain.md)
