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

> SHAPE_FLOWGRAPH_COMMAND

# SHAPE\_FLOWGRAPH\_COMMAND

Shape flowgraph command (union).

## Syntax

```cpp theme={null}
union SHAPE_FLOWGRAPH_COMMAND {  
    UINT64 entry;  
    SHAPE_FLOWGRAPH_COMMAND_HEADER header;  
    SHAPE_FLOWGRAPH_ALLOC_MIXBUFFER_COMMAND allocMixBuffer;  
    SHAPE_FLOWGRAPH_SRC_COMMAND src;  
    SHAPE_FLOWGRAPH_EQCOMP_COMMAND eqComp;  
    SHAPE_FLOWGRAPH_FILTVOL_COMMAND filtVol;  
    SHAPE_FLOWGRAPH_DMA_COMMAND dma;  
}  
```

### Members

`entry`\
Type: UINT64

Entry number.

`header`\
Type: SHAPE\_FLOWGRAPH\_COMMAND\_HEADER

A [SHAPE\_FLOWGRAPH\_COMMAND\_HEADER](/reference/audio/shapeflowgraph/structs/shape_flowgraph_command_header).

`allocMixBuffer`\
Type: SHAPE\_FLOWGRAPH\_ALLOC\_MIXBUFFER\_COMMAND

A [SHAPE\_FLOWGRAPH\_ALLOC\_MIXBUFFER\_COMMAND](/reference/audio/shapeflowgraph/structs/shape_flowgraph_alloc_mixbuffer_command).

`src`\
Type: SHAPE\_FLOWGRAPH\_SRC\_COMMAND

A [SHAPE\_FLOWGRAPH\_SRC\_COMMAND](/reference/audio/shapeflowgraph/structs/shape_flowgraph_src_command).

`eqComp`\
Type: SHAPE\_FLOWGRAPH\_EQCOMP\_COMMAND

A [SHAPE\_FLOWGRAPH\_EQCOMP\_COMMAND](/reference/audio/shapeflowgraph/structs/shape_flowgraph_eqcomp_command).

`filtVol`\
Type: SHAPE\_FLOWGRAPH\_FILTVOL\_COMMAND

A [SHAPE\_FLOWGRAPH\_FILTVOL\_COMMAND](/reference/audio/shapeflowgraph/structs/shape_flowgraph_filtvol_command).

`dma`\
Type: SHAPE\_FLOWGRAPH\_DMA\_COMMAND

A [SHAPE\_FLOWGRAPH\_DMA\_COMMAND](/reference/audio/shapeflowgraph/structs/shape_flowgraph_dma_command).

## Remarks

To utilize Scalable Hardware Audio Processing (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 effectively describes the order of operations of the individual blocks and the data they operate on. The ACP (Audio Control Processor) 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

- [SetShapeSrcCommand function](/reference/audio/shapeflowgraph/functions/shapeflowgraph_setshapesrccommand.md)
- [SetShapeFiltVolCommand](/reference/audio/shapeflowgraph/functions/setshapefiltvolcommand.md)
- [SetShapeDmaCommand](/reference/audio/shapeflowgraph/functions/setshapedmacommand.md)
- [SetShapeEqCompCommand](/reference/audio/shapeflowgraph/functions/setshapeeqcompcommand.md)
- [ShapeFlowGraph](/reference/audio/shapeflowgraph/shapeflowgraph_members.md)
