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

# GetShapeEqCompEnableCompressor

> GetShapeEqCompEnableCompressor

# GetShapeEqCompEnableCompressor

コンプレッサー フラグの状態を取得します。

## Syntax

```cpp theme={null}
bool GetShapeEqCompEnableCompressor(  
         const SHAPE_EQCOMP_CONTEXT* context  
)  
```

### パラメーター

*context*   \_In\_\
型: [SHAPE\_EQCOMP\_CONTEXT\*](https://docs.xbox.com/ja-jp/reference/audio/shapeeqcompcontext/structs/shape_eqcomp_context.md)

SHAPE\_EQCOMP\_CONTEXT オブジェクトへのポインター。

### 戻り値

型: bool

イコライザー / コンプレッサー-エキスパンダー ブロックのコンプレッサー部分が有効な場合は True。

## 解説

コンプレッサーは、入力のレベルを監視して動的なゲイン値を作成することにより、信号のダイナミック レンジを制限します。次に、コンプレッサーはそのゲイン値を信号の乗数として使用し、現在の入力信号のレベルに応じて信号をスケーリングします。つまり、コンプレッサーは入力信号を絶えず監視して自身を調整する、自動ボリューム コントロールです。

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

## 要件

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

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

## 関連項目

[ShapeEqCompContext](https://docs.xbox.com/ja-jp/reference/audio/shapeeqcompcontext/shapeeqcompcontext_members.md)


## Related topics

- [SHAPE_EQCOMP_EXPAND_MODE](https://docs.xbox.com/ja-jp/reference/audio/shapeeqcompcontext/enums/shape_eqcomp_expand_mode.md)
- [ShapeEqCompContext](https://docs.xbox.com/ja-jp/reference/audio/shapeeqcompcontext/shapeeqcompcontext_members.md)
- [SetShapeEqCompEnableCompressor](https://docs.xbox.com/ja-jp/reference/audio/shapeeqcompcontext/functions/setshapeeqcompenablecompressor.md)
- [GetShapeEqCompCompressorMode](https://docs.xbox.com/ja-jp/reference/audio/shapeeqcompcontext/functions/getshapeeqcompcompressormode.md)
- [SetShapeEqCompCompressorMode](https://docs.xbox.com/ja-jp/reference/audio/shapeeqcompcontext/functions/setshapeeqcompcompressormode.md)
