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

# ACP_COMMAND_INCREMENT_XMA_WRITE_BUFFER_OFFSET_READ

> ACP_COMMAND_INCREMENT_XMA_WRITE_BUFFER_OFFSET_READ

# ACP\_COMMAND\_INCREMENT\_XMA\_WRITE\_BUFFER\_OFFSET\_READ

Increments the read offset of the output buffer of a SHAPE\_XMA\_CONTEXT structure.

## Syntax

```cpp theme={null}
typedef struct ACP_COMMAND_INCREMENT_XMA_WRITE_BUFFER_OFFSET_READ {  
    UINT32 contextIndex;  
    UINT32 increment;  
} ACP_COMMAND_INCREMENT_XMA_WRITE_BUFFER_OFFSET_READ  
```

### Members

*contextIndex*\
Type: UINT32

Index of a context to be updated.

*increment*\
Type: UINT32

Amount by which the pointer is to be incremented.

## Remarks

Used by `ACP_COMMAND_TYPE_INCREMENT_XMA_WRITE_BUFFER_OFFSET_READ` to update the read offset of the output buffer. The read offset cannot be updated if the context is in use by SHAPE. See the [XMA utilities section of Overview of ACP](/build/console-features/audio/overviews/acp-overview#ID4EACAC) for associated commands.

## Requirements

**Header:** acphal.h

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

## See also

[ACP\_COMMAND\_TYPE](/reference/audio/acphal/enums/acp_command_type)\
[SubmitCommand](/reference/audio/acphal/interfaces/IAcpHal/methods/iacphal_submitcommand)\
[AcpHal](/reference/audio/acphal/acphal_members)


## Related topics

- [ACP_COMMAND_TYPE](/reference/audio/acphal/enums/acp_command_type.md)
- [AcpHal](/reference/audio/acphal/acphal_members.md)
- [ACP_COMMAND_UPDATE_XMA_READ_BUFFER](/reference/audio/acphal/structs/acp_command_update_xma_read_buffer.md)
- [ACP_COMMAND_UPDATE_XMA_CONTEXT](/reference/audio/acphal/structs/acp_command_update_xma_context.md)
- [ACP_COMMAND_UPDATE_XMA_CONTEXT_ENTRY](/reference/audio/acphal/structs/acp_command_update_xma_context_entry.md)
