XT-Audio
Data Fields
XtChannels Struct Reference

Audio channel specification. More...

#include <Structs.h>

Data Fields

int32_t inputs
 Input channel count. More...
 
uint64_t inMask
 Input channel mask. More...
 
int32_t outputs
 Output channel count. More...
 
uint64_t outMask
 Output channel mask. More...
 

Detailed Description

Audio channel specification.

Formats with both inputs and outputs can only be used with services that support full-duplex, see XtServiceGetCapabilities.

Channel masks will be ignored for services that do not support masking, see XtServiceGetCapabilities.

See also
XtFormat
XtDeviceOpenStream
XtDeviceStreamParams
XtAggregateDeviceParams
XtDeviceSupportsFormat
XtServiceGetCapabilities
XtServiceAggregateStream

Field Documentation

XtChannels::inMask

Input channel mask.

Set bit N to route channel N from/to that position. For example, in a stereo stream on a surround71 capable device where channels 4 and 5 represent back left/right, the mask is (1ULL << 4) | (1ULL << 5) to use back left/right instead of the default front left/right.

XtChannels::inputs

Input channel count.

XtChannels::outMask

Output channel mask.

Set bit N to route channel N from/to that position. For example, in a stereo stream on a surround71 capable device where channels 4 and 5 represent back left/right, the mask is (1ULL << 4) | (1ULL << 5) to use back left/right instead of the default front left/right.

XtChannels::outputs

Output channel count.


The documentation for this struct was generated from the following files: