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

# GetShapeSrcXmaBlocksToSkip

> GetShapeSrcXmaBlocksToSkip

# GetShapeSrcXmaBlocksToSkip

获取启动时要跳过的 XMA 块数。

## 语法

```cpp theme={null}
UINT32 GetShapeSrcXmaBlocksToSkip(  
         const SHAPE_SRC_CONTEXT* context  
)  
```

### 参数

*context*   \_In\_\
类型：[SHAPE\_SRC\_CONTEXT](/reference/audio/shapesrccontext/structs/shape_src_context)\*

指向 [SHAPE\_SRC\_CONTEXT](/reference/audio/shapesrccontext/structs/shape_src_context) 对象的指针。

### 返回值

类型：UINT32

要跳过的块数。

## 备注

要跳过的 XMA 块的最大数量为 3。（每个块最多包含 128 个样本，因此最多可跳过 384 个样本。）若要设置跳过数量，请使用 [SetShapeSrcXmaBlocksToSkip](/reference/audio/shapesrccontext/functions/setshapesrcxmablockstoskip)。

有关 SRC 的更多信息，请参阅 [SHAPE 概述](/build/console-features/audio/overviews/shape-overview)中的[采样率转换器 (SRC) 块](/build/console-features/audio/overviews/shape-overview#ID4EOE)。

## 要求

**标头：** shapesrccontext.h

**支持的平台：** XBOX One 系列主机和 XBOX Series 主机

## 另请参阅

[ShapeSrcContext](/reference/audio/shapesrccontext/shapesrccontext_members)


## Related topics

- [SetShapeSrcXmaBlocksToSkip](/zh-CN/reference/audio/shapesrccontext/functions/setshapesrcxmablockstoskip.md)
- [ShapeSrcContext](/zh-CN/reference/audio/shapesrccontext/shapesrccontext_members.md)
- [GetShapeXmaLoopSubframeSkip](/zh-CN/reference/audio/shapexmacontext/functions/getshapexmaloopsubframeskip.md)
- [GetShapeXmaNumSubframesToSkip](/zh-CN/reference/audio/shapexmacontext/functions/getshapexmanumsubframestoskip.md)
- [SetShapeXmaLoopSubframeSkip](/zh-CN/reference/audio/shapexmacontext/functions/setshapexmaloopsubframeskip.md)
