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

# XApuConnectOptions

> XApuConnectOptions

# XApuConnectOptions

Define options for different command types.

## Syntax

```cpp theme={null}
enum class XApuConnectOptions  : uint32_t  
{  
    None = 0,  
    DisableFifoOrdering = 1,  
}  
```

## Constants

| Constant               | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| ---------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| None                   | No options are set.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| DisableFifoOrdering    | By default, the order of the output results matches the input command order. If this flag is set, the order of results might change. For a single stream the output results always matches the input command order. This out of order mismatch happens to results from different streams only. If this flag is set then XApuResult(s) will be available immediately after being processed by the hardware server, otherwise the hardware server will reorder the results which add additional latency. |
| DeinterleavedInput     | When set, the input data provided must be deinterleaved. This only applies to [XApuProcessType::ConvertPCM](/reference/audio/xapu/enums/xapuprocesstype)                                                                                                                                                                                                                                                                                                                                               |
| DeinterleavedOutput    | When set, the output decoder/converted data will be deinterleaved                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| EnableResultReadyEvent | When set, [XApuConnect](/reference/audio/xapu/functions/xapuconnect) will return a valid [XApuConnectOutputParameters::resultReadyEvent](/reference/audio/xapu/structs/xapuconnectoutputparameters) if succeeded                                                                                                                                                                                                                                                                                       |

## Remarks

This enumeration defines the connect options. The output results order matches the input command order. If the `DisableFifoOrdering` flag is set, the order might be changed for results with `XApuCommandID::streamIndex` structure. The `DisableFifoOrdering` flag has no effect when XAPU is processing one stream. This is because the results will be in the same order as the command order.

## Requirements

**Header:** xapu.h

**Supported platforms:** XBOX Series X|S

## See also

[XAPU](/reference/audio/xapu/xapu_members)\
[XApuConnectInputParameters](/reference/audio/xapu/structs/xapuconnectinputparameters)\
[XApuCommandId](/reference/audio/xapu/structs/xapucommandid)


## Related topics

- [XApuCommandOptions](/reference/audio/xapu/enums/xapucommandoptions.md)
- [XApuConnectOutputParameters](/reference/audio/xapu/structs/xapuconnectoutputparameters.md)
- [XApuConnect](/reference/audio/xapu/functions/xapuconnect.md)
- [XAPU](/reference/audio/xapu/xapu_members.md)
- [XApuConnectInputParameters](/reference/audio/xapu/structs/xapuconnectinputparameters.md)
