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

# GetXmaPacketSkipCount

> GetXmaPacketSkipCount

A helper function for the `XMA2PACKET` structure. It returns the packets from other streams to be skipped.

## Syntax

```cpp theme={null}
DWORD GetXmaPacketSkipCount(  
         const BYTE* pPacket  
)  
```

### Parameters

*pPacket*   \_In\_bytecount\_(4)\
Type: BYTE\*

Pointer to the packet.

### Return value

Type: DWORD

The skip count.

## Remarks

`GetXmaPacketSkipCount` is an inline helper function for the `XMA2PACKET` structure. It returns the packets from other streams to be skipped.

> [!NOTE]
>
> Bitfields cannot be read directly on little-endian architectures such as the Intel x86 because they are laid out in big-endian form.

For more information about XMA2, see [Overview of XMA2](https://docs.xbox.com/build/console-features/audio/overviews/xma2-overview.md). For an overview of the audio architecture of XBOX One, see **The sound of the future**: [The audio architecture in XBOX One](https://docs.xbox.com/build/console-features/audio/overviews/xbox-one-audio-architecture.md).

## Requirements

**Header:** xma2defs.h

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

## See also

[xma2defs](https://docs.xbox.com/reference/audio/xma2defs/xma2defs_members.md)


## Related topics

- [XMA2Defs](https://docs.xbox.com/reference/audio/xma2defs/xma2defs_members.md)
- [GetXmaPacketFrameCount](https://docs.xbox.com/reference/audio/xma2defs/functions/getxmapacketframecount.md)
- [XMA2PACKET](https://docs.xbox.com/reference/audio/xma2defs/structs/xma2packet.md)
- [GetXmaPacketMetadata](https://docs.xbox.com/reference/audio/xma2defs/functions/getxmapacketmetadata.md)
- [GetShapeXmaPacketMetadata](https://docs.xbox.com/reference/audio/shapexmacontext/functions/getshapexmapacketmetadata.md)
