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

# SetShapeXmaLoopSubframeSkip

> SetShapeXmaLoopSubframeSkip

# SetShapeXmaLoopSubframeSkip

ループの先頭でスキップするサブフレームの数を設定します。

<a id="syntaxSection" />

## 構文

```cpp theme={null}
HRESULT SetShapeXmaLoopSubframeSkip(  
         SHAPE_XMA_CONTEXT* context,  
         UINT32 numSubframes  
)  
```

<a id="parametersSection" />

### パラメーター

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

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

*numSubframes*   \
型: UINT32

デコードを開始する前にスキップするサブフレームの数 (0 から 4 まで)。

<a id="retvalSection" />

### 戻り値

型: HRESULT

HRESULT の成功またはエラー コード。

<a id="remarksSection" />

## 解説

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

現在のスキップするサブフレームの数を取得するには、[GetShapeXmaLoopSubframeSkip](/reference/audio/shapexmacontext/functions/getshapexmaloopsubframeskip) を使用します。

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

- [GetShapeXmaLoopSubframeSkip](/ja-jp/reference/audio/shapexmacontext/functions/getshapexmaloopsubframeskip.md)
- [ShapeXmaContext](/ja-jp/reference/audio/shapexmacontext/shapexmacontext_members.md)
- [SetShapeXmaNumSubframesToSkip](/ja-jp/reference/audio/shapexmacontext/functions/setshapexmanumsubframestoskip.md)
- [SetShapeXmaLoopSubframeEnd](/ja-jp/reference/audio/shapexmacontext/functions/setshapexmaloopsubframeend.md)
- [GetShapeXmaNumSubframesToSkip](/ja-jp/reference/audio/shapexmacontext/functions/getshapexmanumsubframestoskip.md)
