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

# 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](https://docs.xbox.com/reference/audio/shapeflowgraph/functions/setshapeallocmixbuffercommand.md) and [SHAPE\_FLOWGRAPH\_ALLOC\_MIXBUFFER\_COMMAND](https://docs.xbox.com/reference/audio/shapeflowgraph/structs/shape_flowgraph_alloc_mixbuffer_command.md). For information about the best practices for constructing audio flowgraphs, see [Getting into SHAPE: Best practices for constructing audio flowgraphs](https://docs.xbox.com/build/console-features/audio/overviews/best-practices-audio-flowgraph-construction.md).

## Requirements

**Header:** shapeflowgraph.h

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

## See also

[ACP Overview](https://docs.xbox.com/build/console-features/audio/overviews/acp-overview.md)

[SHAPE Overview](https://docs.xbox.com/build/console-features/audio/overviews/shape-overview.md)

[shapeflowgraph](https://docs.xbox.com/reference/audio/shapeflowgraph/shapeflowgraph_members.md)


## Related topics

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