coreaudiotypes

package
v0.6.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 21, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package coreaudiotypes provides Go bindings for the CoreAudioTypes framework.

Use specialized data types to interact with audio streams, complex buffers, and audiovisual timestamps.

The Core Audio Types framework declares common data types and constants that other Core Audio interfaces use. This framework also includes several convenience functions.

Buffers

  • AudioBuffer: A structure that holds a buffer of audio data.
  • AudioBufferList: A structure that stores a variable-length array of audio buffers.

Channels

Codecs

Audio Time

SMPTE Time

Values

Streams

Common Types

  • AVAudioInteger: An integer type for audio operations.
  • AVAudioUInteger: An unsigned integer type for audio operations.
  • AudioSessionID: A unique identifier of an audio session.
  • kAudioUnitSampleFractionBits: The number of fractional bits in fixed-point samples.
  • COREAUDIOTYPES_VERSION: A value that represents the Core Audio Types version.
  • AudioFormatListItem

Errors

  • kAudio_ParamError: An error in the parameter list of the function.
  • kAudio_MemFullError: An error that indicates that the heap zone is full.
  • kAudio_FileNotFoundError: An error that indicates the file wasn’t found.
  • kAudio_UnimplementedError: An error that indicates the app called an unimplemented system function.

Macros

  • CA_CANONICAL_DEPRECATED
  • CA_REALTIME_API
  • TestAudioFormatNativeEndian

Enumeration Cases

  • kAudioChannelLayoutTag_Ogg_3_0
  • kAudioChannelLayoutTag_Ogg_4_0
  • kAudioChannelLayoutTag_Ogg_5_0
  • kAudioChannelLayoutTag_Ogg_5_1
  • kAudioChannelLayoutTag_Ogg_6_1
  • kAudioChannelLayoutTag_Ogg_7_1
  • kAudioFormatAPAC
  • kAudio_BadFilePathError
  • kAudio_FilePermissionError
  • kAudio_NoError
  • kAudio_TooManyFilesOpenError

Enumerations

  • AVAudioSessionErrorCode: Codes that describe error conditions that may occur when performing audio session operations.

Code generated from Apple documentation. DO NOT EDIT.

Index

Constants

View Source
const (

	// KAudioStreamAnyRate is a value that indicates that an audio stream can use any sample rate.
	//
	// See: https://developer.apple.com/documentation/CoreAudioTypes/kAudioStreamAnyRate
	KAudioStreamAnyRate float64 = 0.0
)

float64 values.

Variables

This section is empty.

Functions

This section is empty.

Types

type AVAudioInteger

type AVAudioInteger = int

AVAudioInteger is an integer type for audio operations.

See: https://developer.apple.com/documentation/CoreAudioTypes/AVAudioInteger

type AVAudioSessionErrorCode

type AVAudioSessionErrorCode int

See: https://developer.apple.com/documentation/CoreAudioTypes/AVAudioSession/ErrorCode

const (
	// AVAudioSessionErrorCodeBadParam: An error code that indicates an attempt to set a property to an illegal value.
	AVAudioSessionErrorCodeBadParam AVAudioSessionErrorCode = -50
	// AVAudioSessionErrorCodeCannotInterruptOthers: An error code that indictates an attempt to make a nonmixable audio session active while the app was in the background.
	AVAudioSessionErrorCodeCannotInterruptOthers AVAudioSessionErrorCode = '!'<<24 | 'i'<<16 | 'n'<<8 | 't' // '!int'
	// AVAudioSessionErrorCodeCannotStartPlaying: An error code that indicates an attempt to start audio playback when it wasn’t allowed.
	AVAudioSessionErrorCodeCannotStartPlaying AVAudioSessionErrorCode = '!'<<24 | 'p'<<16 | 'l'<<8 | 'a' // '!pla'
	// AVAudioSessionErrorCodeCannotStartRecording: An error code that indicates an attempt to start audio recording, but the operation failed.
	AVAudioSessionErrorCodeCannotStartRecording AVAudioSessionErrorCode = '!'<<24 | 'r'<<16 | 'e'<<8 | 'c' // '!rec'
	// AVAudioSessionErrorCodeExpiredSession: An error code that indicates that an operation failed because the system deallocated the associated session.
	AVAudioSessionErrorCodeExpiredSession AVAudioSessionErrorCode = '!'<<24 | 's'<<16 | 'e'<<8 | 's' // '!ses'
	// AVAudioSessionErrorCodeIncompatibleCategory: An error code that indicates an attempt to perform an operation that the current audio session category doesn’t support.
	AVAudioSessionErrorCodeIncompatibleCategory AVAudioSessionErrorCode = '!'<<24 | 'c'<<16 | 'a'<<8 | 't' // '!cat'
	// AVAudioSessionErrorCodeInsufficientPriority: An error code that indicates the app isn’t allowed to set the audio category because it’s in use by another app.
	AVAudioSessionErrorCodeInsufficientPriority AVAudioSessionErrorCode = '!'<<24 | 'p'<<16 | 'r'<<8 | 'i' // '!pri'
	// AVAudioSessionErrorCodeIsBusy: An error code that indicates an attempt to deactivate the audio session while it’s still playing or recording.
	AVAudioSessionErrorCodeIsBusy AVAudioSessionErrorCode = '!'<<24 | 'a'<<16 | 'c'<<8 | 't' // '!act'
	// AVAudioSessionErrorCodeMediaServicesFailed: An error code that indictates an attempt to use the audio session during or after a Media Services failure.
	AVAudioSessionErrorCodeMediaServicesFailed AVAudioSessionErrorCode = 'm'<<24 | 's'<<16 | 'r'<<8 | 'v' // 'msrv'
	// AVAudioSessionErrorCodeMissingEntitlement: An error code that indicates an attempt to perform an operation for which the app doesn’t have the required entitlements.
	AVAudioSessionErrorCodeMissingEntitlement AVAudioSessionErrorCode = 'e'<<24 | 'n'<<16 | 't'<<8 | '?' // 'ent?'
	// AVAudioSessionErrorCodeNone: An error code that indicates the operation succeeded.
	AVAudioSessionErrorCodeNone AVAudioSessionErrorCode = 0
	// AVAudioSessionErrorCodeResourceNotAvailable: An error code that indicates that an operation failed because the device doesn’t have sufficient hardware resources to complete the action.
	AVAudioSessionErrorCodeResourceNotAvailable AVAudioSessionErrorCode = '!'<<24 | 'r'<<16 | 'e'<<8 | 's' // '!res'
	// AVAudioSessionErrorCodeSessionNotActive: An error code that indicates the operation failed because the session isn’t active.
	AVAudioSessionErrorCodeSessionNotActive AVAudioSessionErrorCode = 'i'<<24 | 'n'<<16 | 'a'<<8 | 'c' // 'inac'
	// AVAudioSessionErrorCodeSiriIsRecording: An error code that indicates an attempt to perform an operation that isn’t allowed while Siri is recording.
	AVAudioSessionErrorCodeSiriIsRecording AVAudioSessionErrorCode = 's'<<24 | 'i'<<16 | 'r'<<8 | 'i' // 'siri'
	// AVAudioSessionErrorCodeUnspecified: An error code that indicates an unspecified error occurred.
	AVAudioSessionErrorCodeUnspecified AVAudioSessionErrorCode = 'w'<<24 | 'h'<<16 | 'a'<<8 | 't' // 'what'
)

func (AVAudioSessionErrorCode) String

func (e AVAudioSessionErrorCode) String() string

type AVAudioSessionErrorInsufficient

type AVAudioSessionErrorInsufficient int
const (
	// Deprecated: use AVAudioSession.ErrorCode.insufficientPriority.
	AVAudioSessionErrorInsufficientPriority AVAudioSessionErrorInsufficient = '!'<<24 | 'p'<<16 | 'r'<<8 | 'i' // '!pri'
)

func (AVAudioSessionErrorInsufficient) String

type AVAudioUInteger

type AVAudioUInteger = uint

AVAudioUInteger is an unsigned integer type for audio operations.

See: https://developer.apple.com/documentation/CoreAudioTypes/AVAudioUInteger

type AudioBuffer

type AudioBuffer struct {
	MNumberChannels uint32         // The number of interleaved channels in the buffer.
	MDataByteSize   uint32         // The number of bytes in the buffer.
	MData           unsafe.Pointer // A pointer to a buffer of audio data.

}

AudioBuffer - A structure that holds a buffer of audio data.

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreAudioTypes/AudioBuffer

type AudioBufferList

type AudioBufferList struct {
	MNumberBuffers uint32      // The number of audio buffers in the list.
	MBuffers       AudioBuffer // A variable-length array of audio buffers.

}

AudioBufferList - A structure that stores a variable-length array of audio buffers.

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreAudioTypes/AudioBufferList

type AudioChannelBitmap

type AudioChannelBitmap uint32

See: https://developer.apple.com/documentation/CoreAudioTypes/AudioChannelBitmap

