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

# ShapeFlowGraph

> ShapeFlowGraph

# ShapeFlowGraph

ShapeFlowGraph APIs

## Functions

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

## Structures

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

## Enumerations

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


## Related topics

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