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

# GetShapeFiltVolPeakMagnitude

> GetShapeFiltVolPeakMagnitude

# GetShapeFiltVolPeakMagnitude

ピーク振幅を取得します。

## Syntax

```cpp theme={null}
float GetShapeFiltVolPeakMagnitude(  
         const SHAPE_FILTVOL_CONTEXT* context  
)  
```

### Parameters

*context*   \_In\_\
Type: [SHAPE\_FILTVOL\_CONTEXT](/reference/audio/shapefiltvolcontext/structs/shape_filtvol_context)\*

[SHAPE\_FILTVOL\_CONTEXT](/reference/audio/shapefiltvolcontext/structs/shape_filtvol_context) オブジェクトへのポインター。

### Return value

Type: float

ピーク振幅。

## Remarks

各ハードウェアブロックは、そのブロックの出力の振幅を表す 2 つの 4 ビット値を保持します。振幅は、オーディオフレーム中のピーク出力を特定し、そのピークの絶対値の先頭のゼロをカウントすることによって計算されます。1 つの 4 ビット値は継続的に維持されるピーク振幅を保持し、もう 1 つはオーディオフレームごとにハードウェアによってリセットされます。

詳細については、[SHAPE の概要](/build/console-features/audio/overviews/shape-overview) の [オーバーフロー、振幅、および飽和](/build/console-features/audio/overviews/shape-overview#ID4ELAAC) を参照してください。

## Requirements

**Header:** shapefiltvolcontext.h

**Supported platforms:** XBOX One ファミリー本体および XBOX Series 本体

## See also

[ShapeFiltVolContext](/reference/audio/shapefiltvolcontext/shapefiltvolcontext_members)


## Related topics

- [ShapeFiltVolContext](/ja-jp/reference/audio/shapefiltvolcontext/shapefiltvolcontext_members.md)
- [GetShapeFiltVolMixBufferPeakMagnitude](/ja-jp/reference/audio/shapefiltvolcontext/functions/getshapefiltvolmixbufferpeakmagnitude.md)
- [GetShapeDmaPeakMagnitude](/ja-jp/reference/audio/shapedmacontext/functions/getshapedmapeakmagnitude.md)
- [GetShapeEqCompPeakMagnitude](/ja-jp/reference/audio/shapeeqcompcontext/functions/getshapeeqcomppeakmagnitude.md)
- [GetShapeDmaMixBufferPeakMagnitude](/ja-jp/reference/audio/shapedmacontext/functions/getshapedmamixbufferpeakmagnitude.md)
