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

# GetShapeEqCompExpandMode

> GetShapeEqCompExpandMode

# GetShapeEqCompExpandMode

コンプレッション / エキスパンション モードを取得します。

## Syntax

```cpp theme={null}
SHAPE_EQCOMP_EXPAND_MODE GetShapeEqCompExpandMode(  
         const SHAPE_EQCOMP_CONTEXT* context  
)  
```

### パラメーター

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

`SHAPE_EQCOMP_CONTEXT` オブジェクトへのポインター。

### 戻り値

型: [SHAPE\_EQCOMP\_EXPAND\_MODE](/reference/audio/shapeeqcompcontext/enums/shape_eqcomp_expand_mode)

`SHAPE_EQCOMP_EXPAND_MODE` 列挙型のメンバー。

## 解説

通常、EQ/コンプレッサー-エキスパンダー ブロックは信号のダイナミック レンジを制限します。コンプレッサーは、特定のしきい値を超える信号にのみ作用し、しきい値を下回る信号は変更されずに通過します。

この関数の戻り値が `SHAPE_EQCOMP_EXPAND_MODE_EXPANDER` の場合、動作は反転します。エキスパンダーは、特定のしきい値を下回る信号に作用し、しきい値を上回る信号は変更されずに通過します。

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

## 要件

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

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

## 関連項目

[SetShapeEqCompExpandMode](/reference/audio/shapeeqcompcontext/functions/setshapeeqcompexpandmode)\
[GetShapeEqCompThreshold](/reference/audio/shapeeqcompcontext/functions/getshapeeqcompthreshold)\
[ShapeEqCompContext](/reference/audio/shapeeqcompcontext/shapeeqcompcontext_members)


## Related topics

- [SetShapeEqCompExpandMode](/ja-jp/reference/audio/shapeeqcompcontext/functions/setshapeeqcompexpandmode.md)
- [ShapeEqCompContext](/ja-jp/reference/audio/shapeeqcompcontext/shapeeqcompcontext_members.md)
- [GetShapeEqCompThreshold](/ja-jp/reference/audio/shapeeqcompcontext/functions/getshapeeqcompthreshold.md)
- [GetShapeEqCompCompressorMode](/ja-jp/reference/audio/shapeeqcompcontext/functions/getshapeeqcompcompressormode.md)
- [GetShapeEqCompSidechainMode](/ja-jp/reference/audio/shapeeqcompcontext/functions/getshapeeqcompsidechainmode.md)
