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

# ACP_FLOWGRAPH_TERMINATED_REASON

> 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](/reference/audio/acphal/structs/acp_message_flowgraph_terminated) structure. It provides the reasons for early termination of a flowgraph. For more details, see [Flowgraph parsing in Overview of ACP](/build/console-features/audio/overviews/acp-overview#ID4EHF).

## Requirements

**Header:** acphal.h

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

## See also

[ACP\_MESSAGE\_FLOWGRAPH\_TERMINATED](/reference/audio/acphal/structs/acp_message_flowgraph_terminated)\
[AcpHal](/reference/audio/acphal/acphal_members)


## Related topics

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