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

> ACP_COMMAND_UPDATE_FILTVOL_CONTEXT

# ACP\_COMMAND\_UPDATE\_FILTVOL\_CONTEXT

Command for updating a Filter/Volume context.

## Syntax

```cpp theme={null}
typedef struct ACP_COMMAND_UPDATE_FILTVOL_CONTEXT {  
    UINT32 contextIndex;  
    UINT32 updateMask;  
    APU_ADDRESS contextData;  
} ACP_COMMAND_UPDATE_FILTVOL_CONTEXT  
```

### Members

*contextIndex*\
Type: UINT32

Index of a context to be updated.

*updateMask*\
Type: UINT32

One or more update flags.

| Flag                                     | Value      |
| ---------------------------------------- | ---------- |
| SHAPE\_FILTVOL\_UPDATE\_GAIN             | 0x00000001 |
| SHAPE\_FILTVOL\_UPDATE\_GAIN\_TARGET     | 0x00000002 |
| SHAPE\_FILTVOL\_UPDATE\_HEADROOM         | 0x00000004 |
| SHAPE\_FILTVOL\_UPDATE\_SVF\_MODE        | 0x00000008 |
| SHAPE\_FILTVOL\_UPDATE\_Q\_RECIP         | 0x00000010 |
| SHAPE\_FILTVOL\_UPDATE\_Q\_RECIP\_TARGET | 0x00000020 |
| SHAPE\_FILTVOL\_UPDATE\_FC               | 0x00000040 |
| SHAPE\_FILTVOL\_UPDATE\_FC\_TARGET       | 0x00000080 |
| SHAPE\_FILTVOL\_UPDATE\_MASK             | 0x000000ff |

*contextData*\
Type: APU\_ADDRESS

Physical address of the context data to be updated. Refer to the [SHAPE\_FILTVOL\_CONTEXT](/reference/audio/shapefiltvolcontext/structs/shape_filtvol_context) structure.

## Remarks

Used by `ACP_COMMAND_TYPE_UPDATE_FILTVOL_CONTEXT` to update the specified Filter/Volume context. See the [ACP\_COMMAND\_TYPE](/reference/audio/acphal/enums/acp_command_type) enumeration. The context cannot be updated if it is already in the command queue.

## Requirements

**Header:** acphal.h

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

## Conceptual documentation

* [ACP overview](/build/console-features/audio/overviews/acp-overview)

## 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 overview](/build/console-features/audio/overviews/acp-overview.md)
- [ACP_COMMAND_LOAD_SHAPE_FLOWGRAPH](/reference/audio/acphal/structs/acp_command_load_shape_flowgraph.md)
- [ACP_COMMAND_TYPE](/reference/audio/acphal/enums/acp_command_type.md)
- [AcpHal](/reference/audio/acphal/acphal_members.md)
- [ACP_COMMAND_UPDATE_FILTVOL_CONTEXT_ENTRY](/reference/audio/acphal/structs/acp_command_update_filtvol_context_entry.md)
