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

> SHAPE_FLOWGRAPH_COMMAND_TYPE

# SHAPE\_FLOWGRAPH\_COMMAND\_TYPE

Flowgraph command type.

## Syntax

```cpp theme={null}
enum SHAPE_FLOWGRAPH_COMMAND_TYPE    
{  
    SHAPE_FLOWGRAPH_COMMAND_TYPE_ALLOCMIXBUFFER = 0x01,  
    SHAPE_FLOWGRAPH_COMMAND_TYPE_SRC = 0x02,  
    SHAPE_FLOWGRAPH_COMMAND_TYPE_EQCOMP = 0x04,  
    SHAPE_FLOWGRAPH_COMMAND_TYPE_FILTVOL = 0x08,  
    SHAPE_FLOWGRAPH_COMMAND_TYPE_DMA = 0x10  
}  
```

## Constants

| Constant                                        | Description                 |
| ----------------------------------------------- | --------------------------- |
| SHAPE\_FLOWGRAPH\_COMMAND\_TYPE\_ALLOCMIXBUFFER | Allocate a mix buffer       |
| SHAPE\_FLOWGRAPH\_COMMAND\_TYPE\_SRC            | Sample Rate Convertor (SRC) |
| SHAPE\_FLOWGRAPH\_COMMAND\_TYPE\_EQCOMP         | EQ compressor               |
| SHAPE\_FLOWGRAPH\_COMMAND\_TYPE\_FILTVOL        | Filter volume               |
| SHAPE\_FLOWGRAPH\_COMMAND\_TYPE\_DMA            | DMA                         |

## Remarks

This enumeration is used by the `GetMixBufferID` function. For more information about the allocation of mix buffer instances, see [SetShapeAllocMixBufferCommand](/reference/audio/shapeflowgraph/functions/setshapeallocmixbuffercommand) and [SHAPE\_FLOWGRAPH\_ALLOC\_MIXBUFFER\_COMMAND](/reference/audio/shapeflowgraph/structs/shape_flowgraph_alloc_mixbuffer_command). For information about the best practices for constructing audio flowgraphs, see [Getting into SHAPE: Best practices for constructing audio flowgraphs](/build/console-features/audio/overviews/best-practices-audio-flowgraph-construction).

## Requirements

**Header:** shapeflowgraph.h

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

## See also

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

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

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


## Related topics

- [SHAPE_FLOWGRAPH_COMMAND_HEADER](/reference/audio/shapeflowgraph/structs/shape_flowgraph_command_header.md)
- [SHAPE_FLOWGRAPH_DMA_COMMAND](/reference/audio/shapeflowgraph/structs/shape_flowgraph_dma_command.md)
- [SHAPE_FLOWGRAPH_FILTVOL_COMMAND](/reference/audio/shapeflowgraph/structs/shape_flowgraph_filtvol_command.md)
- [SHAPE_FLOWGRAPH_SRC_COMMAND](/reference/audio/shapeflowgraph/structs/shape_flowgraph_src_command.md)
- [SHAPE_FLOWGRAPH_EQCOMP_COMMAND](/reference/audio/shapeflowgraph/structs/shape_flowgraph_eqcomp_command.md)
