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

# ACP_FLOWGRAPH_TERMINATED_REASON

> ACP_FLOWGRAPH_TERMINATED_REASON

The reasons flowgraph processing was terminated.

## Syntax

```cpp theme={null}
enum ACP_FLOWGRAPH_TERMINATED_REASON    
{  
    ACP_FLOWGRAPH_TERMINATED_REASON_INVALID_GRAPH,  
    ACP_FLOWGRAPH_TERMINATED_TIME_EXCEEDED,  
    ACP_FLOWGRAPH_TERMINATED_DISCONNECT  
}  
```

## Constants

| Constant | Description |
| - | - |
| ACP\_FLOWGRAPH\_TERMINATED\_REASON\_INVALID\_GRAPH | The flowgraph is invalid. |
| ACP\_FLOWGRAPH\_TERMINATED\_TIME\_EXCEEDED | The flowgraph did not complete before the end of the audio frame. |
| ACP\_FLOWGRAPH\_TERMINATED\_DISCONNECT | The client disconnected before the flowgraph completed. |

## Remarks

This enumeration is used by the [ACP\_MESSAGE\_FLOWGRAPH\_TERMINATED](https://docs.xbox.com/reference/audio/acphal/structs/acp_message_flowgraph_terminated.md) structure. It provides the reasons for early termination of a flowgraph. For more details, see [Flowgraph parsing in Overview of ACP](https://docs.xbox.com/build/console-features/audio/overviews/acp-overview.md#ID4EHF).

## Requirements

**Header:** acphal.h

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

## See also

[ACP\_MESSAGE\_FLOWGRAPH\_TERMINATED](https://docs.xbox.com/reference/audio/acphal/structs/acp_message_flowgraph_terminated.md)\
[AcpHal](https://docs.xbox.com/reference/audio/acphal/acphal_members.md)


## Related topics

- [ACP_MESSAGE_FLOWGRAPH_TERMINATED](https://docs.xbox.com/reference/audio/acphal/structs/acp_message_flowgraph_terminated.md)
- [AcpHal](https://docs.xbox.com/reference/audio/acphal/acphal_members.md)
- [SHAPE audio flowgraph construction best practices](https://docs.xbox.com/build/console-features/audio/overviews/best-practices-audio-flowgraph-construction.md)
- [Overview of SHAPE](https://docs.xbox.com/build/console-features/audio/overviews/shape-overview.md)
- [ACP_MESSAGE](https://docs.xbox.com/reference/audio/acphal/structs/acp_message.md)
