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

# SHAPE_EQCOMP_COMPRESSOR_MODE

> SHAPE_EQCOMP_COMPRESSOR_MODE

# SHAPE\_EQCOMP\_COMPRESSOR\_MODE

コンプレッサーのモード。

## 構文

```cpp theme={null}
enum SHAPE_EQCOMP_COMPRESSOR_MODE    
{  
    SHAPE_EQCOMP_COMPRESSOR_MODE_PEAK,  
    SHAPE_EQCOMP_COMPRESSOR_MODE_RUNNING_AVERAGE  
}  
```

## 定数

| 定数 | 説明 |
| - | - |
| SHAPE\_EQCOMP\_COMPRESSOR\_MODE\_PEAK | ピーク検出モードでは、入力信号がコンパレーターに直接与えられ、個々のオーディオ サンプルがしきい値と比較されます。 |
| SHAPE\_EQCOMP\_COMPRESSOR\_MODE\_RUNNING\_AVERAGE | ランニング アベレージ検出モードでは、入力信号の RMS レベルの近似値がコンパレーターに与えられます。 |

## 解説

この列挙型は、[SHAPE\_EQCOMP\_CONTEXT](https://docs.xbox.com/ja-jp/reference/audio/shapeeqcompcontext/structs/shape_eqcomp_context.md) 構造体で使用されます。また、[SetShapeEqCompCompressorMode](https://docs.xbox.com/ja-jp/reference/audio/shapeeqcompcontext/functions/setshapeeqcompcompressormode.md) および [GetShapeEqCompCompressorMode](https://docs.xbox.com/ja-jp/reference/audio/shapeeqcompcontext/functions/getshapeeqcompcompressormode.md) 関数でも使用されます。

詳細については、[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

- [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)
- [ShapeEqCompContext](https://docs.xbox.com/ja-jp/reference/audio/shapeeqcompcontext/shapeeqcompcontext_members.md)
- [SHAPE_EQCOMP_CONTEXT](https://docs.xbox.com/ja-jp/reference/audio/shapeeqcompcontext/structs/shape_eqcomp_context.md)
- [SHAPE_EQCOMP_EXPAND_MODE](https://docs.xbox.com/ja-jp/reference/audio/shapeeqcompcontext/enums/shape_eqcomp_expand_mode.md)
