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

# GetShapeXmaNumLoops

> GetShapeXmaNumLoops

# GetShapeXmaNumLoops

XMA コンテキストのループ回数を取得します。

<a id="syntaxSection" />

## 構文

```cpp theme={null}
UINT32 GetShapeXmaNumLoops(  
         const SHAPE_XMA_CONTEXT* context  
)  
```

<a id="parametersSection" />

### パラメーター

*context*   \_In\_\
型: [SHAPE\_XMA\_CONTEXT](/reference/audio/shapexmacontext/structs/shape_xma_context)\*

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

<a id="retvalSection" />

### 戻り値

型: UINT32

ループ回数 (0 から 254 まで)。255 は連続ループを指定します。

<a id="remarksSection" />

## 解説

XMA コンテキストのループに関するガイダンスについては、[ACP の概要](/build/console-features/audio/overviews/acp-overview) の [PCM および XMA データに対する SRC 使用のガイドライン](/build/console-features/audio/overviews/acp-overview#ID4EUPAC) を参照してください。

ループ回数を設定するには、[SetShapeXmaNumLoops](/reference/audio/shapexmacontext/functions/setshapexmanumloops) を使用します。

詳細については、[SHAPE の概要](/build/console-features/audio/overviews/shape-overview) の [XMA](/build/console-features/audio/overviews/shape-overview#ID4EYD) セクションを参照してください。

<a id="requirementsSection" />

## 要件

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

**サポートされているプラットフォーム:** XBOX One ファミリ本体および XBOX Series 本体

<a id="seealsoSection" />

## 関連項目

[ShapeXmaContext](/reference/audio/shapexmacontext/shapexmacontext_members)


## Related topics

- [SetShapeXmaNumLoops](/ja-jp/reference/audio/shapexmacontext/functions/setshapexmanumloops.md)
- [ShapeXmaContext](/ja-jp/reference/audio/shapexmacontext/shapexmacontext_members.md)
- [GetShapeXmaLoopEndOffset](/ja-jp/reference/audio/shapexmacontext/functions/getshapexmaloopendoffset.md)
- [GetShapeXmaLoopStartOffset](/ja-jp/reference/audio/shapexmacontext/functions/getshapexmaloopstartoffset.md)
- [GetShapeXmaLoopSubframeEnd](/ja-jp/reference/audio/shapexmacontext/functions/getshapexmaloopsubframeend.md)
