Skip to content

Instantly share code, notes, and snippets.

@pebble8888
Created June 13, 2022 01:32
Show Gist options
  • Save pebble8888/2e294675d3498819bb1ba95efb17c7f2 to your computer and use it in GitHub Desktop.
Save pebble8888/2e294675d3498819bb1ba95efb17c7f2 to your computer and use it in GitHub Desktop.
audio unit error code
Frameworks/AudioToolbox/AUComponent.h
CF_ENUM(OSStatus) {
kAudioUnitErr_InvalidProperty = -10879,
kAudioUnitErr_InvalidParameter = -10878,
kAudioUnitErr_InvalidElement = -10877,
kAudioUnitErr_NoConnection = -10876,
kAudioUnitErr_FailedInitialization = -10875,
kAudioUnitErr_TooManyFramesToProcess = -10874,
kAudioUnitErr_InvalidFile = -10871,
kAudioUnitErr_UnknownFileType = -10870,
kAudioUnitErr_FileNotSpecified = -10869,
kAudioUnitErr_FormatNotSupported = -10868,
kAudioUnitErr_Uninitialized = -10867,
kAudioUnitErr_InvalidScope = -10866,
kAudioUnitErr_PropertyNotWritable = -10865,
kAudioUnitErr_CannotDoInCurrentContext = -10863,
kAudioUnitErr_InvalidPropertyValue = -10851,
kAudioUnitErr_PropertyNotInUse = -10850,
kAudioUnitErr_Initialized = -10849,
kAudioUnitErr_InvalidOfflineRender = -10848,
kAudioUnitErr_Unauthorized = -10847,
kAudioUnitErr_MIDIOutputBufferFull = -66753,
kAudioComponentErr_InstanceTimedOut = -66754,
kAudioComponentErr_InstanceInvalidated = -66749,
kAudioUnitErr_RenderTimeout = -66745,
kAudioUnitErr_ExtensionNotFound = -66744,
kAudioUnitErr_InvalidParameterValue = -66743,
kAudioUnitErr_InvalidFilePath = -66742,
kAudioUnitErr_MissingKey = -66741
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment