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

# GetShapeXmaNumSubframesToDecode

> GetShapeXmaNumSubframesToDecode

# GetShapeXmaNumSubframesToDecode

取得每個階段要解碼的子框架數目。

<a id="syntaxSection" />

## 語法

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

<a id="parametersSection" />

### 參數

*context*   \_In\_\
類型：[SHAPE\_XMA\_CONTEXT](/zh-TW/reference/audio/shapexmacontext/structs/shape_xma_context)\*

[SHAPE\_XMA\_CONTEXT](/zh-TW/reference/audio/shapexmacontext/structs/shape_xma_context) 物件的指標。

<a id="retvalSection" />

### 傳回值

類型：UINT32

要解碼的子框架數目。有效值為 1、2、4 和 8。

<a id="remarksSection" />

## 備註

若要設定每個階段要解碼的子框架數目，請使用 [SetShapeXmaNumSubframesToDecode](/zh-TW/reference/audio/shapexmacontext/functions/setshapexmanumsubframestodecode)。

若要取得目前要略過的子框架數目，請使用 [GetShapeXmaNumSubframesToSkip](/zh-TW/reference/audio/shapexmacontext/functions/getshapexmanumsubframestoskip)。

如需詳細資訊，請參閱 [SHAPE 概觀](/zh-TW/build/console-features/audio/overviews/shape-overview)中的 [XMA](/zh-TW/build/console-features/audio/overviews/shape-overview#ID4EYD) 一節。

<a id="requirementsSection" />

## 需求

**標頭：** shapexmacontext.h

**支援的平台：** XBOX One 系列主機和 XBOX Series 主機

<a id="seealsoSection" />

## 另請參閱

[ShapeXmaContext](/zh-TW/reference/audio/shapexmacontext/shapexmacontext_members)


## Related topics

- [GetShapeXmaNumSubframesToDecode](/reference/audio/shapexmacontext/functions/getshapexmanumsubframestodecode.md)
- [SetShapeXmaNumSubframesToDecode](/reference/audio/shapexmacontext/functions/setshapexmanumsubframestodecode.md)
- [GetShapeXmaNumSubframesToSkip](/reference/audio/shapexmacontext/functions/getshapexmanumsubframestoskip.md)
- [ShapeXmaContext](/reference/audio/shapexmacontext/shapexmacontext_members.md)
- [SetShapeXmaNumSubframesToSkip](/reference/audio/shapexmacontext/functions/setshapexmanumsubframestoskip.md)