const (
	// KAudioChannelBit_Center: The center channel.
	KAudioChannelBit_Center AudioChannelBitmap = 4
	// KAudioChannelBit_CenterSurround: The center surround channel.
	KAudioChannelBit_CenterSurround AudioChannelBitmap = 256
	// KAudioChannelBit_CenterTopFront: The top-front center channel.
	KAudioChannelBit_CenterTopFront AudioChannelBitmap = 8192
	// KAudioChannelBit_CenterTopMiddle: The top-middle center channel.
	KAudioChannelBit_CenterTopMiddle AudioChannelBitmap = 2048
	// KAudioChannelBit_CenterTopRear: The top-right center channel.
	KAudioChannelBit_CenterTopRear AudioChannelBitmap = 33554432
	// KAudioChannelBit_LFEScreen: The Low Frequency Effects (LFE) screen channel.
	KAudioChannelBit_LFEScreen AudioChannelBitmap = 8
	// KAudioChannelBit_Left: The left channel.
	KAudioChannelBit_Left AudioChannelBitmap = 1
	// KAudioChannelBit_LeftCenter: The left center channel.
	KAudioChannelBit_LeftCenter AudioChannelBitmap = 64
	// KAudioChannelBit_LeftSurround: The left surround channel.
	KAudioChannelBit_LeftSurround AudioChannelBitmap = 16
	// KAudioChannelBit_LeftSurroundDirect: The left surround direct channel.
	KAudioChannelBit_LeftSurroundDirect AudioChannelBitmap = 512
	// KAudioChannelBit_LeftTopFront: The left-top front channel.
	KAudioChannelBit_LeftTopFront AudioChannelBitmap = 4096
	// KAudioChannelBit_LeftTopMiddle: The left-top middle channel.
	KAudioChannelBit_LeftTopMiddle AudioChannelBitmap = 2097152
	// KAudioChannelBit_LeftTopRear: The left-top rear channel.
	KAudioChannelBit_LeftTopRear AudioChannelBitmap = 16777216
	// KAudioChannelBit_Right: The right channel.
	KAudioChannelBit_Right AudioChannelBitmap = 2
	// KAudioChannelBit_RightCenter: The right center channel.
	KAudioChannelBit_RightCenter AudioChannelBitmap = 128
	// KAudioChannelBit_RightSurround: The rIght surround channel.
	KAudioChannelBit_RightSurround AudioChannelBitmap = 32
	// KAudioChannelBit_RightSurroundDirect: The right surround direct channel.
	KAudioChannelBit_RightSurroundDirect AudioChannelBitmap = 1024
	// KAudioChannelBit_RightTopFront: The top-front front channel.
	KAudioChannelBit_RightTopFront AudioChannelBitmap = 16384
	// KAudioChannelBit_RightTopMiddle: The top-middle right channel.
	KAudioChannelBit_RightTopMiddle AudioChannelBitmap = 8388608
	// KAudioChannelBit_RightTopRear: The top-rear right channel.
	KAudioChannelBit_RightTopRear AudioChannelBitmap = 67108864
	// KAudioChannelBit_TopBackCenter: The top-back center channel.
	KAudioChannelBit_TopBackCenter AudioChannelBitmap = 65536
	// KAudioChannelBit_TopBackLeft: The top-back left channel.
	KAudioChannelBit_TopBackLeft AudioChannelBitmap = 32768
	// KAudioChannelBit_TopBackRight: The top-back right channel.
	KAudioChannelBit_TopBackRight AudioChannelBitmap = 131072
	// KAudioChannelBit_TopCenterSurround: The top center surround channel.
	KAudioChannelBit_TopCenterSurround AudioChannelBitmap = 2048
	// KAudioChannelBit_VerticalHeightCenter: The vertical height center channel.
	KAudioChannelBit_VerticalHeightCenter AudioChannelBitmap = 8192
	// KAudioChannelBit_VerticalHeightLeft: The vertical height left channel.
	KAudioChannelBit_VerticalHeightLeft AudioChannelBitmap = 4096
	// KAudioChannelBit_VerticalHeightRight: The vertical height right channel.
	KAudioChannelBit_VerticalHeightRight AudioChannelBitmap = 16384
)

func (AudioChannelBitmap) String

func (e AudioChannelBitmap) String() string

type AudioChannelCoordinateIndex

type AudioChannelCoordinateIndex uint32

See: https://developer.apple.com/documentation/CoreAudioTypes/AudioChannelCoordinateIndex

const (
	// KAudioChannelCoordinates_Azimuth: For spherical coordinates, `0` is front center, positive is right, negative is left, and measurements are in degrees.
	KAudioChannelCoordinates_Azimuth AudioChannelCoordinateIndex = 0
	// KAudioChannelCoordinates_BackFront: For rectangular coordinates, negative is back and positive is front.
	KAudioChannelCoordinates_BackFront AudioChannelCoordinateIndex = 1
	// KAudioChannelCoordinates_Distance: For spherical coordinates, distance is radially from the center.
	KAudioChannelCoordinates_Distance AudioChannelCoordinateIndex = 2
	// KAudioChannelCoordinates_DownUp: For rectangular coordinates, negative is below ground level, `0` is ground level, and positive is above ground level.
	KAudioChannelCoordinates_DownUp AudioChannelCoordinateIndex = 2
	// KAudioChannelCoordinates_Elevation: For spherical coordinates, `+90` is zenith, `0` is horizontal, `-90` is nadir, and measurements are in degrees.
	KAudioChannelCoordinates_Elevation AudioChannelCoordinateIndex = 1
	// KAudioChannelCoordinates_LeftRight: For rectangular coordinates, negative is left and positive is right.
	KAudioChannelCoordinates_LeftRight AudioChannelCoordinateIndex = 0
)

func (AudioChannelCoordinateIndex) String

type AudioChannelDescription

type AudioChannelDescription struct {
	MChannelLabel AudioChannelLabel // A label that describes the audio channel.
	MChannelFlags AudioChannelFlags // The audio channel flags that indicate how to interpret the channel coordinates.
	MCoordinates  float32           // The coordinates that specify a precise speaker location.

}

AudioChannelDescription - A structure that describes a channel of audio data.

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreAudioTypes/AudioChannelDescription

type AudioChannelFlags

type AudioChannelFlags uint32

See: https://developer.apple.com/documentation/CoreAudioTypes/AudioChannelFlags

const (
	// KAudioChannelFlags_AllOff: All flags are clear.
	KAudioChannelFlags_AllOff AudioChannelFlags = 0
	// KAudioChannelFlags_Meters: A flag that indicates that unit values are in meters.
	KAudioChannelFlags_Meters AudioChannelFlags = 4
	// KAudioChannelFlags_RectangularCoordinates: A flag that indicates the channel uses the speaker position’s cartesian coordinates.
	KAudioChannelFlags_RectangularCoordinates AudioChannelFlags = 1
	// KAudioChannelFlags_SphericalCoordinates: A flag that indicates the channel uses the speaker position’s spherical coordinates.
	KAudioChannelFlags_SphericalCoordinates AudioChannelFlags = 2
)

func (AudioChannelFlags) String

func (e AudioChannelFlags) String() string

type AudioChannelLabel

type AudioChannelLabel = uint32

AudioChannelLabel is identifies how an audio data channel is to be used.

See: https://developer.apple.com/documentation/CoreAudioTypes/AudioChannelLabel

type AudioChannelLayout

type AudioChannelLayout struct {
	MChannelLayoutTag          AudioChannelLayoutTag   // The [AudioChannelLayoutTag] value that indicates the layout. See [Audio Channel Layout Tags](<doc://com.apple.coreaudiotypes/documentation/CoreAudioTypes/audio-channel-layout-tags>) for possible values.
	MChannelBitmap             AudioChannelBitmap      // If `mChannelLayoutTag` is set to `kAudioChannelLayoutTag_UseChannelBitmap`, this field is the channel-use bitmap.
	MNumberChannelDescriptions uint32                  // The number of items in the `mChannelDescriptions` array.
	MChannelDescriptions       AudioChannelDescription // A variable length array of `mNumberChannelDescription` elements that describes a layout. If the `mChannelLayoutTag` field is set to `kAudioChannelLayoutTag_UseChannelDescriptions`, use this field to describe the layout.

}

AudioChannelLayout - A structure that specifies a channel layout in a file or in hardware.

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreAudioTypes/AudioChannelLayout

type AudioChannelLayoutTag

type AudioChannelLayoutTag = uint32

AudioChannelLayoutTag is identifies a previously-defined channel layout.

See: https://developer.apple.com/documentation/CoreAudioTypes/AudioChannelLayoutTag

type AudioClassDescription

type AudioClassDescription struct {
	MType         uint32 // A four character code that a manufacturer defines for a codec type.
	MSubType      uint32 // A four character code that a manufacturer defines for a codec subtype.
	MManufacturer uint32 // A four character code that identifies a codec manufacturer.

}

AudioClassDescription - A structure that describes an audio codec.

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreAudioTypes/AudioClassDescription

type AudioFormatFlags

type AudioFormatFlags = uint32

AudioFormatFlags is a type definition for audio format flags.

See: https://developer.apple.com/documentation/CoreAudioTypes/AudioFormatFlags

type AudioFormatID

type AudioFormatID = uint32

AudioFormatID is a type definition for audio format identifiers.

See: https://developer.apple.com/documentation/CoreAudioTypes/AudioFormatID

type AudioFormatListItem

type AudioFormatListItem struct {
	MASBD             AudioStreamBasicDescription
	MChannelLayoutTag AudioChannelLayoutTag
}

AudioFormatListItem

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreAudioTypes/AudioFormatListItem

type AudioSessionID

type AudioSessionID = uint32

AudioSessionID is a unique identifier of an audio session.

See: https://developer.apple.com/documentation/CoreAudioTypes/AudioSessionID

type AudioStreamBasicDescription

type AudioStreamBasicDescription struct {
	MSampleRate       float64          // The number of frames per second of the data in the stream, when playing the stream at normal speed.
	MFormatID         AudioFormatID    // An identifier specifying the general audio data format in the stream.
	MFormatFlags      AudioFormatFlags // Format-specific flags to specify details of the format.
	MBytesPerPacket   uint32           // The number of bytes in a packet of audio data.
	MFramesPerPacket  uint32           // The number of frames in a packet of audio data.
	MBytesPerFrame    uint32           // The number of bytes from the start of one frame to the start of the next frame in an audio buffer.
	MChannelsPerFrame uint32           // The number of channels in each frame of audio data.
	MBitsPerChannel   uint32           // The number of bits for one audio sample.
	MReserved         uint32           // The amount to pad the structure to force an even 8-byte alignment.

}

AudioStreamBasicDescription - A format specification for an audio stream.

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreAudioTypes/AudioStreamBasicDescription

type AudioStreamPacketDependencyDescription

type AudioStreamPacketDependencyDescription struct {
	MIsIndependentlyDecodable uint32
	MPreRollCount             uint32
	MFlags                    uint32
	MReserved                 uint32
}

AudioStreamPacketDependencyDescription

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreAudioTypes/AudioStreamPacketDependencyDescription

type AudioStreamPacketDescription

type AudioStreamPacketDescription struct {
	MStartOffset            int64  // The number of bytes from the start of the buffer to the beginning of the packet.
	MVariableFramesInPacket uint32 // The number of sample frames of data in the packet.
	MDataByteSize           uint32 // The number of bytes in the packet.

}

AudioStreamPacketDescription - A value that describes a packet in a buffer of audio data.

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreAudioTypes/AudioStreamPacketDescription

type AudioTimeStamp

