> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ShapeFlowGraph

> ShapeFlowGraph

ShapeFlowGraph APIs

## Functions

| Function | Description |
| - | - |
| [SetShapeAllocMixBufferCommand](https://docs.xbox.com/reference/audio/shapeflowgraph/functions/setshapeallocmixbuffercommand.md) | Allocates a virtual mix buffer. |
| [SetShapeDmaCommand](https://docs.xbox.com/reference/audio/shapeflowgraph/functions/setshapedmacommand.md) | Initializes a SHAPE DMA command. |
| [SetShapeEqCompCommand](https://docs.xbox.com/reference/audio/shapeflowgraph/functions/setshapeeqcompcommand.md) | Initializes a SHAPE EQ/Comp command. |
| [SetShapeFiltVolCommand](https://docs.xbox.com/reference/audio/shapeflowgraph/functions/setshapefiltvolcommand.md) | Initializes a SHAPE FLTVOL command. |
| [SetShapeSrcCommand function](https://docs.xbox.com/reference/audio/shapeflowgraph/functions/shapeflowgraph_setshapesrccommand.md) | Initializes a SHAPE SRC command. |

## Structures

| Structure | Description |
| - | - |
| [SHAPE\_FLOWGRAPH\_ALLOC\_MIXBUFFER\_COMMAND](https://docs.xbox.com/reference/audio/shapeflowgraph/structs/shape_flowgraph_alloc_mixbuffer_command.md) | Allocates a physical mix buffer for subsequent use. |
| [SHAPE\_FLOWGRAPH\_COMMAND](https://docs.xbox.com/reference/audio/shapeflowgraph/structs/shape_flowgraph_command.md) | Shape flowgraph command (union). |
| [SHAPE\_FLOWGRAPH\_COMMAND\_HEADER](https://docs.xbox.com/reference/audio/shapeflowgraph/structs/shape_flowgraph_command_header.md) | Flowgraph command header. |
| [SHAPE\_FLOWGRAPH\_DMA\_COMMAND](https://docs.xbox.com/reference/audio/shapeflowgraph/structs/shape_flowgraph_dma_command.md) | Indicates that data is to be moved between a mix buffer and system memory. |
| [SHAPE\_FLOWGRAPH\_EQCOMP\_COMMAND](https://docs.xbox.com/reference/audio/shapeflowgraph/structs/shape_flowgraph_eqcomp_command.md) | Indicates that an equalizer/compression pass is needed. |
| [SHAPE\_FLOWGRAPH\_FILTVOL\_COMMAND](https://docs.xbox.com/reference/audio/shapeflowgraph/structs/shape_flowgraph_filtvol_command.md) | Indicates that a filter/volume pass is needed. |
| [SHAPE\_FLOWGRAPH\_SRC\_COMMAND](https://docs.xbox.com/reference/audio/shapeflowgraph/structs/shape_flowgraph_src_command.md) | Indicates that a sample rate conversion (SRC) pass is needed. |

## Enumerations

| Enumeration | Description |
| - | - |
| [SHAPE\_FLOWGRAPH\_COMMAND\_TYPE](https://docs.xbox.com/reference/audio/shapeflowgraph/enums/shape_flowgraph_command_type.md) | Flowgraph command type. |
| [SHAPE\_MIXBUFFER\_ATTENUATION](https://docs.xbox.com/reference/audio/shapeflowgraph/enums/shape_mixbuffer_attenuation.md) | Attenuation applied to a mix buffer (for allocation). |


## Related topics

- [Audio API reference](https://docs.xbox.com/reference/audio/gc-reference-audio-toc.md)
- [ACP overview](https://docs.xbox.com/build/console-features/audio/overviews/acp-overview.md)
- [SHAPE_FLOWGRAPH_COMMAND](https://docs.xbox.com/reference/audio/shapeflowgraph/structs/shape_flowgraph_command.md)
- [SHAPE_FLOWGRAPH_COMMAND_HEADER](https://docs.xbox.com/reference/audio/shapeflowgraph/structs/shape_flowgraph_command_header.md)
- [SHAPE_FLOWGRAPH_SRC_COMMAND](https://docs.xbox.com/reference/audio/shapeflowgraph/structs/shape_flowgraph_src_command.md)
