Channel Coordinate Flags

Used in the mChannelFlags field of an AudioChannelDescription structure.

Topics

Constants

static var rectangularCoordinates: AudioChannelFlags

Set to indicate the channel is specified by the Cartesian coordinates of the speaker position. This flag is mutually exclusive with kAudioChannelFlags_SphericalCoordinates.

static var sphericalCoordinates: AudioChannelFlags

Set to indicate the channel is specified by the spherical coordinates of the speaker position. This flag is mutually exclusive with kAudioChannelFlags_RectangularCoordinates.

static var meters: AudioChannelFlags

Set to indicate the units are in meters, clear to indicate the units are relative to the unit cube or unit sphere. For relative units, the listener is assumed to be at the center of the cube or sphere and the radius of the sphere or the distance from the center to the midpoint of the side of the cube is 1.