type AudioTimeStamp struct {
	MSampleTime    float64             // The absolute sample frame time.
	MHostTime      uint64              // The host machine’s time base (see `CoreAudio/HostTime.H()`).
	MRateScalar    float64             // The ratio of actual host ticks per sample frame to the nominal host ticks per sample frame.
	MWordClockTime uint64              // The word clock time.
	MSMPTETime     SMPTETime           // The SMPTE time (see [SMPTETime](<doc://com.apple.coreaudiotypes/documentation/CoreAudioTypes/SMPTETime>)).
	MFlags         AudioTimeStampFlags // A set of flags indicating which representations of the time are valid; see `Audio Time Stamp Flags` and `Audio Time Stamp Flag Combination Constant`.
	MReserved      uint32              // Pads the structure out to force an even 8-byte alignment.

}

AudioTimeStamp - A structure that represents a timestamp value.

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreAudioTypes/AudioTimeStamp

type AudioTimeStampFlags

type AudioTimeStampFlags uint32

See: https://developer.apple.com/documentation/CoreAudioTypes/AudioTimeStampFlags

const (
	// KAudioTimeStampHostTimeValid: A flag that indicates that the host time is valid.
	KAudioTimeStampHostTimeValid AudioTimeStampFlags = 2
	// KAudioTimeStampNothingValid: A flag that indicates no fields are valid.
	KAudioTimeStampNothingValid AudioTimeStampFlags = 0
	// KAudioTimeStampRateScalarValid: A flag that indicates that the rate scalar is valid.
	KAudioTimeStampRateScalarValid AudioTimeStampFlags = 4
	// KAudioTimeStampSMPTETimeValid: A flag that indicates that the SMPTE time is valid.
	KAudioTimeStampSMPTETimeValid AudioTimeStampFlags = 16
	// KAudioTimeStampSampleHostTimeValid: A flag that indicates that the sample frame time and the host time are valid.
	KAudioTimeStampSampleHostTimeValid AudioTimeStampFlags = 0
	// KAudioTimeStampSampleTimeValid: A flag that indicates that the sample frame time is valid.
	KAudioTimeStampSampleTimeValid AudioTimeStampFlags = 1
	// KAudioTimeStampWordClockTimeValid: A flag that indicates that the word clock time is valid.
	KAudioTimeStampWordClockTimeValid AudioTimeStampFlags = 8
)

func (AudioTimeStampFlags) String

func (e AudioTimeStampFlags) String() string

type AudioValueRange

type AudioValueRange struct {
	MMinimum float64 // The minimum value.
	MMaximum float64 // The maximum value.

}

AudioValueRange - A structure that represents a continuous range of values.

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreAudioTypes/AudioValueRange

type AudioValueTranslation

type AudioValueTranslation struct {
	MInputData      unsafe.Pointer // The buffer containing the data to be translated.
	MInputDataSize  uint32         // The number of bytes in the buffer pointed at by `mInputData`.
	MOutputData     unsafe.Pointer // The buffer to hold the result of the translation.
	MOutputDataSize uint32         // The number of bytes in the buffer pointed at by `mOutputData`.

}

AudioValueTranslation - A structure that stores buffers to use in translation operations.

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreAudioTypes/AudioValueTranslation

type KAudio

type KAudio uint
const (
	// KAudioFormat60958AC3: A key that specifies the AC-3 codec, which provides data packaged for transport over an IEC 60958-compliant digital audio interface, and uses standard flags.
	KAudioFormat60958AC3 KAudio = 'c'<<24 | 'a'<<16 | 'c'<<8 | '3' // 'cac3'
	// KAudioFormatAC3: A key that specifies the AC-3 codec, and uses no flags.
	KAudioFormatAC3 KAudio = 'a'<<24 | 'c'<<16 | '-'<<8 | '3' // 'ac-3'
	// KAudioFormatAES3: A key that specifies the codec defined by the AES3-2003 standard, and uses no flags.
	KAudioFormatAES3 KAudio = 'a'<<24 | 'e'<<16 | 's'<<8 | '3' // 'aes3'
	// KAudioFormatALaw: A key that specifies the A-law 2:1 codec, and uses no flags.
	KAudioFormatALaw KAudio = 'a'<<24 | 'l'<<16 | 'a'<<8 | 'w' // 'alaw'
	// KAudioFormatAMR: A key that specifies the Adaptive Multi-Rate (AMR) narrow band speech codec, and uses no flags.
	KAudioFormatAMR KAudio = 's'<<24 | 'a'<<16 | 'm'<<8 | 'r' // 'samr'
	// KAudioFormatAMR_WB: A key that specifies the AMR Wideband speech codec, and uses no flags.
	KAudioFormatAMR_WB KAudio = 's'<<24 | 'a'<<16 | 'w'<<8 | 'b' // 'sawb'
	KAudioFormatAPAC   KAudio = 'a'<<24 | 'p'<<16 | 'a'<<8 | 'c' // 'apac'
	// KAudioFormatAppleIMA4: A key that specifies Apple’s implementation of the IMA 4:1 ADPCM codec, and uses no flags.
	KAudioFormatAppleIMA4 KAudio = 'i'<<24 | 'm'<<16 | 'a'<<8 | '4' // 'ima4'
	// KAudioFormatAppleLossless: A key that specifies the Apple Lossless codec, and uses flags to indicate the bit depth of the source material.
	KAudioFormatAppleLossless KAudio = 'a'<<24 | 'l'<<16 | 'a'<<8 | 'c' // 'alac'
	// KAudioFormatAudible: A key that specifies the codec for Audible audio books, and uses no flags.
	KAudioFormatAudible KAudio = 'A'<<24 | 'U'<<16 | 'D'<<8 | 'B' // 'AUDB'
	// KAudioFormatDVIIntelIMA: A key that specifies the codec defined by DVI/Intel IMA ADPCM - ACM code 17, and uses no flags.
	KAudioFormatDVIIntelIMA KAudio = 0
	// KAudioFormatEnhancedAC3: A key that specifies the Enhanced AC-3 codec, and uses no flags.
	KAudioFormatEnhancedAC3 KAudio = 'e'<<24 | 'c'<<16 | '-'<<8 | '3' // 'ec-3'
	// KAudioFormatFLAC: A key that specifies the Free Lossless Audio Codec (FLAC), and uses flags to indicate the bit depth of the source material.
	KAudioFormatFLAC KAudio = 'f'<<24 | 'l'<<16 | 'a'<<8 | 'c' // 'flac'
	// KAudioFormatLinearPCM: A key that specifies the linear PCM codec, and uses the standard flags.
	KAudioFormatLinearPCM KAudio = 'l'<<24 | 'p'<<16 | 'c'<<8 | 'm' // 'lpcm'
	// KAudioFormatMACE3: A key that specifies the MACE 3:1 codec, and uses no flags.
	KAudioFormatMACE3 KAudio = 'M'<<24 | 'A'<<16 | 'C'<<8 | '3' // 'MAC3'
	// KAudioFormatMACE6: A key that specifies the MACE C:1 codec, and uses no flags.
	KAudioFormatMACE6 KAudio = 'M'<<24 | 'A'<<16 | 'C'<<8 | '6' // 'MAC6'
	// KAudioFormatMIDIStream: A key that specifies the MIDI stream codec, and uses no flags.
	KAudioFormatMIDIStream KAudio = 'm'<<24 | 'i'<<16 | 'd'<<8 | 'i' // 'midi'
	// KAudioFormatMPEG4AAC: A key that specifies the MPEG-4 AAC Low Complexity codec, and uses no flags.
	KAudioFormatMPEG4AAC KAudio = 'a'<<24 | 'a'<<16 | 'c'<<8 | ' ' // 'aac '
	// KAudioFormatMPEG4AAC_ELD: A key that specifies the MPEG-4 Enhanced Low Delay AAC codec, and uses no flags.
	KAudioFormatMPEG4AAC_ELD KAudio = 'a'<<24 | 'a'<<16 | 'c'<<8 | 'e' // 'aace'
	// KAudioFormatMPEG4AAC_ELD_SBR: A key that specifies the MPEG-4 Enhanced Low Delay AAC codec with a spectral band replication (SBR) extension layer, and uses no flags.
	KAudioFormatMPEG4AAC_ELD_SBR KAudio = 'a'<<24 | 'a'<<16 | 'c'<<8 | 'f' // 'aacf'
	// KAudioFormatMPEG4AAC_ELD_V2: A key that specifies the MPEG-4 Enhanced Low Delay AAC version 2 codec, and uses no flags.
	KAudioFormatMPEG4AAC_ELD_V2 KAudio = 'a'<<24 | 'a'<<16 | 'c'<<8 | 'g' // 'aacg'
	// KAudioFormatMPEG4AAC_HE: A key that specifies the MPEG-4 High-Efficiency AAC codec, and uses no flags.
	KAudioFormatMPEG4AAC_HE KAudio = 'a'<<24 | 'a'<<16 | 'c'<<8 | 'h' // 'aach'
	// KAudioFormatMPEG4AAC_HE_V2: A key that specifies the MPEG-4 High-Efficiency AAC version 2 codec, and uses no flags.
	KAudioFormatMPEG4AAC_HE_V2 KAudio = 'a'<<24 | 'a'<<16 | 'c'<<8 | 'p' // 'aacp'
	// KAudioFormatMPEG4AAC_LD: A key that specifies the MPEG-4 Low Delay AAC codec, and uses no flags.
	KAudioFormatMPEG4AAC_LD KAudio = 'a'<<24 | 'a'<<16 | 'c'<<8 | 'l' // 'aacl'
	// KAudioFormatMPEG4AAC_Spatial: A key that specifies the MPEG-4 Spatial Audio Coding codec, and uses no flags.
	KAudioFormatMPEG4AAC_Spatial KAudio = 'a'<<24 | 'a'<<16 | 'c'<<8 | 's' // 'aacs'
	// KAudioFormatMPEG4CELP: A key that specifies the MPEG-4 CELP codec, and uses flags to indicate the specific kind of data.
	KAudioFormatMPEG4CELP KAudio = 'c'<<24 | 'e'<<16 | 'l'<<8 | 'p' // 'celp'
	// KAudioFormatMPEG4HVXC: A key that specifies the MPEG-4 HVXC codec, and uses no flags.
	KAudioFormatMPEG4HVXC KAudio = 'h'<<24 | 'v'<<16 | 'x'<<8 | 'c' // 'hvxc'
	// KAudioFormatMPEG4TwinVQ: A key that specifies the MPEG-4 TwinVQ codec, and uses no flags.
	KAudioFormatMPEG4TwinVQ KAudio = 't'<<24 | 'w'<<16 | 'v'<<8 | 'q' // 'twvq'
	// KAudioFormatMPEGD_USAC: A key that specifies the MPEG-D Unified Speech and Audio Coding codec, and uses no flags.
	KAudioFormatMPEGD_USAC KAudio = 'u'<<24 | 's'<<16 | 'a'<<8 | 'c' // 'usac'
	// KAudioFormatMPEGLayer1: A key that specifies the MPEG-1/2, Layer I audio codec, and uses no flags.
	KAudioFormatMPEGLayer1 KAudio = '.'<<24 | 'm'<<16 | 'p'<<8 | '1' // '.mp1'
	// KAudioFormatMPEGLayer2: A key that specifies the MPEG-1/2, Layer II audio codec, and uses no flags.
	KAudioFormatMPEGLayer2 KAudio = '.'<<24 | 'm'<<16 | 'p'<<8 | '2' // '.mp2'
	// KAudioFormatMPEGLayer3: A key that specifies the MPEG-1/2, Layer III audio codec, and uses no flags.
	KAudioFormatMPEGLayer3 KAudio = '.'<<24 | 'm'<<16 | 'p'<<8 | '3' // '.mp3'
	// KAudioFormatMicrosoftGSM: A key that specifies the Microsoft GSM 6.10 - ACM code 49 codec, and uses no flags.
	KAudioFormatMicrosoftGSM KAudio = 0
	// KAudioFormatOpus: A key that specifies the Opus codec, and uses no flags.
	KAudioFormatOpus KAudio = 'o'<<24 | 'p'<<16 | 'u'<<8 | 's' // 'opus'
	// KAudioFormatParameterValueStream: A key that specifies the A side-chain of float 32 data that an audio unit provides for sending high-density parameter value control information, and uses no flags.
	KAudioFormatParameterValueStream KAudio = 'a'<<24 | 'p'<<16 | 'v'<<8 | 's' // 'apvs'
	// KAudioFormatQDesign: A key that specifies the QDesign music codec, and uses no flags.
	KAudioFormatQDesign KAudio = 'Q'<<24 | 'D'<<16 | 'M'<<8 | 'C' // 'QDMC'
	// KAudioFormatQDesign2: A key that specifies the QDesign 2 music codec, and uses no flags.
	KAudioFormatQDesign2 KAudio = 'Q'<<24 | 'D'<<16 | 'M'<<8 | '2' // 'QDM2'
	// KAudioFormatQUALCOMM: A key that specifies the Qualcomm PureVoice codec, and uses no flags.
	KAudioFormatQUALCOMM KAudio = 'Q'<<24 | 'c'<<16 | 'l'<<8 | 'p' // 'Qclp'
	// KAudioFormatTimeCode: A key that specifies the A stream of audio timestamp structures, and uses audio timestamp flags.
	KAudioFormatTimeCode KAudio = 't'<<24 | 'i'<<16 | 'm'<<8 | 'e' // 'time'
	// KAudioFormatULaw: A key that specifies the μ-Law 2:1 codec, and uses no flags.
	KAudioFormatULaw KAudio = 'u'<<24 | 'l'<<16 | 'a'<<8 | 'w' // 'ulaw'
	// KAudioFormatiLBC: A key that specifies the internet Low Bitrate Codec (iLBC) narrow band speech codec, and uses no flags.
	KAudioFormatiLBC        KAudio = 'i'<<24 | 'l'<<16 | 'b'<<8 | 'c' // 'ilbc'
	KAudio_BadFilePathError KAudio = '!'<<24 | 'p'<<16 | 't'<<8 | 'h' // '!pth'
	// KAudio_FileNotFoundError: An error that indicates the file wasn’t found.
	KAudio_FileNotFoundError   KAudio = 0
	KAudio_FilePermissionError KAudio = 0
	// KAudio_MemFullError: An error that indicates that the heap zone is full.
	KAudio_MemFullError KAudio = 0
	KAudio_NoError      KAudio = 0
	// KAudio_ParamError: An error in the parameter list of the function.
	KAudio_ParamError            KAudio = 0
	KAudio_TooManyFilesOpenError KAudio = 0
	// KAudio_UnimplementedError: An error that indicates the app called an unimplemented system function.
	KAudio_UnimplementedError KAudio = 0
)

