> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 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](https://docs.xbox.com/reference/audio/shapesrccontext/structs/shape_src_context.md)\*

Pointer to a [SHAPE\_SRC\_CONTEXT](https://docs.xbox.com/reference/audio/shapesrccontext/structs/shape_src_context.md) 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](https://docs.xbox.com/reference/audio/shapesrccontext/functions/getshapesrcxmablockstoskip.md).

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

## Requirements

**Header:** shapesrccontext.h

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

## See also

[ShapeSrcContext](https://docs.xbox.com/reference/audio/shapesrccontext/shapesrccontext_members.md)


## Related topics

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