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

# SHAPE_FLOWGRAPH_COMMAND_HEADER

> SHAPE_FLOWGRAPH_COMMAND_HEADER

# SHAPE\_FLOWGRAPH\_COMMAND\_HEADER

Flowgraph command header.

## Syntax

```cpp theme={null}
typedef struct SHAPE_FLOWGRAPH_COMMAND_HEADER {  
    UINT64 command : 5;
    UINT64 queued : 1;
    UINT64 disabled : 1;
    UINT64 error : 1;
    UINT64 reserved0 : 5;
    UINT64 reserved1 : 51;
} SHAPE_FLOWGRAPH_COMMAND_HEADER  
```

### Members

`command`\
Type: UINT64

Refer to the [SHAPE\_FLOWGRAPH\_COMMAND\_TYPE](/reference/audio/shapeflowgraph/enums/shape_flowgraph_command_type) enumeration.

`queued`\
Type: UINT64

Internal process flag: 1 == inserted into the internal command queue; 0 == waiting.

`disabled`\
Type: UINT64

Flag for disabling the command: 1 == disabled (don't process); 0 == enabled (process normally).

`error`\
Type: UINT64

Command is invalid. Set by the Audio Control Processor (ACP).

`reserved0`\
Type: UINT64

Reserved.

`reserved1`\
Type: UINT64

Reserved.

## Remarks

To use Scalable Hardware Audio Processing Engine (SHAPE), a title would normally create a SHAPE flowgraph. For more information, refer to the XMA utilities section in the [ACP Overview](/build/console-features/audio/overviews/acp-overview). A SHAPE flowgraph is an array of commands (one per SHAPE block) and accompanying context data, which it effectively describes the order of operations of the individual blocks and the data they operate on. The ACP uses the data in the flowgraph to properly schedule the operations within the SHAPE blocks.

The list of commands sent to the SHAPE hardware for processing is referred to as a flowgraph.

The execution list is a list of meta commands that are processed by the SHAPE audio processor. Because the SHAPE audio processor is programmable and flexible, the format and function of the execution list is flexible. Some of the meta commands have implicit data, while others have explicit arguments. The meta commands also specify where the specific SHAPE hardware blocks get their input and write their output through the use of the mix buffers. The mix buffers are allocated by the hardware.

## Requirements

**Header:** shapeflowgraph.h

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

## See also

[SHAPE Overview](/build/console-features/audio/overviews/shape-overview)

[shapeflowgraph](/reference/audio/shapeflowgraph/shapeflowgraph_members)


## Related topics

- [SHAPE_FLOWGRAPH_COMMAND](/reference/audio/shapeflowgraph/structs/shape_flowgraph_command.md)
- [ShapeFlowGraph](/reference/audio/shapeflowgraph/shapeflowgraph_members.md)
- [SHAPE_FLOWGRAPH_DMA_COMMAND](/reference/audio/shapeflowgraph/structs/shape_flowgraph_dma_command.md)
- [SHAPE_FLOWGRAPH_EQCOMP_COMMAND](/reference/audio/shapeflowgraph/structs/shape_flowgraph_eqcomp_command.md)
- [SHAPE_FLOWGRAPH_FILTVOL_COMMAND](/reference/audio/shapeflowgraph/structs/shape_flowgraph_filtvol_command.md)