func (KAudio) String

func (e KAudio) String() string

type KAudioChannelLabel

type KAudioChannelLabel uint
const (
	// KAudioChannelLabel_Ambisonic_W: First order Ambisonic channel W.
	KAudioChannelLabel_Ambisonic_W KAudioChannelLabel = 0
	// KAudioChannelLabel_Ambisonic_X: First order Ambisonic channel X.
	KAudioChannelLabel_Ambisonic_X KAudioChannelLabel = 0
	// KAudioChannelLabel_Ambisonic_Y: First order Ambisonic channel Y.
	KAudioChannelLabel_Ambisonic_Y KAudioChannelLabel = 0
	// KAudioChannelLabel_Ambisonic_Z: First order Ambisonic channel Z.
	KAudioChannelLabel_Ambisonic_Z   KAudioChannelLabel = 0
	KAudioChannelLabel_BeginReserved KAudioChannelLabel = 0
	KAudioChannelLabel_BinauralLeft  KAudioChannelLabel = 0
	KAudioChannelLabel_BinauralRight KAudioChannelLabel = 0
	// KAudioChannelLabel_Center: Center channel.
	KAudioChannelLabel_Center       KAudioChannelLabel = 0
	KAudioChannelLabel_CenterBottom KAudioChannelLabel = 0
	// KAudioChannelLabel_CenterSurround: Center surround channel; or for WAVE (.wav) files, back center or rear surround.
	KAudioChannelLabel_CenterSurround KAudioChannelLabel = 0
	// KAudioChannelLabel_CenterSurroundDirect: Back center, non diffuse channel.
	KAudioChannelLabel_CenterSurroundDirect KAudioChannelLabel = 0
	KAudioChannelLabel_CenterTopFront       KAudioChannelLabel = 0
	KAudioChannelLabel_CenterTopMiddle      KAudioChannelLabel = 0
	KAudioChannelLabel_CenterTopRear        KAudioChannelLabel = 0
	// KAudioChannelLabel_ClickTrack: Click track channel.
	KAudioChannelLabel_ClickTrack       KAudioChannelLabel = 0
	KAudioChannelLabel_DialogCentricMix KAudioChannelLabel = 0
	// KAudioChannelLabel_Discrete: Generic discrete channel.
	KAudioChannelLabel_Discrete KAudioChannelLabel = 0
	// KAudioChannelLabel_Discrete_0: Discrete channel 0.
	KAudioChannelLabel_Discrete_0 KAudioChannelLabel = 0
	// KAudioChannelLabel_Discrete_1: Discrete channel 1.
	KAudioChannelLabel_Discrete_1 KAudioChannelLabel = 0
	// KAudioChannelLabel_Discrete_10: Discrete channel 10.
	KAudioChannelLabel_Discrete_10 KAudioChannelLabel = 0
	// KAudioChannelLabel_Discrete_11: Discrete channel 11.
	KAudioChannelLabel_Discrete_11 KAudioChannelLabel = 0
	// KAudioChannelLabel_Discrete_12: Discrete channel 12.
	KAudioChannelLabel_Discrete_12 KAudioChannelLabel = 0
	// KAudioChannelLabel_Discrete_13: Discrete channel 13.
	KAudioChannelLabel_Discrete_13 KAudioChannelLabel = 0
	// KAudioChannelLabel_Discrete_14: Discrete channel 14.
	KAudioChannelLabel_Discrete_14 KAudioChannelLabel = 0
	// KAudioChannelLabel_Discrete_15: Discrete channel 15.
	KAudioChannelLabel_Discrete_15 KAudioChannelLabel = 0
	// KAudioChannelLabel_Discrete_2: Discrete channel 2.
	KAudioChannelLabel_Discrete_2 KAudioChannelLabel = 0
	// KAudioChannelLabel_Discrete_3: Discrete channel 3.
	KAudioChannelLabel_Discrete_3 KAudioChannelLabel = 0
	// KAudioChannelLabel_Discrete_4: Discrete channel 4.
	KAudioChannelLabel_Discrete_4 KAudioChannelLabel = 0
	// KAudioChannelLabel_Discrete_5: Discrete channel 5.
	KAudioChannelLabel_Discrete_5 KAudioChannelLabel = 0
	// KAudioChannelLabel_Discrete_6: Discrete channel 6.
	KAudioChannelLabel_Discrete_6 KAudioChannelLabel = 0
	// KAudioChannelLabel_Discrete_65535: Discrete channel 65536.
	KAudioChannelLabel_Discrete_65535 KAudioChannelLabel = 0
	// KAudioChannelLabel_Discrete_7: Discrete channel 7.
	KAudioChannelLabel_Discrete_7 KAudioChannelLabel = 0
	// KAudioChannelLabel_Discrete_8: Discrete channel 8.
	KAudioChannelLabel_Discrete_8 KAudioChannelLabel = 0
	// KAudioChannelLabel_Discrete_9: Discrete channel 9.
	KAudioChannelLabel_Discrete_9  KAudioChannelLabel = 0
	KAudioChannelLabel_EndReserved KAudioChannelLabel = 0
	// KAudioChannelLabel_ForeignLanguage: Foreign language channel.
	KAudioChannelLabel_ForeignLanguage KAudioChannelLabel = 0
	KAudioChannelLabel_HOA_ACN         KAudioChannelLabel = 0
	KAudioChannelLabel_HOA_ACN_0       KAudioChannelLabel = 0
	KAudioChannelLabel_HOA_ACN_1       KAudioChannelLabel = 0
	KAudioChannelLabel_HOA_ACN_10      KAudioChannelLabel = 0
	KAudioChannelLabel_HOA_ACN_11      KAudioChannelLabel = 0
	KAudioChannelLabel_HOA_ACN_12      KAudioChannelLabel = 0
	KAudioChannelLabel_HOA_ACN_13      KAudioChannelLabel = 0
	KAudioChannelLabel_HOA_ACN_14      KAudioChannelLabel = 0
	KAudioChannelLabel_HOA_ACN_15      KAudioChannelLabel = 0
	KAudioChannelLabel_HOA_ACN_2       KAudioChannelLabel = 0
	KAudioChannelLabel_HOA_ACN_3       KAudioChannelLabel = 0
	KAudioChannelLabel_HOA_ACN_4       KAudioChannelLabel = 0
	KAudioChannelLabel_HOA_ACN_5       KAudioChannelLabel = 0
	KAudioChannelLabel_HOA_ACN_6       KAudioChannelLabel = 0
	KAudioChannelLabel_HOA_ACN_65024   KAudioChannelLabel = 0
	KAudioChannelLabel_HOA_ACN_7       KAudioChannelLabel = 0
	KAudioChannelLabel_HOA_ACN_8       KAudioChannelLabel = 0
	KAudioChannelLabel_HOA_ACN_9       KAudioChannelLabel = 0
	KAudioChannelLabel_HOA_N3D         KAudioChannelLabel = 0
	KAudioChannelLabel_HOA_SN3D        KAudioChannelLabel = 0
	// KAudioChannelLabel_Haptic: A channel for haptic (touch) data.
	KAudioChannelLabel_Haptic KAudioChannelLabel = 0
	// KAudioChannelLabel_HeadphonesLeft: Left channel of stereo headphones.
	KAudioChannelLabel_HeadphonesLeft KAudioChannelLabel = 0
	// KAudioChannelLabel_HeadphonesRight: Right channel of stereo headphones.
	KAudioChannelLabel_HeadphonesRight KAudioChannelLabel = 0
	// KAudioChannelLabel_HearingImpaired: Channel carrying audio for people who are deaf or hard of hearing.
	KAudioChannelLabel_HearingImpaired KAudioChannelLabel = 0
	// KAudioChannelLabel_LFE2: Low Frequency Effects 2.
	KAudioChannelLabel_LFE2 KAudioChannelLabel = 0
	KAudioChannelLabel_LFE3 KAudioChannelLabel = 0
	// KAudioChannelLabel_LFEScreen: Low Frequency Effects Screen; a subwoofer located in front of the theater.
	KAudioChannelLabel_LFEScreen KAudioChannelLabel = 0
	// KAudioChannelLabel_Left: Left channel.
	KAudioChannelLabel_Left             KAudioChannelLabel = 0
	KAudioChannelLabel_LeftBackSurround KAudioChannelLabel = 0
	KAudioChannelLabel_LeftBottom       KAudioChannelLabel = 0
	// KAudioChannelLabel_LeftCenter: Left center channel.
	KAudioChannelLabel_LeftCenter       KAudioChannelLabel = 0
	KAudioChannelLabel_LeftEdgeOfScreen KAudioChannelLabel = 0
	KAudioChannelLabel_LeftSideSurround KAudioChannelLabel = 0
	// KAudioChannelLabel_LeftSurround: Left surround channel; or for WAVE (.wav) files, back left.
	KAudioChannelLabel_LeftSurround KAudioChannelLabel = 0
	// KAudioChannelLabel_LeftSurroundDirect: Left surround direct channel; or for WAVE (.wav) files, side left.
	KAudioChannelLabel_LeftSurroundDirect KAudioChannelLabel = 0
	KAudioChannelLabel_LeftTopFront       KAudioChannelLabel = 0
	KAudioChannelLabel_LeftTopMiddle      KAudioChannelLabel = 0
	KAudioChannelLabel_LeftTopRear        KAudioChannelLabel = 0
	KAudioChannelLabel_LeftTopSurround    KAudioChannelLabel = 0
	// KAudioChannelLabel_LeftTotal: The left channel of matrix encoded 4 channel audio.
	KAudioChannelLabel_LeftTotal KAudioChannelLabel = 0
	// KAudioChannelLabel_LeftWide: Left wide channel.
	KAudioChannelLabel_LeftWide KAudioChannelLabel = 0
	// KAudioChannelLabel_MS_Mid: Mid channel of a Mid/Side recording.
	KAudioChannelLabel_MS_Mid KAudioChannelLabel = 0
	// KAudioChannelLabel_MS_Side: Side channel of a Mid/Side recording.
	KAudioChannelLabel_MS_Side KAudioChannelLabel = 0
	// KAudioChannelLabel_Mono: Monaural channel.
	KAudioChannelLabel_Mono KAudioChannelLabel = 0
	// KAudioChannelLabel_Narration: Narration channel.
	KAudioChannelLabel_Narration KAudioChannelLabel = 0
	KAudioChannelLabel_Object    KAudioChannelLabel = 0
	// KAudioChannelLabel_RearSurroundLeft: Rear surround left channel.
	KAudioChannelLabel_RearSurroundLeft KAudioChannelLabel = 0
	// KAudioChannelLabel_RearSurroundRight: Rear surround right channel.
	KAudioChannelLabel_RearSurroundRight KAudioChannelLabel = 0
	// KAudioChannelLabel_Right: Right channel.
	KAudioChannelLabel_Right             KAudioChannelLabel = 0
	KAudioChannelLabel_RightBackSurround KAudioChannelLabel = 0
	KAudioChannelLabel_RightBottom       KAudioChannelLabel = 0
	// KAudioChannelLabel_RightCenter: Right center channel.
	KAudioChannelLabel_RightCenter       KAudioChannelLabel = 0
	KAudioChannelLabel_RightEdgeOfScreen KAudioChannelLabel = 0
	KAudioChannelLabel_RightSideSurround KAudioChannelLabel = 0
	// KAudioChannelLabel_RightSurround: Right surround channel; or for WAVE (.wav) files, back right.
	KAudioChannelLabel_RightSurround KAudioChannelLabel = 0
	// KAudioChannelLabel_RightSurroundDirect: Right surround direct channel; or for WAVE (.wav) files, side right.
	KAudioChannelLabel_RightSurroundDirect KAudioChannelLabel = 0
	KAudioChannelLabel_RightTopFront       KAudioChannelLabel = 0
	KAudioChannelLabel_RightTopMiddle      KAudioChannelLabel = 0
	KAudioChannelLabel_RightTopRear        KAudioChannelLabel = 0
	KAudioChannelLabel_RightTopSurround    KAudioChannelLabel = 0
	// KAudioChannelLabel_RightTotal: The right channel of matrix encoded 4 channel audio.
	KAudioChannelLabel_RightTotal KAudioChannelLabel = 0
	// KAudioChannelLabel_RightWide: Right wide channel.
	KAudioChannelLabel_RightWide KAudioChannelLabel = 0
	// KAudioChannelLabel_TopBackCenter: Top back center channel.
	KAudioChannelLabel_TopBackCenter KAudioChannelLabel = 0
	// KAudioChannelLabel_TopBackLeft: Top back left channel.
	KAudioChannelLabel_TopBackLeft KAudioChannelLabel = 0
	// KAudioChannelLabel_TopBackRight: Top back right channel.
	KAudioChannelLabel_TopBackRight KAudioChannelLabel = 0
	// KAudioChannelLabel_TopCenterSurround: Top center surround-sound channel.
	KAudioChannelLabel_TopCenterSurround KAudioChannelLabel = 0
	// KAudioChannelLabel_Unknown: Unknown role or unspecified other use for channel.
	KAudioChannelLabel_Unknown KAudioChannelLabel = 0
	// KAudioChannelLabel_Unused: The channel is present, but has no intended role or destination.
	KAudioChannelLabel_Unused KAudioChannelLabel = 0
	// KAudioChannelLabel_UseCoordinates: The channel is described solely by the `mCoordinates` field of the [AudioChannelDescription] structure.
	KAudioChannelLabel_UseCoordinates KAudioChannelLabel = 0
	// KAudioChannelLabel_VerticalHeightCenter: Vertical height center channel; or for WAVE (.wav) files, top front center.
	KAudioChannelLabel_VerticalHeightCenter KAudioChannelLabel = 0
	// KAudioChannelLabel_VerticalHeightLeft: Vertical height left channel; or for WAVE (.wav) files, top front left.
	KAudioChannelLabel_VerticalHeightLeft KAudioChannelLabel = 0
	// KAudioChannelLabel_VerticalHeightRight: Vertical height right channel; or for WAVE (.wav) files, top front right.
	KAudioChannelLabel_VerticalHeightRight KAudioChannelLabel = 0
	// KAudioChannelLabel_XY_X: X channel of an X-Y recording.
	KAudioChannelLabel_XY_X KAudioChannelLabel = 0
	// KAudioChannelLabel_XY_Y: Y channel of an X-Y recording.
	KAudioChannelLabel_XY_Y KAudioChannelLabel = 0
)

