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

> ACP_COMMAND_UPDATE_PCM_CONTEXT_ENTRY

# ACP\_COMMAND\_UPDATE\_PCM\_CONTEXT\_ENTRY

Entry for updating a SHAPE\_PCM\_CONTEXT.

## Syntax

```cpp theme={null}
typedef struct ACP_COMMAND_UPDATE_PCM_CONTEXT_ENTRY {  
    UINT32 contextIndex;  
    UINT32 loopStartWritePointer;  
} ACP_COMMAND_UPDATE_PCM_CONTEXT_ENTRY  
```

### Members

*contextIndex*\
Type: UINT32

Index in the range of 0 to ACP\_MAX\_NUM\_PCM\_CONTEXTS.

*loopStartWritePointer*\
Type: UINT32

Replaces the existing value of SHAPE\_PCM\_CONTEXT::loopStartWritePointer.

## Remarks

This structure is used by `ACP_COMMAND_UPDATE_CONTEXTS` and `ACP_COMMAND_UPDATE_ALL_CONTEXTS` commands to update a single PCM context. Use the command to update only a small number of contexts per audio frame; updating a large number of contexts is not efficient. See the [Rendering audio section of Overview of ACP](/build/console-features/audio/overviews/acp-overview#ID4E6C) for more detail.

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

- [AcpHal](/reference/audio/acphal/acphal_members.md)
- [ACP_COMMAND_UPDATE_CONTEXTS](/reference/audio/acphal/structs/acp_command_update_contexts.md)
- [ACP_COMMAND_UPDATE_ALL_CONTEXTS](/reference/audio/acphal/structs/acp_command_update_all_contexts.md)
- [ACP_COMMAND_UPDATE_XMA_CONTEXT_ENTRY](/reference/audio/acphal/structs/acp_command_update_xma_context_entry.md)
- [ACP_COMMAND_UPDATE_PCM_CONTEXT](/reference/audio/acphal/structs/acp_command_update_pcm_context.md)
