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

# SetShapeSrcXmaBlocksToSkip

> SetShapeSrcXmaBlocksToSkip

# SetShapeSrcXmaBlocksToSkip

Sets the number of XMA blocks to skip when starting.

## Syntax

```cpp theme={null}
HRESULT SetShapeSrcXmaBlocksToSkip(  
         SHAPE_SRC_CONTEXT* context,  
         UINT32 xmaBlocksToSkip  
)  
```

### Parameters

*context*   \_Inout\_\
Type: [SHAPE\_SRC\_CONTEXT](/reference/audio/shapesrccontext/structs/shape_src_context)\*

Pointer to a [SHAPE\_SRC\_CONTEXT](/reference/audio/shapesrccontext/structs/shape_src_context) object.

*xmaBlocksToSkip*   \
Type: UINT32

Number of blocks to skip.

### Return value

Type: HRESULT

HRESULT success or error code.

## Remarks

The maximum number of XMA blocks to skip is 3. (Each block contains a maximum of 128 samples, so up to 384 samples can be skipped.) To get the current skip number, use [GetShapeSrcXmaBlocksToSkip](/reference/audio/shapesrccontext/functions/getshapesrcxmablockstoskip).

For more information about the SRC, see [Sample Rate Convertor (SRC) block](/build/console-features/audio/overviews/shape-overview#ID4EOE) in [Overview of SHAPE](/build/console-features/audio/overviews/shape-overview).

## Requirements

**Header:** shapesrccontext.h

**Supported platforms:** XBOX One family consoles and XBOX Series consoles

## See also

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


## Related topics

- [GetShapeSrcXmaBlocksToSkip](/reference/audio/shapesrccontext/functions/getshapesrcxmablockstoskip.md)
- [ShapeSrcContext](/reference/audio/shapesrccontext/shapesrccontext_members.md)
- [SetShapeXmaLoopSubframeSkip](/reference/audio/shapexmacontext/functions/setshapexmaloopsubframeskip.md)
- [SetShapeXmaNumSubframesToSkip](/reference/audio/shapexmacontext/functions/setshapexmanumsubframestoskip.md)
- [GetShapeXmaLoopSubframeSkip](/reference/audio/shapexmacontext/functions/getshapexmaloopsubframeskip.md)