func (KAudioChannelLabel) String

func (e KAudioChannelLabel) String() string

type KAudioChannelLayoutTag

type KAudioChannelLayoutTag uint
const (
	// KAudioChannelLayoutTag_AAC_3_0: An AAC 3-channel audio layout.
	KAudioChannelLayoutTag_AAC_3_0 KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_AAC_4_0: An AAC 4-channel surround-based layout.
	KAudioChannelLayoutTag_AAC_4_0 KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_AAC_5_0: An AAC 5-channel surround-based layout.
	KAudioChannelLayoutTag_AAC_5_0 KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_AAC_5_1: An AAC 5.1-channel surround-based layout.
	KAudioChannelLayoutTag_AAC_5_1 KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_AAC_6_0: An AAC 6-channel surround-based layout.
	KAudioChannelLayoutTag_AAC_6_0 KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_AAC_6_1: An AAC 6.1-channel surround-based layout.
	KAudioChannelLayoutTag_AAC_6_1 KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_AAC_7_0: An AAC 7-channel surround-based layout.
	KAudioChannelLayoutTag_AAC_7_0 KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_AAC_7_1: An AAC 7.1-channel surround-based layout.
	KAudioChannelLayoutTag_AAC_7_1 KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_AAC_7_1_B: An AAC 7.1-channel, configuration B, surround-based layout.
	KAudioChannelLayoutTag_AAC_7_1_B KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_AAC_7_1_C: An AAC 7.1-channel, configuration C, surround-based layout.
	KAudioChannelLayoutTag_AAC_7_1_C KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_AAC_Octagonal: An AAC 8-channel surround-based layout.
	KAudioChannelLayoutTag_AAC_Octagonal KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_AAC_Quadraphonic: An AAC quadraphonic surround-based layout.
	KAudioChannelLayoutTag_AAC_Quadraphonic KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_AC3_1_0_1: An AC-3 layout.
	KAudioChannelLayoutTag_AC3_1_0_1 KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_AC3_2_1_1: An AC-3 layout.
	KAudioChannelLayoutTag_AC3_2_1_1 KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_AC3_3_0: An AC-3 layout.
	KAudioChannelLayoutTag_AC3_3_0 KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_AC3_3_0_1: An AC-3 layout.
	KAudioChannelLayoutTag_AC3_3_0_1 KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_AC3_3_1: An AC-3 layout.
	KAudioChannelLayoutTag_AC3_3_1 KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_AC3_3_1_1: An AC-3 layout.
	KAudioChannelLayoutTag_AC3_3_1_1 KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_Ambisonic_B_Format: An ambisonic B-format audio layout.
	KAudioChannelLayoutTag_Ambisonic_B_Format KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_Atmos_5_1_2        KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_Atmos_5_1_4        KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_Atmos_7_1_2        KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_Atmos_7_1_4        KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_Atmos_9_1_6        KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_AudioUnit_4: A quadraphonic symmetrical layout, recommended for use by audio units.
	KAudioChannelLayoutTag_AudioUnit_4 KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_AudioUnit_5: A pentagonal symmetrical layout, recommended for use by audio units.
	KAudioChannelLayoutTag_AudioUnit_5 KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_AudioUnit_5_0: A 5-channel surround-based layout, recommended for use by audio units.
	KAudioChannelLayoutTag_AudioUnit_5_0 KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_AudioUnit_5_1: A 5.1-channel surround-based layout, recommended for use by audio units.
	KAudioChannelLayoutTag_AudioUnit_5_1 KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_AudioUnit_6: A hexagonal symmetrical layout, recommended for use by audio units.
	KAudioChannelLayoutTag_AudioUnit_6 KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_AudioUnit_6_0: A 6-channel surround-based layout, recommended for use by audio units.
	KAudioChannelLayoutTag_AudioUnit_6_0 KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_AudioUnit_6_1: A 6.1-channel surround-based layout, recommended for use by audio units.
	KAudioChannelLayoutTag_AudioUnit_6_1 KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_AudioUnit_7_0: A 7-channel surround-based layout, recommended for use by audio units.
	KAudioChannelLayoutTag_AudioUnit_7_0 KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_AudioUnit_7_0_Front: An alternate 7-channel surround-based layout, for use by audio units.
	KAudioChannelLayoutTag_AudioUnit_7_0_Front KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_AudioUnit_7_1: A 7.1-channel surround-based layout, recommended for use by audio units.
	KAudioChannelLayoutTag_AudioUnit_7_1 KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_AudioUnit_7_1_Front: A 7.1-channel surround-based layout, recommended for use by audio units.
	KAudioChannelLayoutTag_AudioUnit_7_1_Front KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_AudioUnit_8: An octagonal symmetrical layout, recommended for use by audio units.
	KAudioChannelLayoutTag_AudioUnit_8 KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_BeginReserved: The beginning value for a reserved range of layout tags.
	KAudioChannelLayoutTag_BeginReserved KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_Binaural: A binaural stereo audio layout.
	KAudioChannelLayoutTag_Binaural KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_CICP_1   KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_CICP_10  KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_CICP_11  KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_CICP_12  KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_CICP_13  KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_CICP_14  KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_CICP_15  KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_CICP_16  KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_CICP_17  KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_CICP_18  KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_CICP_19  KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_CICP_2   KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_CICP_20  KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_CICP_3   KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_CICP_4   KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_CICP_5   KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_CICP_6   KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_CICP_7   KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_CICP_9   KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_Cube: A cubic audio layout.
	KAudioChannelLayoutTag_Cube KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_DTS_3_1: A Blu-ray Disc audio layout, defined by DTS (Digital Theater Systems Ltd.).
	KAudioChannelLayoutTag_DTS_3_1 KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_DTS_4_1: A Blu-ray Disc audio layout, defined by DTS (Digital Theater Systems Ltd.).
	KAudioChannelLayoutTag_DTS_4_1 KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_DTS_6_0_A: A Blu-ray Disc audio layout, defined by DTS (Digital Theater Systems Ltd.).
	KAudioChannelLayoutTag_DTS_6_0_A KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_DTS_6_0_B: A Blu-ray Disc audio layout, defined by DTS (Digital Theater Systems Ltd.).
	KAudioChannelLayoutTag_DTS_6_0_B KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_DTS_6_0_C: A Blu-ray Disc audio layout, defined by DTS (Digital Theater Systems Ltd.).
	KAudioChannelLayoutTag_DTS_6_0_C KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_DTS_6_1_A: A Blu-ray Disc audio layout, defined by DTS (Digital Theater Systems Ltd.).
	KAudioChannelLayoutTag_DTS_6_1_A KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_DTS_6_1_B: A Blu-ray Disc audio layout, defined by DTS (Digital Theater Systems Ltd.).
	KAudioChannelLayoutTag_DTS_6_1_B KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_DTS_6_1_C: A Blu-ray Disc audio layout, defined by DTS (Digital Theater Systems Ltd.).
	KAudioChannelLayoutTag_DTS_6_1_C KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_DTS_6_1_D: A Blu-ray Disc audio layout, defined by DTS (Digital Theater Systems Ltd.).
	KAudioChannelLayoutTag_DTS_6_1_D KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_DTS_7_0: A Blu-ray Disc audio layout, defined by DTS (Digital Theater Systems Ltd.).
	KAudioChannelLayoutTag_DTS_7_0 KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_DTS_7_1: A Blu-ray Disc audio layout, defined by DTS (Digital Theater Systems Ltd.).
	KAudioChannelLayoutTag_DTS_7_1 KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_DTS_8_0_A: A Blu-ray Disc audio layout, defined by DTS (Digital Theater Systems Ltd.).
	KAudioChannelLayoutTag_DTS_8_0_A KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_DTS_8_0_B: A Blu-ray Disc audio layout, defined by DTS (Digital Theater Systems Ltd.).
	KAudioChannelLayoutTag_DTS_8_0_B KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_DTS_8_1_A: A Blu-ray Disc audio layout, defined by DTS (Digital Theater Systems Ltd.).
	KAudioChannelLayoutTag_DTS_8_1_A KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_DTS_8_1_B: A Blu-ray Disc audio layout, defined by DTS (Digital Theater Systems Ltd.).
	KAudioChannelLayoutTag_DTS_8_1_B KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_DVD_0: A DVD monaural audio layout.
	KAudioChannelLayoutTag_DVD_0 KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_DVD_1: A DVD stereo audio layout.
	KAudioChannelLayoutTag_DVD_1 KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_DVD_10: A DVD 3.1-channel audio layout.
	KAudioChannelLayoutTag_DVD_10 KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_DVD_11: A DVD 4.1-channel audio layout.
	KAudioChannelLayoutTag_DVD_11 KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_DVD_12: A DVD 5.1-channel audio layout.
	KAudioChannelLayoutTag_DVD_12 KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_DVD_13: A DVD 4-channel audio layout.
	KAudioChannelLayoutTag_DVD_13 KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_DVD_14: A DVD 5-channel audio layout.
	KAudioChannelLayoutTag_DVD_14 KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_DVD_15: A DVD 3.1-channel audio layout.
	KAudioChannelLayoutTag_DVD_15 KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_DVD_16: A DVD 4.1-channel audio layout.
	KAudioChannelLayoutTag_DVD_16 KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_DVD_17: A DVD 5.1-channel audio layout.
	KAudioChannelLayoutTag_DVD_17 KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_DVD_18: A DVD 4.1-channel audio layout.
	KAudioChannelLayoutTag_DVD_18 KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_DVD_19: A DVD 5-channel audio layout.
	KAudioChannelLayoutTag_DVD_19 KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_DVD_2: A DVD 3-channel audio layout.
	KAudioChannelLayoutTag_DVD_2 KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_DVD_20: A DVD 5.1-channel audio layout.
	KAudioChannelLayoutTag_DVD_20 KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_DVD_3: A DVD 4-channel audio layout.
	KAudioChannelLayoutTag_DVD_3 KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_DVD_4: A DVD 2.1-channel audio layout.
	KAudioChannelLayoutTag_DVD_4 KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_DVD_5: A DVD 3.1-channel audio layout.
	KAudioChannelLayoutTag_DVD_5 KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_DVD_6: A DVD 4.1-channel audio layout.
	KAudioChannelLayoutTag_DVD_6 KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_DVD_7: A DVD 3-channel audio layout.
	KAudioChannelLayoutTag_DVD_7 KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_DVD_8: A DVD 4-channel audio layout.
	KAudioChannelLayoutTag_DVD_8 KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_DVD_9: A DVD 5-channel audio layout.
	KAudioChannelLayoutTag_DVD_9 KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_DiscreteInOrder: A tag used to map input channels to output channels without changing the channel order.
	KAudioChannelLayoutTag_DiscreteInOrder KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_EAC3_6_1_A: A Blu-ray Disc audio layout for Enhanced AC-3, also known as Dolby Digital Plus.
	KAudioChannelLayoutTag_EAC3_6_1_A KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_EAC3_6_1_B: A Blu-ray Disc audio layout for Enhanced AC-3, also known as Dolby Digital Plus.
	KAudioChannelLayoutTag_EAC3_6_1_B KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_EAC3_6_1_C: A Blu-ray Disc audio layout for Enhanced AC-3, also known as Dolby Digital Plus.
	KAudioChannelLayoutTag_EAC3_6_1_C KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_EAC3_7_1_A: A Blu-ray Disc audio layout for Enhanced AC-3, also known as Dolby Digital Plus.
	KAudioChannelLayoutTag_EAC3_7_1_A KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_EAC3_7_1_B: A Blu-ray Disc audio layout for Enhanced AC-3, also known as Dolby Digital Plus.
	KAudioChannelLayoutTag_EAC3_7_1_B KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_EAC3_7_1_C: A Blu-ray Disc audio layout for Enhanced AC-3, also known as Dolby Digital Plus.
	KAudioChannelLayoutTag_EAC3_7_1_C KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_EAC3_7_1_D: A Blu-ray Disc audio layout for Enhanced AC-3, also known as Dolby Digital Plus.
	KAudioChannelLayoutTag_EAC3_7_1_D KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_EAC3_7_1_E: A Blu-ray Disc audio layout for Enhanced AC-3, also known as Dolby Digital Plus.
	KAudioChannelLayoutTag_EAC3_7_1_E KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_EAC3_7_1_F: A Blu-ray Disc audio layout for Enhanced AC-3, also known as Dolby Digital Plus.
	KAudioChannelLayoutTag_EAC3_7_1_F KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_EAC3_7_1_G: A Blu-ray Disc audio layout for Enhanced AC-3, also known as Dolby Digital Plus.
	KAudioChannelLayoutTag_EAC3_7_1_G KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_EAC3_7_1_H: A Blu-ray Disc audio layout for Enhanced AC-3, also known as Dolby Digital Plus.
	KAudioChannelLayoutTag_EAC3_7_1_H KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_EAC_6_0_A: A Blu-ray Disc audio layout for Enhanced AC-3, also known as Dolby Digital Plus.
	KAudioChannelLayoutTag_EAC_6_0_A KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_EAC_7_0_A: A Blu-ray Disc audio layout for Enhanced AC-3, also known as Dolby Digital Plus.
	KAudioChannelLayoutTag_EAC_7_0_A KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_Emagic_Default_7_1: An Emagic 7.1-channel default audio layout.
	KAudioChannelLayoutTag_Emagic_Default_7_1 KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_EndReserved: The ending value for a reserved range of layout tags.
	KAudioChannelLayoutTag_EndReserved KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_HOA_ACN_N3D: A Higher-order Ambisonics, full 3D normalization audio layout.
	KAudioChannelLayoutTag_HOA_ACN_N3D KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_HOA_ACN_SN3D: A Higher-order Ambisonics, Schmidt semi-normalization audio layout.
	KAudioChannelLayoutTag_HOA_ACN_SN3D KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_Hexagonal: A hexagonal audio layout.
	KAudioChannelLayoutTag_Hexagonal KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_ITU_1_0: An ITU 1-channel audio layout.
	KAudioChannelLayoutTag_ITU_1_0 KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_ITU_2_0: An ITU 2-channel audio layout.
	KAudioChannelLayoutTag_ITU_2_0 KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_ITU_2_1: An ITU 2.1-channel audio layout.
	KAudioChannelLayoutTag_ITU_2_1 KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_ITU_2_2: An ITU 2.2-channel audio layout.
	KAudioChannelLayoutTag_ITU_2_2 KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_ITU_3_0: An ITU 3-channel audio layout.
	KAudioChannelLayoutTag_ITU_3_0 KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_ITU_3_1: An ITU 3.1-channel audio layout.
	KAudioChannelLayoutTag_ITU_3_1 KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_ITU_3_2: An ITU 3.2-channel audio layout.
	KAudioChannelLayoutTag_ITU_3_2 KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_ITU_3_2_1: An ITU 3.2.1-channel audio layout.
	KAudioChannelLayoutTag_ITU_3_2_1 KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_ITU_3_4_1: An ITU 3.4.1-channel audio layout.
	KAudioChannelLayoutTag_ITU_3_4_1           KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_Logic_4_0_A         KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_Logic_4_0_B         KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_Logic_4_0_C         KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_Logic_5_0_A         KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_Logic_5_0_B         KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_Logic_5_0_C         KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_Logic_5_0_D         KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_Logic_5_1_A         KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_Logic_5_1_B         KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_Logic_5_1_C         KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_Logic_5_1_D         KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_Logic_6_0_A         KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_Logic_6_0_B         KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_Logic_6_0_C         KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_Logic_6_1_A         KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_Logic_6_1_B         KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_Logic_6_1_C         KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_Logic_6_1_D         KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_Logic_7_1_A         KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_Logic_7_1_B         KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_Logic_7_1_C         KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_Logic_7_1_SDDS_A    KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_Logic_7_1_SDDS_B    KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_Logic_7_1_SDDS_C    KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_Logic_Atmos_5_1_2   KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_Logic_Atmos_5_1_4   KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_Logic_Atmos_7_1_2   KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_Logic_Atmos_7_1_4_A KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_Logic_Atmos_7_1_4_B KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_Logic_Atmos_7_1_6   KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_Logic_Mono          KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_Logic_Quadraphonic  KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_Logic_Stereo        KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_MPEG_1_0: An MPEG 1-channel audio layout.
	KAudioChannelLayoutTag_MPEG_1_0 KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_MPEG_2_0: An MPEG 2-channel audio layout.
	KAudioChannelLayoutTag_MPEG_2_0 KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_MPEG_3_0_A: An MPEG 3-channel, configuration A, audio layout.
	KAudioChannelLayoutTag_MPEG_3_0_A KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_MPEG_3_0_B: An MPEG 3-channel, configuration B, audio layout.
	KAudioChannelLayoutTag_MPEG_3_0_B KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_MPEG_4_0_A: An MPEG 4-channel, configuration A, audio layout.
	KAudioChannelLayoutTag_MPEG_4_0_A KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_MPEG_4_0_B: An MPEG 4-channel, configuration B, audio layout
	KAudioChannelLayoutTag_MPEG_4_0_B KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_MPEG_5_0_A: An MPEG 5-channel, configuration A, audio layout.
	KAudioChannelLayoutTag_MPEG_5_0_A KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_MPEG_5_0_B: An MPEG 5-channel, configuration B, audio layout.
	KAudioChannelLayoutTag_MPEG_5_0_B KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_MPEG_5_0_C: An MPEG 5-channel, configuration C, audio layout.
	KAudioChannelLayoutTag_MPEG_5_0_C KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_MPEG_5_0_D: An MPEG 5-channel, configuration D, audio layout.
	KAudioChannelLayoutTag_MPEG_5_0_D KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_MPEG_5_0_E: 5 channels, L R Rls Rrs C
	KAudioChannelLayoutTag_MPEG_5_0_E KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_MPEG_5_1_A: An MPEG 5.1-channel, configuration A, audio layout.
	KAudioChannelLayoutTag_MPEG_5_1_A KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_MPEG_5_1_B: An MPEG 5.1-channel, configuration B, audio layout.
	KAudioChannelLayoutTag_MPEG_5_1_B KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_MPEG_5_1_C: An MPEG 5.1-channel, configuration C, audio layout.
	KAudioChannelLayoutTag_MPEG_5_1_C KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_MPEG_5_1_D: An MPEG 5.1-channel, configuration D, audio layout.
	KAudioChannelLayoutTag_MPEG_5_1_D KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_MPEG_5_1_E: 6 channels, L R Rls Rrs C LFE
	KAudioChannelLayoutTag_MPEG_5_1_E KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_MPEG_6_1_A: An MPEG 6.1-channel, configuration A, audio layout.
	KAudioChannelLayoutTag_MPEG_6_1_A KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_MPEG_6_1_B: 7 channels, L R Ls Rs C Cs LFE
	KAudioChannelLayoutTag_MPEG_6_1_B KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_MPEG_7_1_A: An MPEG 7.1-channel, configuration A, audio layout.
	KAudioChannelLayoutTag_MPEG_7_1_A KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_MPEG_7_1_B: An MPEG 7.1-channel, configuration B, audio layout.
	KAudioChannelLayoutTag_MPEG_7_1_B KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_MPEG_7_1_C: An MPEG 7.1-channel, configuration C, audio layout.
	KAudioChannelLayoutTag_MPEG_7_1_C KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_MPEG_7_1_D: 8 channels, L R Rls Rrs Ls Rs C LFE
	KAudioChannelLayoutTag_MPEG_7_1_D KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_MatrixStereo: A matrix-encoded stereo stream.
	KAudioChannelLayoutTag_MatrixStereo KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_MidSide: A middle and side channel audio layout.
	KAudioChannelLayoutTag_MidSide KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_Mono: A standard monophonic stream.
	KAudioChannelLayoutTag_Mono KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_Octagonal: An octagonal audio layout.
	KAudioChannelLayoutTag_Octagonal KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_Ogg_3_0   KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_Ogg_4_0   KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_Ogg_5_0   KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_Ogg_5_1   KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_Ogg_6_1   KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_Ogg_7_1   KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_Pentagonal: A pentalgonal audio layout.
	KAudioChannelLayoutTag_Pentagonal KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_Quadraphonic: A quadraphonic audio layout.
	KAudioChannelLayoutTag_Quadraphonic KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_SMPTE_DTV: An SMPTE DTV audio layout.
	KAudioChannelLayoutTag_SMPTE_DTV KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_Stereo: A standard stereophonic stream.
	KAudioChannelLayoutTag_Stereo KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_StereoHeadphones: A standard stereo stream; headphone playback implied.
	KAudioChannelLayoutTag_StereoHeadphones KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_TMH_10_2_full: An extended TMH 10.2 multiple-channel surround-based layout, recommended for use by audio units.
	KAudioChannelLayoutTag_TMH_10_2_full KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_TMH_10_2_std: A TMH 10.2 multiple-channel surround-based layout .
	KAudioChannelLayoutTag_TMH_10_2_std KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_Unknown: The channel layout is unknown.
	KAudioChannelLayoutTag_Unknown KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_UseChannelBitmap: A bitmap that defines the layout mapping.
	KAudioChannelLayoutTag_UseChannelBitmap KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_UseChannelDescriptions: An array of audio channel description structures that defines the layout mapping.
	KAudioChannelLayoutTag_UseChannelDescriptions KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_WAVE_2_1               KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_WAVE_3_0               KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_WAVE_4_0_A             KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_WAVE_4_0_B             KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_WAVE_5_0_A             KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_WAVE_5_0_B             KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_WAVE_5_1_A             KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_WAVE_5_1_B             KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_WAVE_6_1               KAudioChannelLayoutTag = 0
	KAudioChannelLayoutTag_WAVE_7_1               KAudioChannelLayoutTag = 0
	// KAudioChannelLayoutTag_XY: A coincident, angled microphone pair.
	KAudioChannelLayoutTag_XY KAudioChannelLayoutTag = 0
)

func (KAudioChannelLayoutTag) String

func (e KAudioChannelLayoutTag) String() string

type KAudioFormatFlagIsFloat

type KAudioFormatFlagIsFloat uint
const (
	// KAppleLosslessFormatFlag_16BitSourceData: A flag that indicates Apple Lossless data sourced from 16-bit native endian signed integer data.
	KAppleLosslessFormatFlag_16BitSourceData KAudioFormatFlagIsFloat = 0
	// KAppleLosslessFormatFlag_20BitSourceData: A flag that indicates Apple Lossless data sourced from 20-bit native endian signed integer data aligned high in 24 bits.
	KAppleLosslessFormatFlag_20BitSourceData KAudioFormatFlagIsFloat = 0
	// KAppleLosslessFormatFlag_24BitSourceData: A flag that indicates Apple Lossless data sourced from 24-bit native endian signed integer data.
	KAppleLosslessFormatFlag_24BitSourceData KAudioFormatFlagIsFloat = 0
	// KAppleLosslessFormatFlag_32BitSourceData: A flag that indicates Apple Lossless data sourced from 32-bit native endian signed integer data.
	KAppleLosslessFormatFlag_32BitSourceData KAudioFormatFlagIsFloat = 0
	// KAudioFormatFlagIsAlignedHigh: A flag that indicates whether placement of the sample bits is with the high or low bits of the channel.
	KAudioFormatFlagIsAlignedHigh KAudioFormatFlagIsFloat = 0
	// KAudioFormatFlagIsBigEndian: A flag that indicates whether the format is big or little endian.
	KAudioFormatFlagIsBigEndian KAudioFormatFlagIsFloat = 0
	// KAudioFormatFlagIsFloatValue: A flag that indicates whether the format is floating point or integer.
	KAudioFormatFlagIsFloatValue KAudioFormatFlagIsFloat = 0
	// KAudioFormatFlagIsNonInterleaved: A flag that indicates whether the samples for each channel or frame are continguously located, and whether the layout of the channels or frames is end-to-end.
	KAudioFormatFlagIsNonInterleaved KAudioFormatFlagIsFloat = 0
	// KAudioFormatFlagIsNonMixable: A flag that indicates the format is nonmixable.
	KAudioFormatFlagIsNonMixable KAudioFormatFlagIsFloat = 0
	// KAudioFormatFlagIsPacked: A flag that indicates whether placement of the sample bits occupy the entire available bits of the channel.
	KAudioFormatFlagIsPacked KAudioFormatFlagIsFloat = 0
	// KAudioFormatFlagIsSignedInteger: A flag that indicates whether the format is signed or unsigned integer.
	KAudioFormatFlagIsSignedInteger KAudioFormatFlagIsFloat = 0
	// KAudioFormatFlagsAreAllClear: A flag that indicates whether all the flags are clear.
	KAudioFormatFlagsAreAllClear KAudioFormatFlagIsFloat = 0
	// KLinearPCMFormatFlagIsAlignedHigh: A flag that indicates whether placement of the sample bits is with the high or low bits of the channel.
	KLinearPCMFormatFlagIsAlignedHigh KAudioFormatFlagIsFloat = 0
	// KLinearPCMFormatFlagIsBigEndian: A flag that indicates whether the format is big or little endian.
	KLinearPCMFormatFlagIsBigEndian KAudioFormatFlagIsFloat = 0
	// KLinearPCMFormatFlagIsFloat: A flag that indicates whether the format is floating point or integer.
	KLinearPCMFormatFlagIsFloat KAudioFormatFlagIsFloat = 0
	// KLinearPCMFormatFlagIsNonInterleaved: A flag that indicates whether the samples for each channel or frame are continguously located, and whether the layout of the channels or frames is end-to-end.
	KLinearPCMFormatFlagIsNonInterleaved KAudioFormatFlagIsFloat = 0
	// KLinearPCMFormatFlagIsNonMixable: A flag that indicates the format is nonmixable.
	KLinearPCMFormatFlagIsNonMixable KAudioFormatFlagIsFloat = 0
	// KLinearPCMFormatFlagIsPacked: A flag that indicates whether placement of the sample bits occupy the entire available bits of the channel.
	KLinearPCMFormatFlagIsPacked KAudioFormatFlagIsFloat = 0
	// KLinearPCMFormatFlagIsSignedInteger: A flag that indicates whether the format is signed or unsigned integer.
	KLinearPCMFormatFlagIsSignedInteger KAudioFormatFlagIsFloat = 0
	// KLinearPCMFormatFlagsAreAllClear: A flag that indicates whether all the flags are clear.
	KLinearPCMFormatFlagsAreAllClear KAudioFormatFlagIsFloat = 0
	// KLinearPCMFormatFlagsSampleFractionMask: A flag that indicates the sample fraction mask.
	KLinearPCMFormatFlagsSampleFractionMask KAudioFormatFlagIsFloat = 0
	// KLinearPCMFormatFlagsSampleFractionShift: A flag that indicates the bit position of the PCM flag’s 6-bit bitfield.
	KLinearPCMFormatFlagsSampleFractionShift KAudioFormatFlagIsFloat = 0
)

func (KAudioFormatFlagIsFloat) String

func (e KAudioFormatFlagIsFloat) String() string

type KAudioFormatFlags

type KAudioFormatFlags uint
const (
	// KAudioFormatFlagsAudioUnitCanonical: The flags for the canonical audio unit and processing sample type.
	KAudioFormatFlagsAudioUnitCanonical KAudioFormatFlags = 0
	// KAudioFormatFlagsCanonical: The set of flags for the canonical input-output audio sample type.
	KAudioFormatFlagsCanonical KAudioFormatFlags = 0
	// KAudioFormatFlagsNativeEndian: A flag that specifies whether the format is big endian, depending on the endianness of the processor at build time.
	KAudioFormatFlagsNativeEndian KAudioFormatFlags = 0
	// KAudioFormatFlagsNativeFloatPacked: The flags for the canonical format of fully packed, native endian floating-point data.
	KAudioFormatFlagsNativeFloatPacked KAudioFormatFlags = 0
)

func (KAudioFormatFlags) String

func (e KAudioFormatFlags) String() string

type MPEG4ObjectID

type MPEG4ObjectID int

See: https://developer.apple.com/documentation/CoreAudioTypes/MPEG4ObjectID

const (
	// KMPEG4Object_AAC_LC: A constant that specifies lossless coding, which provides compression with no loss of quality.
	KMPEG4Object_AAC_LC MPEG4ObjectID = 2
	// KMPEG4Object_AAC_LTP: A constant that specifies long-term prediction, which reduces redundancy in a coded signal.
	KMPEG4Object_AAC_LTP MPEG4ObjectID = 4
	// KMPEG4Object_AAC_Main: A constant that specifies advanced audio coding, which is the basic MPEG-4 technology.
	KMPEG4Object_AAC_Main MPEG4ObjectID = 1
	// KMPEG4Object_AAC_SBR: A constant that specifies spectral band replication, which reconstructs high-frequency content from lower frequencies and side information.
	KMPEG4Object_AAC_SBR MPEG4ObjectID = 5
	// KMPEG4Object_AAC_SSR: A constant that specifies scalable sampling rate, which provides different sampling frequencies for different targets.
	KMPEG4Object_AAC_SSR MPEG4ObjectID = 3
	// KMPEG4Object_AAC_Scalable: A constant that specifies scalable lossless coding.
	KMPEG4Object_AAC_Scalable MPEG4ObjectID = 6
	// KMPEG4Object_CELP: A constant that specifies code-excited linear prediction, which is a narrow-band/wide-band speech codec.
	KMPEG4Object_CELP MPEG4ObjectID = 8
	// KMPEG4Object_HVXC: A constant that specifies harmonic vector excitation coding, which is a very-low bit-rate parametric speech codec.
	KMPEG4Object_HVXC MPEG4ObjectID = 9
	// KMPEG4Object_TwinVQ: A constant that specifies transform-domain weighted interleaved vector quantization.
	KMPEG4Object_TwinVQ MPEG4ObjectID = 7
)

func (MPEG4ObjectID) String

func (e MPEG4ObjectID) String() string

type SMPTETime

type SMPTETime struct {
	MSubframes       int16          // A subframe offset to the HH:MM:SS:FF time. You can use this field to position a time marker somewhere within the time span represented by a video frame, if necessary.
	MSubframeDivisor int16          // The number of subframes per video frame (typically 80).
	MCounter         uint32         // The total number of messages received. It takes 8 messages to carry a full SMPTE time code.
	MType            SMPTETimeType  // A SMPTE time type constant indicating the kind of SMPTE time used (see `SMPTE Timecode Types`).
	MFlags           SMPTETimeFlags // A set of flags that indicate the SMPTE state (see `SMPTE Time Flags`).
	MHours           int16          // The value of the hours portion of the SMPTE time.
	MMinutes         int16          // The value of the minutes portion of the SMPTE time.
	MSeconds         int16          // The value of the seconds portion of the SMPTE time.
	MFrames          int16          // The value of the frames portion of the SMPTE time.

}

SMPTETime - A structure that defines an SMPTE time value.

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreAudioTypes/SMPTETime

type SMPTETimeFlags

type SMPTETimeFlags uint32

See: https://developer.apple.com/documentation/CoreAudioTypes/SMPTETimeFlags

const (
	// KSMPTETimeRunning: # Discussion
	KSMPTETimeRunning SMPTETimeFlags = 2
	KSMPTETimeUnknown SMPTETimeFlags = 0
	// KSMPTETimeValid: # Discussion
	KSMPTETimeValid SMPTETimeFlags = 1
)

func (SMPTETimeFlags) String

func (e SMPTETimeFlags) String() string

type SMPTETimeType

type SMPTETimeType uint32

See: https://developer.apple.com/documentation/CoreAudioTypes/SMPTETimeType

const (
	// KSMPTETimeType2398: # Discussion
	KSMPTETimeType2398 SMPTETimeType = 11
	// KSMPTETimeType24: # Discussion
	KSMPTETimeType24 SMPTETimeType = 0
	// KSMPTETimeType25: # Discussion
	KSMPTETimeType25 SMPTETimeType = 1
	// KSMPTETimeType2997: # Discussion
	KSMPTETimeType2997 SMPTETimeType = 4
	// KSMPTETimeType2997Drop: # Discussion
	KSMPTETimeType2997Drop SMPTETimeType = 5
	// KSMPTETimeType30: # Discussion
	KSMPTETimeType30 SMPTETimeType = 3
	// KSMPTETimeType30Drop: # Discussion
	KSMPTETimeType30Drop SMPTETimeType = 2
	// KSMPTETimeType50: # Discussion
	KSMPTETimeType50 SMPTETimeType = 10
	// KSMPTETimeType5994: # Discussion
	KSMPTETimeType5994 SMPTETimeType = 7
	// KSMPTETimeType5994Drop: # Discussion
	KSMPTETimeType5994Drop SMPTETimeType = 9
	// KSMPTETimeType60: # Discussion
	KSMPTETimeType60 SMPTETimeType = 6
	// KSMPTETimeType60Drop: # Discussion
	KSMPTETimeType60Drop SMPTETimeType = 8
)

func (SMPTETimeType) String

func (e SMPTETimeType) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL