Documentation
¶
Overview ¶
Package audiotoolbox provides a fluent Go API over the macOS AudioToolbox framework.
Construction ¶
New… functions create objects; each With… method sets one property and returns its receiver, so configuration calls chain. A <Type>FromID constructor adopts an Objective-C object obtained elsewhere.
Lifecycle ¶
A wrapper releases its Objective-C object automatically once the garbage collector finds it unreachable. Call Release to relinquish the reference deterministically (for objects holding scarce resources); Release is idempotent, and afterwards the wrapper's methods are no-ops returning zero values.
Types ¶
Each base type below lists the concrete types you construct and pass where the base is accepted:
- AudioUnit: AudioUnitV2Bridge
- ParameterGroup: ParameterTree
- ParameterNode: Parameter, ParameterGroup
Index ¶
- Constants
- func AUEventListenerAddEventType(inListener unsafe.Pointer, inObject unsafe.Pointer, inEvent unsafe.Pointer) int
- func AUEventListenerCreate(inProc unsafe.Pointer, inUserData unsafe.Pointer, inRunLoop obj.Object, ...) error
- func AUEventListenerCreateWithDispatchQueue(outListener unsafe.Pointer, inNotificationInterval float32, ...) int
- func AUEventListenerNotify(inSendingListener unsafe.Pointer, inSendingObject unsafe.Pointer, ...) int
- func AUEventListenerRemoveEventType(inListener unsafe.Pointer, inObject unsafe.Pointer, inEvent unsafe.Pointer) int
- func AUGraphAddNode(inGraph AUGraph, inDescription *AudioComponentDescription) (result int, outNode int)
- func AUGraphAddRenderNotify(inGraph AUGraph, inCallback unsafe.Pointer, inRefCon unsafe.Pointer) error
- func AUGraphClearConnections(inGraph AUGraph) error
- func AUGraphClose(inGraph AUGraph) error
- func AUGraphConnectNodeInput(inGraph AUGraph, inSourceNode int, inSourceOutputNumber int, inDestNode int, ...) error
- func AUGraphCountNodeConnections(inGraph AUGraph, inNode int) (result int, outNumConnections int)
- func AUGraphCountNodeInteractions(inGraph AUGraph, inNode int) (result int, outNumInteractions int)
- func AUGraphDisconnectNodeInput(inGraph AUGraph, inDestNode int, inDestInputNumber int) error
- func AUGraphGetCPULoad(inGraph AUGraph) (result int, outAverageCPULoad float32)
- func AUGraphGetConnectionInfo(inGraph AUGraph, inConnectionIndex int) (result int, outSourceNode int, outSourceOutputNumber int, outDestNode int, ...)
- func AUGraphGetIndNode(inGraph AUGraph, inIndex int) (result int, outNode int)
- func AUGraphGetInteractionInfo(inGraph AUGraph, inInteractionIndex int, outInteraction unsafe.Pointer) int
- func AUGraphGetMaxCPULoad(inGraph AUGraph) (result int, outMaxLoad float32)
- func AUGraphGetNodeCount(inGraph AUGraph) (result int, outNumberOfNodes int)
- func AUGraphGetNodeInfo(inGraph AUGraph, inNode int, outDescription *carboncore.ComponentDescription, ...) (result int, outClassDataSize int)
- func AUGraphGetNodeInfoSubGraph(inGraph AUGraph, inNode int, outSubGraph unsafe.Pointer) error
- func AUGraphGetNodeInteractions(inGraph AUGraph, inNode int, outInteractions unsafe.Pointer) (result int, ioNumInteractions int)
- func AUGraphGetNumberOfConnections(inGraph AUGraph) (result int, outNumConnections int)
- func AUGraphGetNumberOfInteractions(inGraph AUGraph) (result int, outNumInteractions int)
- func AUGraphInitialize(inGraph AUGraph) error
- func AUGraphIsInitialized(inGraph AUGraph) (result int, outIsInitialized uint8)
- func AUGraphIsNodeSubGraph(inGraph AUGraph, inNode int) (result int, outFlag uint8)
- func AUGraphIsOpen(inGraph AUGraph) (result int, outIsOpen uint8)
- func AUGraphIsRunning(inGraph AUGraph) (result int, outIsRunning uint8)
- func AUGraphNewNode(inGraph AUGraph, inDescription *carboncore.ComponentDescription, ...) (result int, outNode int)
- func AUGraphNewNodeSubGraph(inGraph AUGraph) (result int, outNode int)
- func AUGraphOpen(inGraph AUGraph) error
- func AUGraphRemoveNode(inGraph AUGraph, inNode int) error
- func AUGraphRemoveRenderNotify(inGraph AUGraph, inCallback unsafe.Pointer, inRefCon unsafe.Pointer) error
- func AUGraphSetNodeInputCallback(inGraph AUGraph, inDestNode int, inDestInputNumber int, ...) int
- func AUGraphStart(inGraph AUGraph) error
- func AUGraphStop(inGraph AUGraph) error
- func AUGraphUninitialize(inGraph AUGraph) error
- func AUGraphUpdate(inGraph AUGraph) (result int, outIsUpdated uint8)
- func AUListenerAddParameter(inListener AUParameterListenerRef, inObject unsafe.Pointer, ...) int
- func AUListenerCreate(inProc unsafe.Pointer, inUserData unsafe.Pointer, inRunLoop obj.Object, ...) error
- func AUListenerCreateWithDispatchQueue(outListener unsafe.Pointer, inNotificationInterval float32, ...) int
- func AUListenerDispose(inListener AUParameterListenerRef) error
- func AUListenerRemoveParameter(inListener AUParameterListenerRef, inObject unsafe.Pointer, ...) int
- func AUParameterFormatValue(inParameterValue float64, inParameter unsafe.Pointer, inTextBuffer string, ...) string
- func AUParameterListenerNotify(inSendingListener AUParameterListenerRef, inSendingObject unsafe.Pointer, ...) int
- func AUParameterSet(inSendingListener AUParameterListenerRef, inSendingObject unsafe.Pointer, ...) int
- func AUParameterValueFromLinear(inLinearValue float32, inParameter unsafe.Pointer) float32
- func AUParameterValueToLinear(inParameterValue float32, inParameter unsafe.Pointer) float32
- func AudioCodecAppendInputBufferList(inCodec *carboncore.ComponentInstanceRecord, inBufferList unsafe.Pointer, ...) (result int, ioNumberPackets int, outBytesConsumed int)
- func AudioCodecAppendInputData(inCodec *carboncore.ComponentInstanceRecord, inInputData unsafe.Pointer, ...) (result int, ioInputDataByteSize int, ioNumberPackets int)
- func AudioCodecGetProperty(inCodec *carboncore.ComponentInstanceRecord, inPropertyID int, ...) (result int, ioPropertyDataSize int)
- func AudioCodecGetPropertyInfo(inCodec *carboncore.ComponentInstanceRecord, inPropertyID int) (result int, outSize int, outWritable uint8)
- func AudioCodecInitialize(inCodec *carboncore.ComponentInstanceRecord, ...) error
- func AudioCodecProduceOutputBufferList(inCodec *carboncore.ComponentInstanceRecord, ioBufferList unsafe.Pointer, ...) (result int, ioNumberPackets int, outStatus int)
- func AudioCodecProduceOutputPackets(inCodec *carboncore.ComponentInstanceRecord, outOutputData unsafe.Pointer, ...) (result int, ioOutputDataByteSize int, ioNumberPackets int, outStatus int)
- func AudioCodecReset(inCodec *carboncore.ComponentInstanceRecord) error
- func AudioCodecSetProperty(inCodec *carboncore.ComponentInstanceRecord, inPropertyID int, ...) error
- func AudioCodecUninitialize(inCodec *carboncore.ComponentInstanceRecord) error
- func AudioComponentCopyConfigurationInfo(inComponent AudioComponent) (obj.Object, error)
- func AudioComponentCopyIcon(comp AudioComponent) unsafe.Pointer
- func AudioComponentCopyName(inComponent AudioComponent) (obj.Object, error)
- func AudioComponentCount(inDesc *AudioComponentDescription) int
- func AudioComponentGetDescription(inComponent AudioComponent, outDesc *AudioComponentDescription) error
- func AudioComponentGetIcon(comp AudioComponent) obj.Object
- func AudioComponentGetVersion(inComponent AudioComponent) (result int, outVersion int)
- func AudioComponentInstanceCanDo(inInstance *carboncore.ComponentInstanceRecord, inSelectorID int16) uint8
- func AudioComponentInstanceDispose(inInstance *carboncore.ComponentInstanceRecord) error
- func AudioComponentInstanceNew(inComponent AudioComponent, outInstance unsafe.Pointer) int
- func AudioComponentInstantiate(inComponent AudioComponent, inOptions AudioComponentInstantiationOptions, ...)
- func AudioComponentValidateWithResults(inComponent AudioComponent, inValidationParameters obj.Object, ...) error
- func AudioConverterConvertBuffer(inAudioConverter AudioConverterRef, inInputDataSize int, ...) (result int, ioOutputDataSize int)
- func AudioConverterConvertComplexBuffer(inAudioConverter AudioConverterRef, inNumberPCMFrames int, ...) int
- func AudioConverterDispose(inAudioConverter AudioConverterRef) error
- func AudioConverterFillBuffer(inAudioConverter AudioConverterRef, inInputDataProc unsafe.Pointer, ...) (result int, ioOutputDataSize int)
- func AudioConverterFillComplexBuffer(inAudioConverter AudioConverterRef, inInputDataProc unsafe.Pointer, ...) (result int, ioOutputDataPacketSize int)
- func AudioConverterFillComplexBufferRealtimeSafe(inAudioConverter AudioConverterRef, inInputDataProc unsafe.Pointer, ...) (result int, ioOutputDataPacketSize int)
- func AudioConverterFillComplexBufferWithPacketDependencies(inAudioConverter AudioConverterRef, inInputDataProc unsafe.Pointer, ...) (result int, ioOutputDataPacketSize int)
- func AudioConverterGetProperty(inAudioConverter AudioConverterRef, inPropertyID int, ...) (result int, ioPropertyDataSize int)
- func AudioConverterGetPropertyInfo(inAudioConverter AudioConverterRef, inPropertyID int) (result int, outSize int, outWritable uint8)
- func AudioConverterNew(inSourceFormat *coreaudiotypes.AudioStreamBasicDescription, ...) error
- func AudioConverterNewSpecific(inSourceFormat *coreaudiotypes.AudioStreamBasicDescription, ...) error
- func AudioConverterNewWithOptions(inSourceFormat *coreaudiotypes.AudioStreamBasicDescription, ...) error
- func AudioConverterPrepare(inFlags int, ioReserved unsafe.Pointer, inCompletionBlock func(int))
- func AudioConverterReset(inAudioConverter AudioConverterRef) error
- func AudioConverterSetProperty(inAudioConverter AudioConverterRef, inPropertyID int, inPropertyDataSize int, ...) error
- func AudioFileClose(inAudioFile unsafe.Pointer) error
- func AudioFileComponentCloseFile(inComponent *carboncore.ComponentInstanceRecord) error
- func AudioFileComponentCountUserData(inComponent *carboncore.ComponentInstanceRecord, inUserDataID int) (result int, outNumberItems int)
- func AudioFileComponentCreate(inComponent *carboncore.ComponentInstanceRecord, inParentRef *carboncore.FSRef, ...) error
- func AudioFileComponentCreateURL(inComponent *carboncore.ComponentInstanceRecord, inFileRef obj.Object, ...) error
- func AudioFileComponentDataIsThisFormat(inComponent *carboncore.ComponentInstanceRecord, inClientData unsafe.Pointer, ...) (result int, outResult int)
- func AudioFileComponentExtensionIsThisFormat(inComponent *carboncore.ComponentInstanceRecord, ...) (result int, outResult int)
- func AudioFileComponentFileDataIsThisFormat(inComponent *carboncore.ComponentInstanceRecord, inDataByteSize int, ...) (result int, outResult int)
- func AudioFileComponentFileIsThisFormat(inComponent *carboncore.ComponentInstanceRecord, inFileRefNum int16) (result int, outResult int)
- func AudioFileComponentGetGlobalInfo(inComponent *carboncore.ComponentInstanceRecord, inPropertyID int, ...) (result int, ioPropertyDataSize int)
- func AudioFileComponentGetGlobalInfoSize(inComponent *carboncore.ComponentInstanceRecord, inPropertyID int, ...) (result int, outPropertySize int)
- func AudioFileComponentGetProperty(inComponent *carboncore.ComponentInstanceRecord, inPropertyID int, ...) (result int, ioPropertyDataSize int)
- func AudioFileComponentGetPropertyInfo(inComponent *carboncore.ComponentInstanceRecord, inPropertyID int) (result int, outPropertySize int, outWritable int)
- func AudioFileComponentGetUserData(inComponent *carboncore.ComponentInstanceRecord, inUserDataID int, inIndex int, ...) (result int, ioUserDataSize int)
- func AudioFileComponentGetUserDataAtOffset(inComponent *carboncore.ComponentInstanceRecord, inUserDataID int, inIndex int, ...) (result int, ioUserDataSize int)
- func AudioFileComponentGetUserDataSize(inComponent *carboncore.ComponentInstanceRecord, inUserDataID int, inIndex int) (result int, outUserDataSize int)
- func AudioFileComponentGetUserDataSize64(inComponent *carboncore.ComponentInstanceRecord, inUserDataID int, inIndex int) (result int, outUserDataSize uint64)
- func AudioFileComponentInitialize(inComponent *carboncore.ComponentInstanceRecord, inFileRef *carboncore.FSRef, ...) error
- func AudioFileComponentInitializeWithCallbacks(inComponent *carboncore.ComponentInstanceRecord, inClientData unsafe.Pointer, ...) error
- func AudioFileComponentOpenFile(inComponent *carboncore.ComponentInstanceRecord, inFileRef *carboncore.FSRef, ...) error
- func AudioFileComponentOpenURL(inComponent *carboncore.ComponentInstanceRecord, inFileRef obj.Object, ...) error
- func AudioFileComponentOpenWithCallbacks(inComponent *carboncore.ComponentInstanceRecord, inClientData unsafe.Pointer, ...) error
- func AudioFileComponentOptimize(inComponent *carboncore.ComponentInstanceRecord) error
- func AudioFileComponentReadBytes(inComponent *carboncore.ComponentInstanceRecord, inUseCache uint8, ...) (result int, ioNumBytes int)
- func AudioFileComponentReadPacketData(inComponent *carboncore.ComponentInstanceRecord, inUseCache uint8, ...) (result int, ioNumBytes int, ioNumPackets int)
- func AudioFileComponentReadPackets(inComponent *carboncore.ComponentInstanceRecord, inUseCache uint8, ...) (result int, outNumBytes int, ioNumPackets int)
- func AudioFileComponentRemoveUserData(inComponent *carboncore.ComponentInstanceRecord, inUserDataID int, inIndex int) error
- func AudioFileComponentSetProperty(inComponent *carboncore.ComponentInstanceRecord, inPropertyID int, ...) error
- func AudioFileComponentSetUserData(inComponent *carboncore.ComponentInstanceRecord, inUserDataID int, inIndex int, ...) error
- func AudioFileComponentWriteBytes(inComponent *carboncore.ComponentInstanceRecord, inUseCache uint8, ...) (result int, ioNumBytes int)
- func AudioFileComponentWritePackets(inComponent *carboncore.ComponentInstanceRecord, inUseCache uint8, ...) (result int, ioNumPackets int)
- func AudioFileCountUserData(inAudioFile unsafe.Pointer, inUserDataID int) (result int, outNumberItems int)
- func AudioFileCreate(inParentRef *carboncore.FSRef, inFileName obj.Object, inFileType int, ...) error
- func AudioFileCreateWithURL(inFileRef obj.Object, inFileType int, ...) error
- func AudioFileGetGlobalInfo(inPropertyID int, inSpecifierSize int, inSpecifier unsafe.Pointer, ...) (result int, ioDataSize int)
- func AudioFileGetGlobalInfoSize(inPropertyID int, inSpecifierSize int, inSpecifier unsafe.Pointer) (result int, outDataSize int)
- func AudioFileGetProperty(inAudioFile unsafe.Pointer, inPropertyID int, outPropertyData unsafe.Pointer) (result int, ioDataSize int)
- func AudioFileGetPropertyInfo(inAudioFile unsafe.Pointer, inPropertyID int) (result int, outDataSize int, isWritable int)
- func AudioFileGetUserData(inAudioFile unsafe.Pointer, inUserDataID int, inIndex int, ...) (result int, ioUserDataSize int)
- func AudioFileGetUserDataAtOffset(inAudioFile unsafe.Pointer, inUserDataID int, inIndex int, inOffset int64, ...) (result int, ioUserDataSize int)
- func AudioFileGetUserDataSize(inAudioFile unsafe.Pointer, inUserDataID int, inIndex int) (result int, outUserDataSize int)
- func AudioFileGetUserDataSize64(inAudioFile unsafe.Pointer, inUserDataID int, inIndex int) (result int, outUserDataSize uint64)
- func AudioFileInitialize(inFileRef *carboncore.FSRef, inFileType int, ...) error
- func AudioFileInitializeWithCallbacks(inClientData unsafe.Pointer, inReadFunc unsafe.Pointer, ...) error
- func AudioFileOpen(inFileRef *carboncore.FSRef, inPermissions AudioFilePermissions, ...) error
- func AudioFileOpenURL(inFileRef obj.Object, inPermissions AudioFilePermissions, inFileTypeHint int, ...) error
- func AudioFileOpenWithCallbacks(inClientData unsafe.Pointer, inReadFunc unsafe.Pointer, ...) error
- func AudioFileOptimize(inAudioFile unsafe.Pointer) error
- func AudioFileReadBytes(inAudioFile unsafe.Pointer, inUseCache uint8, inStartingByte int64, ...) (result int, ioNumBytes int)
- func AudioFileReadPacketData(inAudioFile unsafe.Pointer, inUseCache uint8, ...) (result int, ioNumBytes int, ioNumPackets int)
- func AudioFileReadPackets(inAudioFile unsafe.Pointer, inUseCache uint8, ...) (result int, outNumBytes int, ioNumPackets int)
- func AudioFileRemoveUserData(inAudioFile unsafe.Pointer, inUserDataID int, inIndex int) error
- func AudioFileSetProperty(inAudioFile unsafe.Pointer, inPropertyID int, inDataSize int, ...) error
- func AudioFileSetUserData(inAudioFile unsafe.Pointer, inUserDataID int, inIndex int, inUserDataSize int, ...) error
- func AudioFileStreamClose(inAudioFileStream AudioFileStreamID) error
- func AudioFileStreamGetProperty(inAudioFileStream AudioFileStreamID, inPropertyID int, ...) (result int, ioPropertyDataSize int)
- func AudioFileStreamGetPropertyInfo(inAudioFileStream AudioFileStreamID, inPropertyID int) (result int, outPropertyDataSize int, outWritable uint8)
- func AudioFileStreamOpen(inClientData unsafe.Pointer, inPropertyListenerProc unsafe.Pointer, ...) error
- func AudioFileStreamParseBytes(inAudioFileStream AudioFileStreamID, inDataByteSize int, inData unsafe.Pointer, ...) error
- func AudioFileStreamSetProperty(inAudioFileStream AudioFileStreamID, inPropertyID int, inPropertyDataSize int, ...) error
- func AudioFileWriteBytes(inAudioFile unsafe.Pointer, inUseCache uint8, inStartingByte int64, ...) (result int, ioNumBytes int)
- func AudioFileWritePackets(inAudioFile unsafe.Pointer, inUseCache uint8, inNumBytes int, ...) (result int, ioNumPackets int)
- func AudioFileWritePacketsWithDependencies(inAudioFile unsafe.Pointer, inUseCache uint8, inNumBytes int, ...) (result int, ioNumPackets int)
- func AudioFormatGetProperty(inPropertyID int, inSpecifierSize int, inSpecifier unsafe.Pointer, ...) (result int, ioPropertyDataSize int)
- func AudioFormatGetPropertyInfo(inPropertyID int, inSpecifierSize int, inSpecifier unsafe.Pointer) (result int, outPropertyDataSize int)
- func AudioHardwareServiceAddPropertyListener(inObjectID int, inAddress *coreaudio.AudioObjectPropertyAddress, ...) error
- func AudioHardwareServiceGetPropertyData(inObjectID int, inAddress *coreaudio.AudioObjectPropertyAddress, ...) (result int, ioDataSize int)
- func AudioHardwareServiceGetPropertyDataSize(inObjectID int, inAddress *coreaudio.AudioObjectPropertyAddress, ...) (result int, outDataSize int)
- func AudioHardwareServiceHasProperty(inObjectID int, inAddress *coreaudio.AudioObjectPropertyAddress) uint8
- func AudioHardwareServiceIsPropertySettable(inObjectID int, inAddress *coreaudio.AudioObjectPropertyAddress) (result int, outIsSettable uint8)
- func AudioHardwareServiceRemovePropertyListener(inObjectID int, inAddress *coreaudio.AudioObjectPropertyAddress, ...) error
- func AudioHardwareServiceSetPropertyData(inObjectID int, inAddress *coreaudio.AudioObjectPropertyAddress, ...) error
- func AudioOutputUnitStart(ci *carboncore.ComponentInstanceRecord) error
- func AudioOutputUnitStop(ci *carboncore.ComponentInstanceRecord) error
- func AudioQueueAddPropertyListener(inAQ AudioQueueRef, inID int, inProc unsafe.Pointer, inUserData unsafe.Pointer) error
- func AudioQueueAllocateBuffer(inAQ AudioQueueRef, inBufferByteSize int, outBuffer unsafe.Pointer) int
- func AudioQueueAllocateBufferWithPacketDescriptions(inAQ AudioQueueRef, inBufferByteSize int, inNumberPacketDescriptions int, ...) int
- func AudioQueueCreateTimeline(inAQ AudioQueueRef, outTimeline unsafe.Pointer) error
- func AudioQueueDeviceGetCurrentTime(inAQ AudioQueueRef, outTimeStamp *coreaudiotypes.AudioTimeStamp) error
- func AudioQueueDeviceGetNearestStartTime(inAQ AudioQueueRef, ioRequestedStartTime *coreaudiotypes.AudioTimeStamp, ...) error
- func AudioQueueDeviceTranslateTime(inAQ AudioQueueRef, inTime *coreaudiotypes.AudioTimeStamp, ...) error
- func AudioQueueDispose(inAQ AudioQueueRef, inImmediate uint8) error
- func AudioQueueDisposeTimeline(inAQ AudioQueueRef, inTimeline AudioQueueTimelineRef) error
- func AudioQueueEnqueueBuffer(inAQ AudioQueueRef, inBuffer unsafe.Pointer, inNumPacketDescs int, ...) int
- func AudioQueueEnqueueBufferWithParameters(inAQ AudioQueueRef, inBuffer unsafe.Pointer, inNumPacketDescs int, ...) int
- func AudioQueueFlush(inAQ AudioQueueRef) error
- func AudioQueueFreeBuffer(inAQ AudioQueueRef, inBuffer unsafe.Pointer) int
- func AudioQueueGetCurrentTime(inAQ AudioQueueRef, inTimeline AudioQueueTimelineRef, ...) (result int, outTimelineDiscontinuity uint8)
- func AudioQueueGetParameter(inAQ AudioQueueRef, inParamID int) (result int, outValue float32)
- func AudioQueueGetProperty(inAQ AudioQueueRef, inID int, outData unsafe.Pointer) (result int, ioDataSize int)
- func AudioQueueGetPropertySize(inAQ AudioQueueRef, inID int) (result int, outDataSize int)
- func AudioQueueNewInput(inFormat *coreaudiotypes.AudioStreamBasicDescription, ...) error
- func AudioQueueNewInputWithDispatchQueue(outAQ unsafe.Pointer, inFormat *coreaudiotypes.AudioStreamBasicDescription, ...) int
- func AudioQueueNewOutput(inFormat *coreaudiotypes.AudioStreamBasicDescription, ...) error
- func AudioQueueNewOutputWithDispatchQueue(outAQ unsafe.Pointer, inFormat *coreaudiotypes.AudioStreamBasicDescription, ...) int
- func AudioQueueOfflineRender(inAQ AudioQueueRef, inTimestamp *coreaudiotypes.AudioTimeStamp, ...) int
- func AudioQueuePause(inAQ AudioQueueRef) error
- func AudioQueuePrime(inAQ AudioQueueRef, inNumberOfFramesToPrepare int) (result int, outNumberOfFramesPrepared int)
- func AudioQueueProcessingTapDispose(inAQTap AudioQueueProcessingTapRef) error
- func AudioQueueProcessingTapGetQueueTime(inAQTap AudioQueueProcessingTapRef, outQueueSampleTime unsafe.Pointer) (result int, outQueueFrameCount int)
- func AudioQueueProcessingTapNew(inAQ AudioQueueRef, inCallback unsafe.Pointer, inClientData unsafe.Pointer, ...) (result int, outMaxFrames int)
- func AudioQueueRemovePropertyListener(inAQ AudioQueueRef, inID int, inProc unsafe.Pointer, inUserData unsafe.Pointer) error
- func AudioQueueReset(inAQ AudioQueueRef) error
- func AudioQueueSetOfflineRenderFormat(inAQ AudioQueueRef, inFormat *coreaudiotypes.AudioStreamBasicDescription, ...) error
- func AudioQueueSetParameter(inAQ AudioQueueRef, inParamID int, inValue float32) error
- func AudioQueueSetProperty(inAQ AudioQueueRef, inID int, inData unsafe.Pointer, inDataSize int) error
- func AudioQueueStart(inAQ AudioQueueRef, inStartTime *coreaudiotypes.AudioTimeStamp) error
- func AudioQueueStop(inAQ AudioQueueRef, inImmediate uint8) error
- func AudioServicesAddSystemSoundCompletion(inSystemSoundID int, inRunLoop obj.Object, inRunLoopMode obj.Object, ...) error
- func AudioServicesCreateSystemSoundID(inFileURL corefoundation.CFURLRef) (result int, outSystemSoundID int)
- func AudioServicesDisposeSystemSoundID(inSystemSoundID int) error
- func AudioServicesGetProperty(inPropertyID int, inSpecifierSize int, inSpecifier unsafe.Pointer, ...) (result int, ioPropertyDataSize int)
- func AudioServicesGetPropertyInfo(inPropertyID int, inSpecifierSize int, inSpecifier unsafe.Pointer) (result int, outPropertyDataSize int, outWritable uint8)
- func AudioServicesPlayAlertSound(inSystemSoundID int)
- func AudioServicesPlayAlertSoundWithCompletion(inSystemSoundID int, inCompletionBlock func())
- func AudioServicesPlaySystemSound(inSystemSoundID int)
- func AudioServicesPlaySystemSoundWithCompletion(inSystemSoundID int, inCompletionBlock func())
- func AudioServicesRemoveSystemSoundCompletion(inSystemSoundID int)
- func AudioServicesSetProperty(inPropertyID int, inSpecifierSize int, inSpecifier unsafe.Pointer, ...) error
- func AudioUnitAddPropertyListener(inUnit *carboncore.ComponentInstanceRecord, inID int, inProc unsafe.Pointer, ...) error
- func AudioUnitAddRenderNotify(inUnit *carboncore.ComponentInstanceRecord, inProc unsafe.Pointer, ...) error
- func AudioUnitExtensionCopyComponentList(extensionIdentifier corefoundation.CFStringRef) corefoundation.CFArrayRef
- func AudioUnitExtensionSetComponentList(extensionIdentifier obj.Object, audioComponentInfo obj.Object) error
- func AudioUnitGetParameter(inUnit *carboncore.ComponentInstanceRecord, inID int, inScope int, ...) (result int, outValue float32)
- func AudioUnitGetProperty(inUnit *carboncore.ComponentInstanceRecord, inID int, inScope int, ...) (result int, ioDataSize int)
- func AudioUnitGetPropertyInfo(inUnit *carboncore.ComponentInstanceRecord, inID int, inScope int, ...) (result int, outDataSize int, outWritable uint8)
- func AudioUnitInitialize(inUnit *carboncore.ComponentInstanceRecord) error
- func AudioUnitRemovePropertyListenerWithUserData(inUnit *carboncore.ComponentInstanceRecord, inID int, inProc unsafe.Pointer, ...) error
- func AudioUnitRemoveRenderNotify(inUnit *carboncore.ComponentInstanceRecord, inProc unsafe.Pointer, ...) error
- func AudioUnitReset(inUnit *carboncore.ComponentInstanceRecord, inScope int, inElement int) error
- func AudioUnitScheduleParameters(inUnit *carboncore.ComponentInstanceRecord, inParameterEvent unsafe.Pointer, ...) int
- func AudioUnitSetParameter(inUnit *carboncore.ComponentInstanceRecord, inID int, inScope int, ...) error
- func AudioUnitSetProperty(inUnit *carboncore.ComponentInstanceRecord, inID int, inScope int, ...) error
- func AudioUnitUninitialize(inUnit *carboncore.ComponentInstanceRecord) error
- func AudioWorkIntervalCreate(name string, clock unsafe.Pointer, attr unsafe.Pointer) unsafe.Pointer
- func CAClockAddListener(inCAClock CAClockRef, inListenerProc unsafe.Pointer, inUserData unsafe.Pointer) error
- func CAClockArm(inCAClock CAClockRef) error
- func CAClockBarBeatTimeToBeats(inCAClock CAClockRef, inBarBeatTime *CABarBeatTime) (result int, outBeats float64)
- func CAClockBeatsToBarBeatTime(inCAClock CAClockRef, inBeats float64, inSubbeatDivisor uint16, ...) error
- func CAClockDisarm(inCAClock CAClockRef) error
- func CAClockDispose(inCAClock CAClockRef) error
- func CAClockGetCurrentTempo(inCAClock CAClockRef, outTimestamp unsafe.Pointer) (result int, outTempo float64)
- func CAClockGetCurrentTime(inCAClock CAClockRef, inTimeFormat CAClockTimeFormat, outTime unsafe.Pointer) int
- func CAClockGetPlayRate(inCAClock CAClockRef) (result int, outPlayRate float64)
- func CAClockGetProperty(inCAClock CAClockRef, inPropertyID CAClockPropertyID, ...) (result int, ioPropertyDataSize int)
- func CAClockGetPropertyInfo(inCAClock CAClockRef, inPropertyID CAClockPropertyID) (result int, outSize int, outWritable uint8)
- func CAClockGetStartTime(inCAClock CAClockRef, inTimeFormat CAClockTimeFormat, outTime unsafe.Pointer) int
- func CAClockNew(inReservedFlags int, outCAClock unsafe.Pointer) error
- func CAClockParseMIDI(inCAClock CAClockRef, inMIDIPacketList obj.Object) error
- func CAClockRemoveListener(inCAClock CAClockRef, inListenerProc unsafe.Pointer, inUserData unsafe.Pointer) error
- func CAClockSMPTETimeToSeconds(inCAClock CAClockRef, inSMPTETime *coreaudiotypes.SMPTETime) (result int, outSeconds float64)
- func CAClockSecondsToSMPTETime(inCAClock CAClockRef, inSeconds float64, inSubframeDivisor uint16, ...) error
- func CAClockSetCurrentTempo(inCAClock CAClockRef, inTempo float64, inTimestamp unsafe.Pointer) int
- func CAClockSetCurrentTime(inCAClock CAClockRef, inTime unsafe.Pointer) int
- func CAClockSetPlayRate(inCAClock CAClockRef, inPlayRate float64) error
- func CAClockSetProperty(inCAClock CAClockRef, inPropertyID CAClockPropertyID, inPropertyDataSize int, ...) error
- func CAClockStart(inCAClock CAClockRef) error
- func CAClockStop(inCAClock CAClockRef) error
- func CAClockTranslateTime(inCAClock CAClockRef, inTime unsafe.Pointer, ...) int
- func CAShow(inObject unsafe.Pointer)
- func CAShowFile(inObject unsafe.Pointer, inFile unsafe.Pointer)
- func CopyInstrumentInfoFromSoundBank(inURL obj.Object) (obj.Object, error)
- func CopyNameFromSoundBank(inURL obj.Object) (obj.Object, error)
- func DisposeAUGraph(inGraph AUGraph) error
- func DisposeMusicEventIterator(inIterator MusicEventIterator) error
- func DisposeMusicPlayer(inPlayer MusicPlayer) error
- func DisposeMusicSequence(inSequence MusicSequence) error
- func ExtAudioFileCreateNew(inParentDir *carboncore.FSRef, inFileName obj.Object, inFileType int, ...) error
- func ExtAudioFileCreateWithURL(inURL obj.Object, inFileType int, ...) error
- func ExtAudioFileDispose(inExtAudioFile ExtAudioFileRef) error
- func ExtAudioFileGetProperty(inExtAudioFile ExtAudioFileRef, inPropertyID int, ...) (result int, ioPropertyDataSize int)
- func ExtAudioFileGetPropertyInfo(inExtAudioFile ExtAudioFileRef, inPropertyID int) (result int, outSize int, outWritable uint8)
- func ExtAudioFileOpen(inFSRef *carboncore.FSRef, outExtAudioFile unsafe.Pointer) error
- func ExtAudioFileOpenURL(inURL obj.Object, outExtAudioFile unsafe.Pointer) error
- func ExtAudioFileRead(inExtAudioFile ExtAudioFileRef, ioData unsafe.Pointer) (result int, ioNumberFrames int)
- func ExtAudioFileSeek(inExtAudioFile ExtAudioFileRef, inFrameOffset int64) error
- func ExtAudioFileSetProperty(inExtAudioFile ExtAudioFileRef, inPropertyID int, inPropertyDataSize int, ...) error
- func ExtAudioFileTell(inExtAudioFile ExtAudioFileRef) (result int, outFrameOffset int64)
- func ExtAudioFileWrapAudioFileID(inFileID unsafe.Pointer, inForWriting uint8, outExtAudioFile unsafe.Pointer) error
- func ExtAudioFileWrite(inExtAudioFile ExtAudioFileRef, inNumberFrames int, ioData unsafe.Pointer) int
- func ExtAudioFileWriteAsync(inExtAudioFile ExtAudioFileRef, inNumberFrames int, ioData unsafe.Pointer) int
- func GetNameFromSoundBank(inSoundBankRef *carboncore.FSRef) (obj.Object, error)
- func KAudioComponentInstanceInvalidationNotification() obj.Object
- func KAudioComponentRegistrationsChangedNotification() obj.Object
- func MusicDeviceMIDIEvent(inUnit *carboncore.ComponentInstanceRecord, inStatus int, inData1 int, ...) error
- func MusicDeviceMIDIEventList(inUnit *carboncore.ComponentInstanceRecord, inOffsetSampleFrame int, ...) error
- func MusicDevicePrepareInstrument(inUnit *carboncore.ComponentInstanceRecord, inInstrument int) error
- func MusicDeviceReleaseInstrument(inUnit *carboncore.ComponentInstanceRecord, inInstrument int) error
- func MusicDeviceStartNote(inUnit *carboncore.ComponentInstanceRecord, inInstrument int, inGroupID int, ...) (result int, outNoteInstanceID int)
- func MusicDeviceStopNote(inUnit *carboncore.ComponentInstanceRecord, inGroupID int, ...) error
- func MusicDeviceSysEx(inUnit *carboncore.ComponentInstanceRecord, inData unsafe.Pointer, ...) int
- func MusicEventIteratorDeleteEvent(inIterator MusicEventIterator) error
- func MusicEventIteratorGetEventInfo(inIterator MusicEventIterator, outEventData unsafe.Pointer) (result int, outTimeStamp float64, outEventType int, outEventDataSize int)
- func MusicEventIteratorHasCurrentEvent(inIterator MusicEventIterator) (result int, outHasCurEvent uint8)
- func MusicEventIteratorHasNextEvent(inIterator MusicEventIterator) (result int, outHasNextEvent uint8)
- func MusicEventIteratorHasPreviousEvent(inIterator MusicEventIterator) (result int, outHasPrevEvent uint8)
- func MusicEventIteratorNextEvent(inIterator MusicEventIterator) error
- func MusicEventIteratorPreviousEvent(inIterator MusicEventIterator) error
- func MusicEventIteratorSeek(inIterator MusicEventIterator, inTimeStamp float64) error
- func MusicEventIteratorSetEventInfo(inIterator MusicEventIterator, inEventType int, inEventData unsafe.Pointer) error
- func MusicEventIteratorSetEventTime(inIterator MusicEventIterator, inTimeStamp float64) error
- func MusicPlayerGetBeatsForHostTime(inPlayer MusicPlayer, inHostTime uint64) (result int, outBeats float64)
- func MusicPlayerGetHostTimeForBeats(inPlayer MusicPlayer, inBeats float64) (result int, outHostTime uint64)
- func MusicPlayerGetPlayRateScalar(inPlayer MusicPlayer) (result int, outScaleRate float64)
- func MusicPlayerGetSequence(inPlayer MusicPlayer, outSequence unsafe.Pointer) error
- func MusicPlayerGetTime(inPlayer MusicPlayer) (result int, outTime float64)
- func MusicPlayerIsPlaying(inPlayer MusicPlayer) (result int, outIsPlaying uint8)
- func MusicPlayerPreroll(inPlayer MusicPlayer) error
- func MusicPlayerSetPlayRateScalar(inPlayer MusicPlayer, inScaleRate float64) error
- func MusicPlayerSetSequence(inPlayer MusicPlayer, inSequence MusicSequence) error
- func MusicPlayerSetTime(inPlayer MusicPlayer, inTime float64) error
- func MusicPlayerStart(inPlayer MusicPlayer) error
- func MusicPlayerStop(inPlayer MusicPlayer) error
- func MusicSequenceBarBeatTimeToBeats(inSequence MusicSequence, inBarBeatTime *CABarBeatTime) (result int, outBeats float64)
- func MusicSequenceBeatsToBarBeatTime(inSequence MusicSequence, inBeats float64, inSubbeatDivisor int, ...) error
- func MusicSequenceDisposeTrack(inSequence MusicSequence, inTrack MusicTrack) error
- func MusicSequenceFileCreate(inSequence MusicSequence, inFileRef obj.Object, ...) error
- func MusicSequenceFileCreateData(inSequence MusicSequence, inFileType MusicSequenceFileTypeID, ...) (obj.Object, error)
- func MusicSequenceFileLoad(inSequence MusicSequence, inFileRef obj.Object, ...) error
- func MusicSequenceFileLoadData(inSequence MusicSequence, inData obj.Object, ...) error
- func MusicSequenceGetAUGraph(inSequence MusicSequence, outGraph unsafe.Pointer) error
- func MusicSequenceGetBeatsForSeconds(inSequence MusicSequence, inSeconds float64) (result int, outBeats float64)
- func MusicSequenceGetIndTrack(inSequence MusicSequence, inTrackIndex int, outTrack unsafe.Pointer) error
- func MusicSequenceGetInfoDictionary(inSequence MusicSequence) corefoundation.CFDictionaryRef
- func MusicSequenceGetSMPTEResolution(inRes int16) (fps int8, ticks uint8)
- func MusicSequenceGetSecondsForBeats(inSequence MusicSequence, inBeats float64) (result int, outSeconds float64)
- func MusicSequenceGetTempoTrack(inSequence MusicSequence, outTrack unsafe.Pointer) error
- func MusicSequenceGetTrackCount(inSequence MusicSequence) (result int, outNumberOfTracks int)
- func MusicSequenceGetTrackIndex(inSequence MusicSequence, inTrack MusicTrack) (result int, outTrackIndex int)
- func MusicSequenceLoadSMFDataWithFlags(inSequence MusicSequence, inData obj.Object, inFlags MusicSequenceLoadFlags) error
- func MusicSequenceLoadSMFWithFlags(inSequence MusicSequence, inFileRef *carboncore.FSRef, ...) error
- func MusicSequenceNewTrack(inSequence MusicSequence, outTrack unsafe.Pointer) error
- func MusicSequenceReverse(inSequence MusicSequence) error
- func MusicSequenceSaveMIDIFile(inSequence MusicSequence, inParentDirectory *carboncore.FSRef, ...) error
- func MusicSequenceSaveSMFData(inSequence MusicSequence, inResolution uint16) (obj.Object, error)
- func MusicSequenceSetAUGraph(inSequence MusicSequence, inGraph AUGraph) error
- func MusicSequenceSetMIDIEndpoint(inSequence MusicSequence, inEndpoint int) error
- func MusicSequenceSetSMPTEResolution(fps int8, ticks uint8) int16
- func MusicSequenceSetSequenceType(inSequence MusicSequence, inType MusicSequenceType) error
- func MusicSequenceSetUserCallback(inSequence MusicSequence, inCallback unsafe.Pointer, ...) error
- func MusicTrackClear(inTrack MusicTrack, inStartTime float64, inEndTime float64) error
- func MusicTrackCopyInsert(inSourceTrack MusicTrack, inSourceStartTime float64, inSourceEndTime float64, ...) error
- func MusicTrackCut(inTrack MusicTrack, inStartTime float64, inEndTime float64) error
- func MusicTrackGetDestMIDIEndpoint(inTrack MusicTrack) (result int, outEndpoint int)
- func MusicTrackGetDestNode(inTrack MusicTrack) (result int, outNode int)
- func MusicTrackGetProperty(inTrack MusicTrack, inPropertyID int, outData unsafe.Pointer) (result int, ioLength int)
- func MusicTrackGetSequence(inTrack MusicTrack, outSequence unsafe.Pointer) error
- func MusicTrackMerge(inSourceTrack MusicTrack, inSourceStartTime float64, inSourceEndTime float64, ...) error
- func MusicTrackMoveEvents(inTrack MusicTrack, inStartTime float64, inEndTime float64, inMoveTime float64) error
- func MusicTrackNewAUPresetEvent(inTrack MusicTrack, inTimeStamp float64, inPresetEvent unsafe.Pointer) int
- func MusicTrackNewExtendedControlEvent(inTrack MusicTrack, inTimeStamp float64, inInfo *ExtendedControlEvent) error
- func MusicTrackNewExtendedNoteEvent(inTrack MusicTrack, inTimeStamp float64, inInfo *ExtendedNoteOnEvent) error
- func MusicTrackNewExtendedTempoEvent(inTrack MusicTrack, inTimeStamp float64, inBPM float64) error
- func MusicTrackNewMIDIChannelEvent(inTrack MusicTrack, inTimeStamp float64, inMessage *MIDIChannelMessage) error
- func MusicTrackNewMIDINoteEvent(inTrack MusicTrack, inTimeStamp float64, inMessage *MIDINoteMessage) error
- func MusicTrackNewMIDIRawDataEvent(inTrack MusicTrack, inTimeStamp float64, inRawData *MIDIRawData) error
- func MusicTrackNewMetaEvent(inTrack MusicTrack, inTimeStamp float64, inMetaEvent *MIDIMetaEvent) error
- func MusicTrackNewParameterEvent(inTrack MusicTrack, inTimeStamp float64, inInfo *ParameterEvent) error
- func MusicTrackNewUserEvent(inTrack MusicTrack, inTimeStamp float64, inUserData *MusicEventUserData) error
- func MusicTrackSetDestMIDIEndpoint(inTrack MusicTrack, inEndpoint int) error
- func MusicTrackSetDestNode(inTrack MusicTrack, inNode int) error
- func MusicTrackSetProperty(inTrack MusicTrack, inPropertyID int, inData unsafe.Pointer, inLength int) error
- func NewAUGraph(outGraph unsafe.Pointer) error
- func NewMusicEventIterator(inTrack MusicTrack, outIterator unsafe.Pointer) error
- func NewMusicPlayer(outPlayer unsafe.Pointer) error
- func NewMusicSequence(outSequence unsafe.Pointer) error
- func NewMusicTrackFrom(inSourceTrack MusicTrack, inSourceStartTime float64, inSourceEndTime float64, ...) error
- func NextAudioFileRegion(inAFRegionPtr unsafe.Pointer) unsafe.Pointer
- func NumAudioFileMarkersToNumBytes(inNumMarkers int) int
- func NumBytesToNumAudioFileMarkers(inNumBytes int) int
- type AU3DMixerAttenuationCurve
- type AU3DMixerRenderingFlags
- type AUChannelInfo
- type AUDependentParameter
- type AUDistanceAttenuationData
- type AUGraph
- type AUHostIdentifier
- type AUHostVersionIdentifier
- type AUInputSamplesInOutputCallbackStruct
- type AUListenerBase
- type AUMIDIEvent
- type AUMIDIEventList
- type AUMIDIOutputCallbackStruct
- type AUNodeConnection
- type AUNodeInteraction
- type AUNodeRenderCallback
- type AUNumVersion
- type AUParameterAutomationEvent
- type AUParameterEvent
- type AUParameterListenerRef
- type AUParameterMIDIMapping
- type AUPreset
- type AUPresetEvent
- type AURecordedParameterEvent
- type AURenderCallbackStruct
- type AURenderEvent
- type AURenderEventHeader
- type AUSamplerBankPresetData
- type AUSamplerInstrumentData
- type AUVoiceIOOtherAudioDuckingConfiguration
- type AudioBalanceFade
- type AudioBalanceFadeType
- type AudioBytePacketTranslation
- type AudioBytePacketTranslationFlags
- type AudioCodecMagicCookieInfo
- type AudioCodecPrimeInfo
- type AudioComponent
- func AudioComponentFindNext(inComponent AudioComponent, inDesc *AudioComponentDescription) AudioComponent
- func AudioComponentInstanceGetComponent(inInstance *carboncore.ComponentInstanceRecord) AudioComponent
- func AudioComponentRegister(inDesc *AudioComponentDescription, inName corefoundation.CFStringRef, ...) AudioComponent
- type AudioComponentDescription
- type AudioComponentFlags
- type AudioComponentInstance
- type AudioComponentInstantiationOptions
- type AudioComponentPlugInInterface
- func (u *AudioComponentPlugInInterface) AsClose() func(unsafe.Pointer) int32
- func (u *AudioComponentPlugInInterface) AsLookup() func(int16) unsafe.Pointer
- func (u *AudioComponentPlugInInterface) AsOpen() func(unsafe.Pointer, unsafe.Pointer) int32
- func (u *AudioComponentPlugInInterface) AsReserved() unsafe.Pointer
- type AudioComponentValidationResult
- type AudioConverterOptions
- type AudioConverterPrimeInfo
- type AudioConverterRef
- type AudioFileFDFTable
- type AudioFileFDFTableExtended
- type AudioFileFlags
- type AudioFileMarker
- type AudioFileMarkerList
- type AudioFilePacketTableInfo
- type AudioFilePermissions
- type AudioFileRegion
- type AudioFileRegionFlags
- type AudioFileRegionList
- type AudioFileStreamID
- type AudioFileStreamParseFlags
- type AudioFileStreamPropertyFlags
- type AudioFileStreamSeekFlags
- type AudioFileTypeAndFormatID
- type AudioFile_SMPTE_Time
- type AudioFormatInfo
- type AudioFramePacketTranslation
- type AudioIndependentPacketTranslation
- type AudioMixRenderingStyle
- type AudioOutputUnitMIDICallbacks
- type AudioOutputUnitStartAtTimeParams
- type AudioPacketDependencyInfoTranslation
- type AudioPacketRangeByteCountTranslation
- type AudioPacketRollDistanceTranslation
- type AudioPanningInfo
- type AudioPanningMode
- type AudioQueueBuffer
- type AudioQueueChannelAssignment
- type AudioQueueLevelMeterState
- type AudioQueueParameterEvent
- type AudioQueueProcessingTapFlags
- type AudioQueueProcessingTapRef
- type AudioQueueRef
- type AudioQueueTimelineRef
- type AudioSettingsFlags
- type AudioUnit
- func AudioUnitFromID(id objc.ID) *AudioUnit
- func InstantiateWithComponentDescriptionOptions(ctx context.Context, componentDescription AudioComponentDescription, ...) (result *AudioUnit, err error)
- func NewAudioUnitWithComponentDescription(componentDescription AudioComponentDescription) (result *AudioUnit, err error)
- func NewAudioUnitWithComponentDescriptionOptions(componentDescription AudioComponentDescription, ...) (result *AudioUnit, err error)
- func (au *AudioUnit) AllParameterValues() bool
- func (au *AudioUnit) AllocateRenderResourcesAndReturnError() error
- func (au *AudioUnit) AudioUnitMIDIProtocol() obj.Object
- func (au *AudioUnit) AudioUnitName() string
- func (au *AudioUnit) AudioUnitShortName() string
- func (au *AudioUnit) CanPerformInput() bool
- func (au *AudioUnit) CanPerformOutput() bool
- func (au *AudioUnit) CanProcessInPlace() bool
- func (au *AudioUnit) ChannelCapabilities() []obj.Object
- func (au *AudioUnit) ChannelMap() []obj.Object
- func (au *AudioUnit) Component() AudioComponent
- func (au *AudioUnit) ComponentDescription() AudioComponentDescription
- func (au *AudioUnit) ComponentName() string
- func (au *AudioUnit) ComponentVersion() uint32
- func (au *AudioUnit) ContextName() string
- func (au *AudioUnit) CurrentPreset() *AudioUnitPreset
- func (au *AudioUnit) DeallocateRenderResources()
- func (au *AudioUnit) DeleteUserPreset(userPreset *AudioUnitPreset) error
- func (au *AudioUnit) Description() string
- func (au *AudioUnit) DeviceID() int
- func (au *AudioUnit) DeviceInputLatency() float64
- func (au *AudioUnit) DeviceOutputLatency() float64
- func (au *AudioUnit) DisableProfileCableOnChannel(profile obj.Object, cable uint8, channel uint8) error
- func (au *AudioUnit) EnableProfileCableOnChannel(profile obj.Object, cable uint8, channel uint8) error
- func (au *AudioUnit) FactoryPresets() []*AudioUnitPreset
- func (au *AudioUnit) FullState() map[string]obj.Object
- func (au *AudioUnit) FullStateForDocument() map[string]obj.Object
- func (au *AudioUnit) HostMIDIProtocol() obj.Object
- func (au *AudioUnit) InputBusses() *AudioUnitBusArray
- func (au *AudioUnit) IntendedSpatialExperience() unsafe.Pointer
- func (au *AudioUnit) IsEqual(other obj.Object) bool
- func (au *AudioUnit) IsInputEnabled() bool
- func (au *AudioUnit) IsKind(className string) bool
- func (au *AudioUnit) IsLoadedInProcess() bool
- func (au *AudioUnit) IsMusicDeviceOrEffect() bool
- func (au *AudioUnit) IsOutputEnabled() bool
- func (au *AudioUnit) IsRenderingOffline() bool
- func (au *AudioUnit) IsRunning() bool
- func (au *AudioUnit) Latency() float64
- func (au *AudioUnit) MIDIOutputBufferSizeHint() int
- func (au *AudioUnit) MIDIOutputNames() []string
- func (au *AudioUnit) ManufacturerName() string
- func (au *AudioUnit) MaximumFramesToRender() uint32
- func (au *AudioUnit) MigrateFromPlugin() obj.Object
- func (au *AudioUnit) OSWorkgroup() unsafe.Pointer
- func (au *AudioUnit) OutputBusses() *AudioUnitBusArray
- func (au *AudioUnit) ParameterTree() *ParameterTree
- func (au *AudioUnit) ParametersForOverviewWithCount(count int) []*foundation.Number
- func (au *AudioUnit) PresetStateFor(userPreset *AudioUnitPreset) (result map[string]obj.Object, err error)
- func (au *AudioUnit) ProfileChangedBlock() unsafe.Pointer
- func (au *AudioUnit) ProfileStateForCableChannel(cable uint8, channel uint8) obj.Object
- func (au *AudioUnit) ProvidesUserInterface() bool
- func (au *AudioUnit) RemoveRenderObserver(token int)
- func (au *AudioUnit) RenderContextObserver() unsafe.Pointer
- func (au *AudioUnit) RenderQuality() int
- func (au *AudioUnit) RenderResourcesAllocated() bool
- func (au *AudioUnit) Reset()
- func (au *AudioUnit) SaveUserPreset(userPreset *AudioUnitPreset) error
- func (au *AudioUnit) SetDeviceID(deviceID int) error
- func (au *AudioUnit) ShouldBypassEffect() bool
- func (au *AudioUnit) ShouldChangeToFormatForBus(format obj.Object, bus *AudioUnitBus) bool
- func (au *AudioUnit) StartHardwareAndReturnError() error
- func (au *AudioUnit) StopHardware()
- func (au *AudioUnit) String() string
- func (au *AudioUnit) SupportsMPE() bool
- func (au *AudioUnit) SupportsUserPresets() bool
- func (au *AudioUnit) TailTime() float64
- func (au *AudioUnit) UserPresets() []*AudioUnitPreset
- func (au *AudioUnit) VirtualMIDICableCount() int
- func (au *AudioUnit) WithChannelMap(items ...obj.Object) *AudioUnit
- func (au *AudioUnit) WithContextName(contextName string) *AudioUnit
- func (au *AudioUnit) WithCurrentPreset(currentPreset *AudioUnitPreset) *AudioUnit
- func (au *AudioUnit) WithFullState(fullState map[string]obj.Object) *AudioUnit
- func (au *AudioUnit) WithFullStateForDocument(fullStateForDocument map[string]obj.Object) *AudioUnit
- func (au *AudioUnit) WithHostMIDIProtocol(hostMIDIProtocol obj.Object) *AudioUnit
- func (au *AudioUnit) WithInputEnabled(inputEnabled bool) *AudioUnit
- func (au *AudioUnit) WithIntendedSpatialExperience(intendedSpatialExperience unsafe.Pointer) *AudioUnit
- func (au *AudioUnit) WithMIDIOutputBufferSizeHint(midiOutputBufferSizeHint int) *AudioUnit
- func (au *AudioUnit) WithMIDIOutputEventBlock(midiOutputEventBlock func(int64, uint8, int, unsafe.Pointer) int) *AudioUnit
- func (au *AudioUnit) WithMIDIOutputEventListBlock(midiOutputEventListBlock func(int64, uint8, unsafe.Pointer) int) *AudioUnit
- func (au *AudioUnit) WithMaximumFramesToRender(maximumFramesToRender uint32) *AudioUnit
- func (au *AudioUnit) WithOutputEnabled(outputEnabled bool) *AudioUnit
- func (au *AudioUnit) WithParameterTree(parameterTree *ParameterTree) *AudioUnit
- func (au *AudioUnit) WithProfileChangedBlock(profileChangedBlock unsafe.Pointer) *AudioUnit
- func (au *AudioUnit) WithRenderQuality(renderQuality int) *AudioUnit
- func (au *AudioUnit) WithRenderResourcesAllocated(renderResourcesAllocated bool) *AudioUnit
- func (au *AudioUnit) WithRenderingOffline(renderingOffline bool) *AudioUnit
- func (au *AudioUnit) WithShouldBypassEffect(shouldBypassEffect bool) *AudioUnit
- type AudioUnitBus
- func (aub *AudioUnitBus) BusType() AudioUnitBusType
- func (aub *AudioUnitBus) ContextPresentationLatency() float64
- func (aub *AudioUnitBus) Description() string
- func (aub *AudioUnitBus) Format() obj.Object
- func (aub *AudioUnitBus) Index() int
- func (aub *AudioUnitBus) IsEnabled() bool
- func (aub *AudioUnitBus) IsEqual(other obj.Object) bool
- func (aub *AudioUnitBus) IsKind(className string) bool
- func (aub *AudioUnitBus) MaximumChannelCount() uint32
- func (aub *AudioUnitBus) Name() string
- func (aub *AudioUnitBus) OwnerAudioUnit() *AudioUnit
- func (aub *AudioUnitBus) SetFormat(format obj.Object) error
- func (aub *AudioUnitBus) ShouldAllocateBuffer() bool
- func (aub *AudioUnitBus) String() string
- func (aub *AudioUnitBus) SupportedChannelCounts() []obj.Object
- func (aub *AudioUnitBus) SupportedChannelLayoutTags() []obj.Object
- func (aub *AudioUnitBus) WithContextPresentationLatency(contextPresentationLatency float64) *AudioUnitBus
- func (aub *AudioUnitBus) WithEnabled(enabled bool) *AudioUnitBus
- func (aub *AudioUnitBus) WithMaximumChannelCount(maximumChannelCount uint32) *AudioUnitBus
- func (aub *AudioUnitBus) WithName(name string) *AudioUnitBus
- func (aub *AudioUnitBus) WithShouldAllocateBuffer(shouldAllocateBuffer bool) *AudioUnitBus
- func (aub *AudioUnitBus) WithSupportedChannelCounts(items ...obj.Object) *AudioUnitBus
- type AudioUnitBusArray
- func AudioUnitBusArrayFromID(id objc.ID) *AudioUnitBusArray
- func NewAudioUnitBusArrayWithAudioUnitBusType(owner *AudioUnit, busType AudioUnitBusType) *AudioUnitBusArray
- func NewAudioUnitBusArrayWithAudioUnitBusTypeBusses(owner *AudioUnit, busType AudioUnitBusType, busArray []*AudioUnitBus) *AudioUnitBusArray
- func (auba *AudioUnitBusArray) BusType() AudioUnitBusType
- func (auba *AudioUnitBusArray) Count() int
- func (auba *AudioUnitBusArray) Description() string
- func (auba *AudioUnitBusArray) IsCountChangeable() bool
- func (auba *AudioUnitBusArray) IsEqual(other obj.Object) bool
- func (auba *AudioUnitBusArray) IsKind(className string) bool
- func (auba *AudioUnitBusArray) ObjectAtIndexedSubscript(index int) *AudioUnitBus
- func (auba *AudioUnitBusArray) OwnerAudioUnit() *AudioUnit
- func (auba *AudioUnitBusArray) RemoveObserverFromAllBussesForKeyPathContext(observer obj.Object, keyPath string, context_ unsafe.Pointer)
- func (auba *AudioUnitBusArray) ReplaceBusses(busArray []*AudioUnitBus)
- func (auba *AudioUnitBusArray) SetBusCount(count int) error
- func (auba *AudioUnitBusArray) String() string
- type AudioUnitBusType
- type AudioUnitCocoaViewInfo
- type AudioUnitConnection
- type AudioUnitEvent
- type AudioUnitEventType
- type AudioUnitExternalBuffer
- type AudioUnitFactory
- type AudioUnitFrequencyResponseBin
- type AudioUnitMIDIControlMapping
- type AudioUnitMeterClipping
- type AudioUnitNodeConnection
- type AudioUnitOtherPluginDesc
- type AudioUnitParameter
- type AudioUnitParameterEvent
- type AudioUnitParameterHistoryInfo
- type AudioUnitParameterIDName
- type AudioUnitParameterInfo
- type AudioUnitParameterNameInfo
- type AudioUnitParameterOptions
- type AudioUnitParameterStringFromValue
- type AudioUnitParameterUnit
- type AudioUnitParameterValueFromString
- type AudioUnitParameterValueName
- type AudioUnitParameterValueTranslation
- type AudioUnitPreset
- func (aup *AudioUnitPreset) Description() string
- func (aup *AudioUnitPreset) IsEqual(other obj.Object) bool
- func (aup *AudioUnitPreset) IsKind(className string) bool
- func (aup *AudioUnitPreset) Name() string
- func (aup *AudioUnitPreset) Number() int
- func (aup *AudioUnitPreset) String() string
- func (aup *AudioUnitPreset) WithName(name string) *AudioUnitPreset
- func (aup *AudioUnitPreset) WithNumber(number int) *AudioUnitPreset
- type AudioUnitPresetMAS_SettingData
- type AudioUnitPresetMAS_Settings
- type AudioUnitProperty
- type AudioUnitProvider
- type AudioUnitRemoteControlEvent
- type AudioUnitRenderActionFlags
- func AudioUnitProcess(inUnit *carboncore.ComponentInstanceRecord, ...) (result int, ioActionFlags AudioUnitRenderActionFlags)
- func AudioUnitProcessMultiple(inUnit *carboncore.ComponentInstanceRecord, ...) (result int, ioActionFlags AudioUnitRenderActionFlags)
- func AudioUnitRender(inUnit *carboncore.ComponentInstanceRecord, ...) (result int, ioActionFlags AudioUnitRenderActionFlags)
- type AudioUnitRenderContext
- type AudioUnitV2Bridge
- func (auvb *AudioUnitV2Bridge) WithChannelMap(items ...obj.Object) *AudioUnitV2Bridge
- func (auvb *AudioUnitV2Bridge) WithContextName(contextName string) *AudioUnitV2Bridge
- func (auvb *AudioUnitV2Bridge) WithCurrentPreset(currentPreset *AudioUnitPreset) *AudioUnitV2Bridge
- func (auvb *AudioUnitV2Bridge) WithFullState(fullState map[string]obj.Object) *AudioUnitV2Bridge
- func (auvb *AudioUnitV2Bridge) WithFullStateForDocument(fullStateForDocument map[string]obj.Object) *AudioUnitV2Bridge
- func (auvb *AudioUnitV2Bridge) WithHostMIDIProtocol(hostMIDIProtocol obj.Object) *AudioUnitV2Bridge
- func (auvb *AudioUnitV2Bridge) WithInputEnabled(inputEnabled bool) *AudioUnitV2Bridge
- func (auvb *AudioUnitV2Bridge) WithIntendedSpatialExperience(intendedSpatialExperience unsafe.Pointer) *AudioUnitV2Bridge
- func (auvb *AudioUnitV2Bridge) WithMIDIOutputBufferSizeHint(midiOutputBufferSizeHint int) *AudioUnitV2Bridge
- func (auvb *AudioUnitV2Bridge) WithMIDIOutputEventBlock(midiOutputEventBlock func(int64, uint8, int, unsafe.Pointer) int) *AudioUnitV2Bridge
- func (auvb *AudioUnitV2Bridge) WithMIDIOutputEventListBlock(midiOutputEventListBlock func(int64, uint8, unsafe.Pointer) int) *AudioUnitV2Bridge
- func (auvb *AudioUnitV2Bridge) WithMaximumFramesToRender(maximumFramesToRender uint32) *AudioUnitV2Bridge
- func (auvb *AudioUnitV2Bridge) WithOutputEnabled(outputEnabled bool) *AudioUnitV2Bridge
- func (auvb *AudioUnitV2Bridge) WithParameterTree(parameterTree *ParameterTree) *AudioUnitV2Bridge
- func (auvb *AudioUnitV2Bridge) WithProfileChangedBlock(profileChangedBlock unsafe.Pointer) *AudioUnitV2Bridge
- func (auvb *AudioUnitV2Bridge) WithRenderQuality(renderQuality int) *AudioUnitV2Bridge
- func (auvb *AudioUnitV2Bridge) WithRenderResourcesAllocated(renderResourcesAllocated bool) *AudioUnitV2Bridge
- func (auvb *AudioUnitV2Bridge) WithRenderingOffline(renderingOffline bool) *AudioUnitV2Bridge
- func (auvb *AudioUnitV2Bridge) WithShouldBypassEffect(shouldBypassEffect bool) *AudioUnitV2Bridge
- type CABarBeatTime
- type CAClockMessage
- type CAClockPropertyID
- type CAClockRef
- type CAClockSyncMode
- type CAClockTime
- type CAClockTimeFormat
- type CAClockTimebase
- type CAFAudioDescription
- func (u *CAFAudioDescription) AsMBitsPerChannel() uint32
- func (u *CAFAudioDescription) AsMBytesPerPacket() uint32
- func (u *CAFAudioDescription) AsMChannelsPerFrame() uint32
- func (u *CAFAudioDescription) AsMFormatID() uint32
- func (u *CAFAudioDescription) AsMFramesPerPacket() uint32
- func (u *CAFAudioDescription) AsMSampleRate() float64
- type CAFAudioFormatListItem
- type CAFChunkHeader
- type CAFDataChunk
- type CAFFileHeader
- type CAFFormatFlags
- type CAFInfoStrings
- type CAFInstrumentChunk
- type CAFMarker
- type CAFMarkerChunk
- type CAFOverviewChunk
- type CAFOverviewSample
- type CAFPacketTableHeader
- type CAFPeakChunk
- type CAFPositionPeak
- type CAFRegion
- type CAFRegionChunk
- type CAFRegionFlags
- type CAFStringID
- type CAFStrings
- type CAFUMIDChunk
- type CAF_SMPTE_Time
- type CAF_UUID_ChunkHeader
- type CAMeterTrackEntry
- type CATempoMapEntry
- type Clockid
- type ComponentDescription
- type ComponentInstanceRecord
- type DispatchAutoreleaseFrequency
- type DispatchBlockFlags
- type EntryID
- type ExtAudioFileRef
- type ExtendedAudioFormatInfo
- type ExtendedControlEvent
- type ExtendedNoteOnEvent
- type ExtendedTempoEvent
- type FSRef
- type FilesecProperty
- type Flag
- type HostCallbackInfo
- type HostTransportStateFlags
- type Idtype
- type IpcInfoObjectType
- type LaunchDataType
- type MDLabelDomain
- type MDQueryOptionFlags
- type MDQuerySortOptionFlags
- type MIDIChannelMessage
- type MIDIEventList
- type MIDIMetaEvent
- type MIDINoteMessage
- type MIDIPacketList
- type MIDIRawData
- type MachVMRangeFlags
- type MachVMRangeFlavor
- type MachVMRangeTag
- type MagicCookieInfo
- type MessageChannel
- type MixerDistanceParams
- type MpoFlags
- type MusicDeviceNoteParams
- type MusicDeviceStdNoteParams
- type MusicEventIterator
- type MusicEventUserData
- type MusicPlayer
- type MusicSequence
- type MusicSequenceFileFlags
- type MusicSequenceFileTypeID
- type MusicSequenceLoadFlags
- type MusicSequenceType
- type MusicTrack
- type MusicTrackLoopInfo
- type NoteParamsControlValue
- type OSClockid
- type OpaqueAUGraph
- type OpaqueAudioComponent
- type OpaqueAudioConverter
- type OpaqueAudioFileStreamID
- type OpaqueAudioQueue
- type OpaqueAudioQueueProcessingTap
- type OpaqueAudioQueueTimeline
- type OpaqueCAClock
- type OpaqueExtAudioFile
- type OpaqueMusicEventIterator
- type OpaqueMusicPlayer
- type OpaqueMusicSequence
- type OpaqueMusicTrack
- type Parameter
- func (p *Parameter) Address() uint64
- func (p *Parameter) DependentParameters() []obj.Object
- func (p *Parameter) Flags() AudioUnitParameterOptions
- func (p *Parameter) MaxValue() float32
- func (p *Parameter) MinValue() float32
- func (p *Parameter) SetValueOriginator(value float32, originator unsafe.Pointer)
- func (p *Parameter) SetValueOriginatorAtHostTime(value float32, originator unsafe.Pointer, hostTime uint64)
- func (p *Parameter) SetValueOriginatorAtHostTimeEventType(value float32, originator unsafe.Pointer, hostTime uint64, ...)
- func (p *Parameter) StringFromValue() (result string, value float32)
- func (p *Parameter) Unit() AudioUnitParameterUnit
- func (p *Parameter) UnitName() string
- func (p *Parameter) Value() float32
- func (p *Parameter) ValueFromString(str string) float32
- func (p *Parameter) ValueStrings() []string
- func (p *Parameter) WithImplementorValueFromStringCallback(implementorValueFromStringCallback func(obj.Object, obj.Object) int) *Parameter
- func (p *Parameter) WithImplementorValueObserver(implementorValueObserver func(obj.Object, float32)) *Parameter
- func (p *Parameter) WithImplementorValueProvider(implementorValueProvider func(obj.Object) int) *Parameter
- func (p *Parameter) WithValue(value float32) *Parameter
- type ParameterAutomationEventType
- type ParameterEvent
- type ParameterEventType
- type ParameterGroup
- func CreateGroupFromTemplateIdentifierNameAddressOffset(templateGroup *ParameterGroup, identifier string, name string, ...) *ParameterGroup
- func CreateGroupTemplate(children []*ParameterNode) *ParameterGroup
- func CreateGroupWithIdentifierNameChildren(identifier string, name string, children []*ParameterNode) *ParameterGroup
- func ParameterGroupFromID(id objc.ID) *ParameterGroup
- func (pg *ParameterGroup) AllParameters() []*Parameter
- func (pg *ParameterGroup) Children() []*ParameterNode
- func (pg *ParameterGroup) WithImplementorValueFromStringCallback(implementorValueFromStringCallback func(obj.Object, obj.Object) int) *ParameterGroup
- func (pg *ParameterGroup) WithImplementorValueObserver(implementorValueObserver func(obj.Object, float32)) *ParameterGroup
- func (pg *ParameterGroup) WithImplementorValueProvider(implementorValueProvider func(obj.Object) int) *ParameterGroup
- type ParameterGroupProvider
- type ParameterMIDIMappingFlags
- type ParameterNode
- func (pn *ParameterNode) Description() string
- func (pn *ParameterNode) DisplayName() string
- func (pn *ParameterNode) DisplayNameWithLength(maximumLength int) string
- func (pn *ParameterNode) Identifier() string
- func (pn *ParameterNode) IsEqual(other obj.Object) bool
- func (pn *ParameterNode) IsKind(className string) bool
- func (pn *ParameterNode) KeyPath() string
- func (pn *ParameterNode) RemoveParameterObserver(token unsafe.Pointer)
- func (pn *ParameterNode) String() string
- func (pn *ParameterNode) TokenByAddingParameterObserver(observer func(uint64, float32)) unsafe.Pointer
- func (pn *ParameterNode) WithImplementorValueFromStringCallback(implementorValueFromStringCallback func(obj.Object, obj.Object) int) *ParameterNode
- func (pn *ParameterNode) WithImplementorValueObserver(implementorValueObserver func(obj.Object, float32)) *ParameterNode
- func (pn *ParameterNode) WithImplementorValueProvider(implementorValueProvider func(obj.Object) int) *ParameterNode
- type ParameterNodeProvider
- type ParameterTree
- func (pt *ParameterTree) ParameterWithAddress(address uint64) *Parameter
- func (pt *ParameterTree) ParameterWithIDScopeElement(paramID int, scope int, element int) *Parameter
- func (pt *ParameterTree) WithImplementorValueFromStringCallback(implementorValueFromStringCallback func(obj.Object, obj.Object) int) *ParameterTree
- func (pt *ParameterTree) WithImplementorValueObserver(implementorValueObserver func(obj.Object, float32)) *ParameterTree
- func (pt *ParameterTree) WithImplementorValueProvider(implementorValueProvider func(obj.Object) int) *ParameterTree
- type Perm
- type PtrauthKey
- type QosClass
- type RenderEventType
- type ReverbRoomType
- type ScheduledAudioFileRegion
- type ScheduledAudioSlice
- type ScheduledAudioSliceFlags
- type SpatialMixerAttenuationCurve
- type SpatialMixerOutputType
- type SpatialMixerPersonalizedHRTFMode
- type SpatialMixerPointSourceInHeadMode
- type SpatialMixerRenderingFlags
- type SpatialMixerSourceMode
- type SpatializationAlgorithm
- type Tag
- type Type
- type VirtualMemoryGuardExceptionCode
- type VoiceIOOtherAudioDuckingLevel
- type VoiceIOSpeechActivityEvent
- type XpcListenerCreateFlags
- type XpcSessionCreateFlags
Constants ¶
const ( EventSampleTimeImmediate = -4294967296 K3DMixerParam_Azimuth = 0 K3DMixerParam_BusEnable = 20 K3DMixerParam_Distance = 2 K3DMixerParam_DryWetReverbBlend = 23 K3DMixerParam_Elevation = 1 K3DMixerParam_Gain = 3 // Deprecated: since macOS API_TO_BE_DEPRECATED. K3DMixerParam_GlobalReverbGain = 6 K3DMixerParam_GlobalReverbGainInDecibels = 24 // Deprecated: since macOS API_TO_BE_DEPRECATED. K3DMixerParam_MaxGain = 10 K3DMixerParam_MaxGainInDecibels = 22 // Deprecated: since macOS API_TO_BE_DEPRECATED. K3DMixerParam_MinGain = 9 K3DMixerParam_MinGainInDecibels = 21 // Deprecated: since macOS API_TO_BE_DEPRECATED. K3DMixerParam_ObstructionAttenuation = 8 K3DMixerParam_ObstructionAttenuationInDecibels = 26 // Deprecated: since macOS API_TO_BE_DEPRECATED. K3DMixerParam_OcclusionAttenuation = 7 K3DMixerParam_OcclusionAttenuationInDecibels = 25 K3DMixerParam_PlaybackRate = 4 K3DMixerParam_PostAveragePower = 3000 K3DMixerParam_PostPeakHoldLevel = 4000 K3DMixerParam_PreAveragePower = 1000 K3DMixerParam_PrePeakHoldLevel = 2000 // Deprecated: since macOS API_TO_BE_DEPRECATED. K3DMixerParam_ReverbBlend = 5 KAUAudioMixParameter_RemixAmount = 1 KAUAudioMixParameter_Style = 0 KAUAudioMixProperty_EnableSpatialization = 5001 KAUAudioMixProperty_SpatialAudioMixMetadata = 5000 KAUGraphErr_CannotDoInCurrentContext = -10863 KAUGraphErr_InvalidAudioUnit = -10864 KAUGraphErr_InvalidConnection = -10861 KAUGraphErr_NodeNotFound = -10860 KAUGraphErr_OutputNodeErr = -10862 KAUGroupParameterID_AllNotesOff = 123 KAUGroupParameterID_AllSoundOff = 120 KAUGroupParameterID_ChannelPressure = 208 KAUGroupParameterID_DataEntry = 6 KAUGroupParameterID_DataEntry_LSB = 38 KAUGroupParameterID_Expression = 11 KAUGroupParameterID_Expression_LSB = 43 KAUGroupParameterID_Foot = 4 KAUGroupParameterID_Foot_LSB = 36 KAUGroupParameterID_KeyPressure = 160 KAUGroupParameterID_KeyPressure_FirstKey = 256 KAUGroupParameterID_KeyPressure_LastKey = 383 KAUGroupParameterID_ModWheel = 1 KAUGroupParameterID_ModWheel_LSB = 33 KAUGroupParameterID_Pan = 10 KAUGroupParameterID_Pan_LSB = 42 KAUGroupParameterID_PitchBend = 224 KAUGroupParameterID_ResetAllControllers = 121 KAUGroupParameterID_Sostenuto = 66 KAUGroupParameterID_Sustain = 64 KAUGroupParameterID_Volume = 7 KAUGroupParameterID_Volume_LSB = 39 KAULowShelfParam_CutoffFrequency = 0 KAULowShelfParam_Gain = 1 KAUMIDISynthProperty_EnablePreload = 4119 KAUNBandEQFilterType_2ndOrderButterworthHighPass = 2 KAUNBandEQFilterType_2ndOrderButterworthLowPass = 1 KAUNBandEQFilterType_BandPass = 5 KAUNBandEQFilterType_BandStop = 6 KAUNBandEQFilterType_HighShelf = 8 KAUNBandEQFilterType_LowShelf = 7 KAUNBandEQFilterType_Parametric = 0 KAUNBandEQFilterType_ResonantHighPass = 4 KAUNBandEQFilterType_ResonantHighShelf = 10 KAUNBandEQFilterType_ResonantLowPass = 3 KAUNBandEQFilterType_ResonantLowShelf = 9 KAUNBandEQParam_Bandwidth = 5000 KAUNBandEQParam_BypassBand = 1000 KAUNBandEQParam_FilterType = 2000 KAUNBandEQParam_Frequency = 3000 KAUNBandEQParam_Gain = 4000 KAUNBandEQParam_GlobalGain = 0 KAUNBandEQProperty_BiquadCoefficients = 2203 KAUNBandEQProperty_MaxNumberOfBands = 2201 KAUNBandEQProperty_NumberOfBands = 2200 KAUNetReceiveParam_NumParameters = 1 KAUNetReceiveParam_Status = 0 KAUNetReceiveProperty_Hostname = 3511 KAUNetReceiveProperty_Password = 3512 KAUNetSendNumPresetFormats = 18 KAUNetSendParam_NumParameters = 1 KAUNetSendParam_Status = 0 KAUNetSendPresetFormat_AAC_128kbpspc = 7 KAUNetSendPresetFormat_AAC_32kbpspc = 13 KAUNetSendPresetFormat_AAC_40kbpspc = 12 KAUNetSendPresetFormat_AAC_48kbpspc = 11 KAUNetSendPresetFormat_AAC_64kbpspc = 10 KAUNetSendPresetFormat_AAC_80kbpspc = 9 KAUNetSendPresetFormat_AAC_96kbpspc = 8 KAUNetSendPresetFormat_AAC_LD_32kbpspc = 17 KAUNetSendPresetFormat_AAC_LD_40kbpspc = 16 KAUNetSendPresetFormat_AAC_LD_48kbpspc = 15 KAUNetSendPresetFormat_AAC_LD_64kbpspc = 14 KAUNetSendPresetFormat_IMA4 = 6 KAUNetSendPresetFormat_Lossless16 = 4 KAUNetSendPresetFormat_Lossless24 = 3 KAUNetSendPresetFormat_PCMFloat32 = 0 KAUNetSendPresetFormat_PCMInt16 = 2 KAUNetSendPresetFormat_PCMInt24 = 1 KAUNetSendPresetFormat_ULaw = 5 KAUNetSendProperty_Disconnect = 3517 KAUNetSendProperty_Password = 3518 KAUNetSendProperty_PortNum = 3513 KAUNetSendProperty_ServiceName = 3516 KAUNetSendProperty_TransmissionFormat = 3514 KAUNetSendProperty_TransmissionFormatIndex = 3515 KAUNetStatus_Connected = 1 KAUNetStatus_Connecting = 4 KAUNetStatus_Listening = 5 KAUNetStatus_NotConnected = 0 KAUNetStatus_Overflow = 2 KAUNetStatus_Underflow = 3 KAUNodeInteraction_Connection = 1 KAUNodeInteraction_InputCallback = 2 KAUParameterListener_AnyParameter = 4294967295 KAUSamplerParam_CoarseTuning = 901 KAUSamplerParam_FineTuning = 902 KAUSamplerParam_Gain = 900 KAUSamplerParam_Pan = 903 KAUSamplerProperty_BankAndPreset = 4100 KAUSamplerProperty_LoadAudioFiles = 4101 KAUSamplerProperty_LoadInstrument = 4102 KAUSamplerProperty_LoadPresetFromBank = 4100 KAUSampler_DefaultBankLSB = 0 KAUSampler_DefaultMelodicBankMSB = 121 KAUSampler_DefaultPercussionBankMSB = 120 KAUSoundIsolationParam_SoundToIsolate = 1 KAUSoundIsolationParam_WetDryMixPercent = 0 KAUSoundIsolationSoundType_HighQualityVoice = 0 KAUSoundIsolationSoundType_Voice = 1 KAUVoiceIOErr_UnexpectedNumberOfInputChannels = -66784 KAUVoiceIOProperty_BypassVoiceProcessing = 2100 KAUVoiceIOProperty_MuteOutput = 2104 KAUVoiceIOProperty_MutedSpeechActivityEventListener = 2106 KAUVoiceIOProperty_OtherAudioDuckingConfiguration = 2108 KAUVoiceIOProperty_VoiceProcessingEnableAGC = 2101 KAUVoiceIOProperty_VoiceProcessingQuality = 2103 KAudioCodecAppendInputBufferListSelect = 9 KAudioCodecAppendInputDataSelect = 6 KAudioCodecBadDataError = 1650549857 KAudioCodecBadPropertySizeError = 561211770 KAudioCodecBitRateControlMode_Constant = 0 KAudioCodecBitRateControlMode_LongTermAverage = 1 KAudioCodecBitRateControlMode_Variable = 3 KAudioCodecBitRateControlMode_VariableConstrained = 2 KAudioCodecBitRateFormat = 1633903206 KAudioCodecBitRateFormat_ABR = 1 KAudioCodecBitRateFormat_CBR = 0 KAudioCodecBitRateFormat_VBR = 2 KAudioCodecContentSource_AV_Spatial_Live = 41 KAudioCodecContentSource_AV_Spatial_Offline = 39 KAudioCodecContentSource_AV_Traditional_Live = 40 KAudioCodecContentSource_AV_Traditional_Offline = 38 KAudioCodecContentSource_AppleAV_Spatial_Live = 9 KAudioCodecContentSource_AppleAV_Spatial_Offline = 7 KAudioCodecContentSource_AppleAV_Traditional_Live = 8 KAudioCodecContentSource_AppleAV_Traditional_Offline = 6 KAudioCodecContentSource_AppleCapture_Spatial = 2 KAudioCodecContentSource_AppleCapture_Spatial_Enhanced = 3 KAudioCodecContentSource_AppleCapture_Traditional = 1 KAudioCodecContentSource_AppleMusic_Spatial = 5 KAudioCodecContentSource_AppleMusic_Traditional = 4 KAudioCodecContentSource_ApplePassthrough = 10 KAudioCodecContentSource_Capture_Spatial = 34 KAudioCodecContentSource_Capture_Spatial_Enhanced = 35 KAudioCodecContentSource_Capture_Traditional = 33 KAudioCodecContentSource_Music_Spatial = 37 KAudioCodecContentSource_Music_Traditional = 36 KAudioCodecContentSource_Passthrough = 42 KAudioCodecContentSource_Reserved = 0 KAudioCodecContentSource_Unspecified = -1 KAudioCodecDelayMode_Compatibility = 0 KAudioCodecDelayMode_Minimum = 1 KAudioCodecDelayMode_Optimal = 2 KAudioCodecDoesSampleRateConversion = 1819112035 KAudioCodecDynamicRangeControlConfiguration_Capture = 4 KAudioCodecDynamicRangeControlConfiguration_Movie = 3 KAudioCodecDynamicRangeControlConfiguration_Music = 1 KAudioCodecDynamicRangeControlConfiguration_None = 0 KAudioCodecDynamicRangeControlConfiguration_Speech = 2 KAudioCodecExtendFrequencies = 1633903974 KAudioCodecGetPropertyInfoSelect = 1 KAudioCodecGetPropertySelect = 2 KAudioCodecIllegalOperationError = 1852797029 KAudioCodecInitializeSelect = 4 KAudioCodecInputFormatsForOutputFormat = 1768305775 KAudioCodecNoError = 0 KAudioCodecNotEnoughBufferSpaceError = 560100710 KAudioCodecOutputFormatsForInputFormat = 1868969065 KAudioCodecOutputPrecedence = 1869639794 KAudioCodecOutputPrecedenceBitRate = 1 KAudioCodecOutputPrecedenceNone = 0 KAudioCodecOutputPrecedenceSampleRate = 2 KAudioCodecPrimeMethod_None = 2 KAudioCodecPrimeMethod_Normal = 1 KAudioCodecPrimeMethod_Pre = 0 KAudioCodecProduceOutputBufferListSelect = 10 KAudioCodecProduceOutputDataSelect = 7 KAudioCodecProduceOutputPacketAtEOF = 5 KAudioCodecProduceOutputPacketFailure = 1 KAudioCodecProduceOutputPacketNeedsMoreInputData = 4 KAudioCodecProduceOutputPacketSuccess = 2 KAudioCodecProduceOutputPacketSuccessConcealed = 6 KAudioCodecProduceOutputPacketSuccessHasMore = 3 KAudioCodecPropertyASPFrequency = 1634955366 KAudioCodecPropertyAdjustCompressionProfile = 1584427631 KAudioCodecPropertyAdjustLocalQuality = 1584488812 KAudioCodecPropertyAdjustTargetLevel = 1584428140 KAudioCodecPropertyAdjustTargetLevelConstant = 1584688227 KAudioCodecPropertyApplicableBitRateRange = 1651668065 KAudioCodecPropertyApplicableInputSampleRates = 1769173601 KAudioCodecPropertyApplicableOutputSampleRates = 1869836897 KAudioCodecPropertyAvailableBitRateRange = 1633841780 KAudioCodecPropertyAvailableBitRates = 1651668003 KAudioCodecPropertyAvailableInputChannelLayoutTags = 1634296684 KAudioCodecPropertyAvailableInputChannelLayouts = 1634296684 KAudioCodecPropertyAvailableInputSampleRates = 1634300786 KAudioCodecPropertyAvailableNumberChannels = 1668116067 KAudioCodecPropertyAvailableOutputChannelLayoutTags = 1634689900 KAudioCodecPropertyAvailableOutputChannelLayouts = 1634689900 KAudioCodecPropertyAvailableOutputSampleRates = 1634694002 KAudioCodecPropertyBitRateControlMode = 1633903206 KAudioCodecPropertyBitRateForVBR = 1986163298 KAudioCodecPropertyContentSource = 1668510307 KAudioCodecPropertyCurrentInputChannelLayout = 1768123424 KAudioCodecPropertyCurrentInputFormat = 1768320372 KAudioCodecPropertyCurrentInputSampleRate = 1667855218 KAudioCodecPropertyCurrentOutputChannelLayout = 1868786720 KAudioCodecPropertyCurrentOutputFormat = 1868983668 KAudioCodecPropertyCurrentOutputSampleRate = 1668248434 KAudioCodecPropertyCurrentTargetBitRate = 1651663220 KAudioCodecPropertyDelayMode = 1684893540 KAudioCodecPropertyDoesSampleRateConversion = 1819112035 KAudioCodecPropertyDynamicRangeControlConfiguration = 1667527267 KAudioCodecPropertyDynamicRangeControlMode = 1835299427 KAudioCodecPropertyEmploysDependentPackets = 1685089087 KAudioCodecPropertyFormatCFString = 1818652530 KAudioCodecPropertyFormatInfo = 1633904233 KAudioCodecPropertyFormatList = 1633904236 KAudioCodecPropertyHasVariablePacketByteSizes = 1987078975 KAudioCodecPropertyInputBufferSize = 1952609638 KAudioCodecPropertyInputChannelLayout = 1768123424 KAudioCodecPropertyInputFormatsForOutputFormat = 1768305775 KAudioCodecPropertyIsInitialized = 1768843636 KAudioCodecPropertyMagicCookie = 1802857321 KAudioCodecPropertyManufacturerCFString = 1819107691 KAudioCodecPropertyMaximumPacketByteSize = 1885432674 KAudioCodecPropertyMinimumDelayMode = 1835296108 KAudioCodecPropertyMinimumNumberInputPackets = 1835952496 KAudioCodecPropertyMinimumNumberOutputPackets = 1835954032 KAudioCodecPropertyNameCFString = 1819173229 KAudioCodecPropertyOutputChannelLayout = 1868786720 KAudioCodecPropertyOutputFormatsForInputFormat = 1868969065 KAudioCodecPropertyPacketFrameSize = 1885432678 KAudioCodecPropertyPacketSizeLimitForVBR = 1885432684 KAudioCodecPropertyPaddedZeros = 1885430832 KAudioCodecPropertyPrimeInfo = 1886546285 KAudioCodecPropertyPrimeMethod = 1886547309 KAudioCodecPropertyProgramTargetLevel = 1886418028 KAudioCodecPropertyProgramTargetLevelConstant = 1886678115 KAudioCodecPropertyQualitySetting = 1936876401 KAudioCodecPropertyRecommendedBitRateRange = 1651668082 KAudioCodecPropertyRequiresPacketDescription = 1885432676 KAudioCodecPropertySettings = 1633907488 KAudioCodecPropertySoundQualityForVBR = 1986163313 KAudioCodecPropertySupportedInputFormats = 1768320291 KAudioCodecPropertySupportedOutputFormats = 1868983587 KAudioCodecPropertyUsedInputBufferSize = 1969386854 KAudioCodecPropertyZeroFramesPadded = 1885430832 KAudioCodecQuality_High = 96 KAudioCodecQuality_Low = 32 KAudioCodecQuality_Max = 127 KAudioCodecQuality_Medium = 64 KAudioCodecQuality_Min = 0 KAudioCodecResetSelect = 8 KAudioCodecSetPropertySelect = 3 KAudioCodecStateError = 561214580 KAudioCodecUninitializeSelect = 5 KAudioCodecUnknownPropertyError = 2003332927 KAudioCodecUnspecifiedError = 2003329396 KAudioCodecUnsupportedFormatError = 560226676 KAudioCodecUseRecommendedSampleRate = 1970434930 KAudioComponentErr_DuplicateDescription = -66752 KAudioComponentErr_InitializationTimedOut = -66747 KAudioComponentErr_InstanceInvalidated = -66749 KAudioComponentErr_InstanceTimedOut = -66754 KAudioComponentErr_InvalidFormat = -66746 KAudioComponentErr_NotPermitted = -66748 KAudioComponentErr_TooManyInstances = -66750 KAudioComponentErr_UnsupportedType = -66751 KAudioConverterApplicableEncodeBitRates = 1634034290 KAudioConverterApplicableEncodeSampleRates = 1634038642 KAudioConverterAvailableEncodeBitRates = 1986355826 KAudioConverterAvailableEncodeChannelLayoutTags = 1634034540 KAudioConverterAvailableEncodeSampleRates = 1986360178 KAudioConverterChannelMap = 1667788144 KAudioConverterCodecQuality = 1667527029 KAudioConverterCompressionMagicCookie = 1668114275 KAudioConverterCurrentInputStreamDescription = 1633904996 KAudioConverterCurrentOutputStreamDescription = 1633906532 KAudioConverterDecompressionMagicCookie = 1684891491 KAudioConverterEncodeAdjustableSampleRate = 1634366322 KAudioConverterEncodeBitRate = 1651663220 KAudioConverterErr_BadPropertySizeError = 561211770 KAudioConverterErr_FormatNotSupported = 1718449215 KAudioConverterErr_InputSampleRateOutOfRange = 560558962 KAudioConverterErr_InvalidInputSize = 1768846202 KAudioConverterErr_InvalidOutputSize = 1869902714 KAudioConverterErr_OperationNotSupported = 1869627199 KAudioConverterErr_OutputSampleRateOutOfRange = 560952178 KAudioConverterErr_PropertyNotSupported = 1886547824 KAudioConverterErr_RequiresPacketDescriptionsError = 561015652 KAudioConverterErr_UnspecifiedError = 2003329396 KAudioConverterInputChannelLayout = 1768123424 KAudioConverterOutputChannelLayout = 1868786720 KAudioConverterPrimeInfo = 1886546285 KAudioConverterPrimeMethod = 1886547309 KAudioConverterPropertyBitDepthHint = 1633903204 KAudioConverterPropertyCalculateInputBufferSize = 1667850867 KAudioConverterPropertyCalculateOutputBufferSize = 1668244083 KAudioConverterPropertyChannelMixMap = 1835884912 KAudioConverterPropertyDitherBitDepth = 1684171124 KAudioConverterPropertyDithering = 1684632680 KAudioConverterPropertyFormatList = 1718383476 KAudioConverterPropertyInputCodecParameters = 1768121456 KAudioConverterPropertyMaximumInputBufferSize = 2020172403 KAudioConverterPropertyMaximumInputPacketSize = 2020175987 KAudioConverterPropertyMaximumOutputPacketSize = 2020569203 KAudioConverterPropertyMinimumInputBufferSize = 1835623027 KAudioConverterPropertyMinimumOutputBufferSize = 1836016243 KAudioConverterPropertyOutputCodecParameters = 1868784752 KAudioConverterPropertyPerformDownmix = 1684892024 KAudioConverterPropertySettings = 1633906803 KAudioConverterQuality_High = 96 KAudioConverterQuality_Low = 32 KAudioConverterQuality_Max = 127 KAudioConverterQuality_Medium = 64 KAudioConverterQuality_Min = 0 KAudioConverterSampleRateConverterAlgorithm = 1936876393 KAudioConverterSampleRateConverterComplexity = 1936876385 KAudioConverterSampleRateConverterComplexity_Linear = 1818848869 KAudioConverterSampleRateConverterComplexity_Mastering = 1650553971 KAudioConverterSampleRateConverterComplexity_MinimumPhase = 1835626096 KAudioConverterSampleRateConverterComplexity_Normal = 1852797549 KAudioConverterSampleRateConverterInitialPhase = 1936876400 KAudioConverterSampleRateConverterQuality = 1936876401 KAudioDecoderComponentType = 1633969507 KAudioEncoderComponentType = 1634037347 KAudioFile3GP2Type = 862416946 KAudioFile3GPType = 862417008 KAudioFileAAC_ADTSType = 1633973363 KAudioFileAC3Type = 1633889587 KAudioFileAIFCType = 1095321155 KAudioFileAIFFType = 1095321158 KAudioFileAMRType = 1634562662 KAudioFileBW64Type = 1113011764 KAudioFileBadPropertySizeError = 561211770 KAudioFileCAFType = 1667327590 KAudioFileCloseSelect = 6 KAudioFileComponent_AvailableFormatIDs = 1718446436 KAudioFileComponent_AvailableStreamDescriptionsForFormat = 1935960420 KAudioFileComponent_CanRead = 1668182628 KAudioFileComponent_CanWrite = 1668183922 KAudioFileComponent_ExtensionsForType = 1717926004 KAudioFileComponent_FastDispatchTable = 1717855860 KAudioFileComponent_FileTypeName = 1718906477 KAudioFileComponent_HFSTypeCodesForType = 1718118003 KAudioFileComponent_MIMETypesForType = 1718446445 KAudioFileComponent_UTIsForType = 1718973545 KAudioFileCountUserDataSelect = 20 KAudioFileCreateSelect = 1 KAudioFileCreateURLSelect = 25 KAudioFileDataIsThisFormatSelect = 17 KAudioFileDoesNotAllow64BitDataSizeError = 1868981823 KAudioFileEndOfFileError = -39 KAudioFileExtensionIsThisFormatSelect = 15 KAudioFileFLACType = 1718378851 KAudioFileFileDataIsThisFormatSelect = 27 KAudioFileFileIsThisFormatSelect = 16 KAudioFileFileNotFoundError = -43 KAudioFileGetGlobalInfoSelect = 19 KAudioFileGetGlobalInfoSizeSelect = 18 KAudioFileGetPropertyInfoSelect = 12 KAudioFileGetPropertySelect = 13 KAudioFileGetUserDataAtOffsetSelect = 30 KAudioFileGetUserDataSelect = 22 KAudioFileGetUserDataSize64Select = 29 KAudioFileGetUserDataSizeSelect = 21 KAudioFileGlobalInfo_AllExtensions = 1634498676 KAudioFileGlobalInfo_AllHFSTypeCodes = 1634231923 KAudioFileGlobalInfo_AllMIMETypes = 1634560365 KAudioFileGlobalInfo_AllUTIs = 1635087465 KAudioFileGlobalInfo_AvailableFormatIDs = 1718446436 KAudioFileGlobalInfo_AvailableStreamDescriptionsForFormat = 1935960420 KAudioFileGlobalInfo_ExtensionsForType = 1717926004 KAudioFileGlobalInfo_FileTypeName = 1718906477 KAudioFileGlobalInfo_HFSTypeCodesForType = 1718118003 KAudioFileGlobalInfo_MIMETypesForType = 1718446445 KAudioFileGlobalInfo_ReadableTypes = 1634103910 KAudioFileGlobalInfo_TypesForExtension = 1952807028 KAudioFileGlobalInfo_TypesForHFSTypeCode = 1952999027 KAudioFileGlobalInfo_TypesForMIMEType = 1953327469 KAudioFileGlobalInfo_TypesForUTI = 1953854569 KAudioFileGlobalInfo_UTIsForType = 1718973545 KAudioFileGlobalInfo_WritableTypes = 1634105190 KAudioFileInitializeSelect = 3 KAudioFileInitializeWithCallbacksSelect = 5 KAudioFileInvalidChunkError = 1667787583 KAudioFileInvalidFileError = 1685348671 KAudioFileInvalidPacketDependencyError = 1684369471 KAudioFileInvalidPacketOffsetError = 1885563711 KAudioFileLATMInLOASType = 1819238771 KAudioFileLoopDirection_Backward = 3 KAudioFileLoopDirection_Forward = 1 KAudioFileLoopDirection_ForwardAndBackward = 2 KAudioFileLoopDirection_NoLooping = 0 KAudioFileM4AType = 1832149350 KAudioFileM4BType = 1832149606 KAudioFileMP1Type = 1297106737 KAudioFileMP2Type = 1297106738 KAudioFileMP3Type = 1297106739 KAudioFileMPEG4Type = 1836069990 KAudioFileMarkerType_Generic = 0 KAudioFileNextType = 1315264596 KAudioFileNotOpenError = -38 KAudioFileNotOptimizedError = 1869640813 KAudioFileOpenSelect = 2 KAudioFileOpenURLSelect = 26 KAudioFileOpenWithCallbacksSelect = 4 KAudioFileOperationNotSupportedError = 1869627199 KAudioFileOptimizeSelect = 7 KAudioFilePermissionsError = 1886547263 KAudioFilePositionError = -40 KAudioFilePropertyAlbumArtwork = 1633776244 KAudioFilePropertyAudioDataByteCount = 1650683508 KAudioFilePropertyAudioDataPacketCount = 1885564532 KAudioFilePropertyAudioTrackCount = 1635017588 KAudioFilePropertyBitRate = 1651663220 KAudioFilePropertyByteToPacket = 1652125803 KAudioFilePropertyChannelLayout = 1668112752 KAudioFilePropertyChunkIDs = 1667787108 KAudioFilePropertyDataFormat = 1684434292 KAudioFilePropertyDataFormatName = 1718512997 KAudioFilePropertyDataOffset = 1685022310 KAudioFilePropertyDeferSizeUpdates = 1685289589 KAudioFilePropertyEstimatedDuration = 1701082482 KAudioFilePropertyFileFormat = 1717988724 KAudioFilePropertyFormatList = 1718383476 KAudioFilePropertyFrameToPacket = 1718775915 KAudioFilePropertyID3Tag = 1768174452 KAudioFilePropertyID3TagOffset = 1768174447 KAudioFilePropertyInfoDictionary = 1768842863 KAudioFilePropertyIsOptimized = 1869640813 KAudioFilePropertyMagicCookieData = 1835493731 KAudioFilePropertyMarkerList = 1835756659 KAudioFilePropertyMaximumPacketSize = 1886616165 KAudioFilePropertyNextIndependentPacket = 1852403300 KAudioFilePropertyPacketRangeByteCountUpperBound = 1886549346 KAudioFilePropertyPacketSizeUpperBound = 1886090594 KAudioFilePropertyPacketTableInfo = 1886283375 KAudioFilePropertyPacketToByte = 1886085753 KAudioFilePropertyPacketToDependencyInfo = 1886086256 KAudioFilePropertyPacketToFrame = 1886086770 KAudioFilePropertyPacketToRollDistance = 1886089836 KAudioFilePropertyPreviousIndependentPacket = 1885957732 KAudioFilePropertyRegionList = 1919380595 KAudioFilePropertyReserveDuration = 1920168566 KAudioFilePropertyRestrictsRandomAccess = 1920098672 KAudioFilePropertySourceBitDepth = 1935832164 KAudioFilePropertyUseAudioTrack = 1969321067 KAudioFileRF64Type = 1380333108 KAudioFileReadBytesSelect = 8 KAudioFileReadPacketDataSelect = 28 KAudioFileReadPacketsSelect = 10 KAudioFileRemoveUserDataSelect = 24 KAudioFileSetPropertySelect = 14 KAudioFileSetUserDataSelect = 23 KAudioFileSoundDesigner2Type = 1399075430 KAudioFileStreamError_BadPropertySize = 561211770 KAudioFileStreamError_DiscontinuityCantRecover = 1685283617 KAudioFileStreamError_IllegalOperation = 1852797029 KAudioFileStreamError_InvalidFile = 1685348671 KAudioFileStreamError_InvalidPacketOffset = 1885563711 KAudioFileStreamError_NotOptimized = 1869640813 KAudioFileStreamError_UnspecifiedError = 2003334207 KAudioFileStreamError_UnsupportedDataFormat = 1718449215 KAudioFileStreamError_UnsupportedFileType = 1954115647 KAudioFileStreamError_UnsupportedProperty = 1886681407 KAudioFileStreamError_ValueUnknown = 1970170687 KAudioFileStreamProperty_AudioDataByteCount = 1650683508 KAudioFileStreamProperty_AudioDataPacketCount = 1885564532 KAudioFileStreamProperty_AverageBytesPerPacket = 1633841264 KAudioFileStreamProperty_BitRate = 1651663220 KAudioFileStreamProperty_ByteToPacket = 1652125803 KAudioFileStreamProperty_ChannelLayout = 1668112752 KAudioFileStreamProperty_DataFormat = 1684434292 KAudioFileStreamProperty_DataOffset = 1685022310 KAudioFileStreamProperty_FileFormat = 1717988724 KAudioFileStreamProperty_FormatList = 1718383476 KAudioFileStreamProperty_FrameToPacket = 1718775915 KAudioFileStreamProperty_InfoDictionary = 1768842863 KAudioFileStreamProperty_MagicCookieData = 1835493731 KAudioFileStreamProperty_MaximumPacketSize = 1886616165 KAudioFileStreamProperty_NextIndependentPacket = 1852403300 KAudioFileStreamProperty_PacketSizeUpperBound = 1886090594 KAudioFileStreamProperty_PacketTableInfo = 1886283375 KAudioFileStreamProperty_PacketToByte = 1886085753 KAudioFileStreamProperty_PacketToDependencyInfo = 1886086256 KAudioFileStreamProperty_PacketToFrame = 1886086770 KAudioFileStreamProperty_PacketToRollDistance = 1886089836 KAudioFileStreamProperty_PreviousIndependentPacket = 1885957732 KAudioFileStreamProperty_ReadyToProducePackets = 1919247481 KAudioFileStreamProperty_RestrictsRandomAccess = 1920098672 KAudioFileUnspecifiedError = 2003334207 KAudioFileUnsupportedDataFormatError = 1718449215 KAudioFileUnsupportedFileTypeError = 1954115647 KAudioFileUnsupportedPropertyError = 1886681407 KAudioFileWAVEType = 1463899717 KAudioFileWave64Type = 1463170150 KAudioFileWriteBytesSelect = 9 KAudioFileWritePacketsSelect = 11 KAudioFormatBadPropertySizeError = 561211770 KAudioFormatBadSpecifierSizeError = 561213539 KAudioFormatProperty_ASBDFromESDS = 1702064996 KAudioFormatProperty_ASBDFromMPEGPacket = 1633971568 KAudioFormatProperty_AreChannelLayoutsEquivalent = 1667786097 KAudioFormatProperty_AvailableDecodeNumberChannels = 1633971811 KAudioFormatProperty_AvailableEncodeBitRates = 1634034290 KAudioFormatProperty_AvailableEncodeChannelLayoutTags = 1634034540 KAudioFormatProperty_AvailableEncodeNumberChannels = 1635151459 KAudioFormatProperty_AvailableEncodeSampleRates = 1634038642 KAudioFormatProperty_BalanceFade = 1650551910 KAudioFormatProperty_BitmapForLayoutTag = 1651340391 KAudioFormatProperty_ChannelLayoutForBitmap = 1668116578 KAudioFormatProperty_ChannelLayoutForTag = 1668116588 KAudioFormatProperty_ChannelLayoutFromESDS = 1702060908 KAudioFormatProperty_ChannelLayoutHash = 1667786849 KAudioFormatProperty_ChannelLayoutName = 1819242093 KAudioFormatProperty_ChannelLayoutSimpleName = 1819504237 KAudioFormatProperty_ChannelMap = 1667788144 KAudioFormatProperty_ChannelName = 1668178285 KAudioFormatProperty_ChannelShortName = 1668509293 KAudioFormatProperty_DecodeFormatIDs = 1633904998 KAudioFormatProperty_Decoders = 1635148901 KAudioFormatProperty_EncodeFormatIDs = 1633906534 KAudioFormatProperty_Encoders = 1635149166 KAudioFormatProperty_FirstPlayableFormatFromList = 1718642284 KAudioFormatProperty_FormatEmploysDependentPackets = 1717855600 KAudioFormatProperty_FormatInfo = 1718449257 KAudioFormatProperty_FormatIsEncrypted = 1668446576 KAudioFormatProperty_FormatIsExternallyFramed = 1717925990 KAudioFormatProperty_FormatIsVBR = 1719034482 KAudioFormatProperty_FormatList = 1718383476 KAudioFormatProperty_FormatName = 1718509933 KAudioFormatProperty_ID3TagSize = 1768174451 KAudioFormatProperty_ID3TagToDictionary = 1768174436 KAudioFormatProperty_MatrixMixMap = 1835884912 KAudioFormatProperty_NumberOfChannelsForLayout = 1852008557 KAudioFormatProperty_OutputFormatList = 1868983411 KAudioFormatProperty_PanningMatrix = 1885433453 KAudioFormatProperty_TagForChannelLayout = 1668116596 KAudioFormatProperty_TagsForNumberOfChannels = 1952540515 KAudioFormatProperty_ValidateChannelLayout = 1986093932 KAudioFormatUnknownFormatError = 560360820 KAudioFormatUnspecifiedError = 2003329396 KAudioFormatUnsupportedDataFormatError = 1718449215 KAudioFormatUnsupportedPropertyError = 1886547824 KAudioHardwareServiceDeviceProperty_VirtualMainBalance = 1986880099 KAudioHardwareServiceDeviceProperty_VirtualMainVolume = 1986885219 // Deprecated: since macOS 10.5. KAudioHardwareServiceDeviceProperty_VirtualMasterBalance = 1986880099 // Deprecated: since macOS 10.5. KAudioHardwareServiceDeviceProperty_VirtualMasterVolume = 1986885219 KAudioHardwareServiceProperty_ServiceRestarted = 1936880500 KAudioOfflineUnitProperty_InputSize = 3020 KAudioOfflineUnitProperty_OutputSize = 3021 KAudioOutputUnitProperty_ChannelMap = 2002 KAudioOutputUnitProperty_CurrentDevice = 2000 KAudioOutputUnitProperty_EnableIO = 2003 KAudioOutputUnitProperty_HasIO = 2006 KAudioOutputUnitProperty_HostReceivesRemoteControlEvents = 2011 KAudioOutputUnitProperty_HostTransportState = 2013 KAudioOutputUnitProperty_IsRunning = 2001 KAudioOutputUnitProperty_MIDICallbacks = 2010 KAudioOutputUnitProperty_NodeComponentDescription = 2014 KAudioOutputUnitProperty_OSWorkgroup = 2015 KAudioOutputUnitProperty_RemoteControlToHost = 2012 KAudioOutputUnitProperty_SetInputCallback = 2005 KAudioOutputUnitProperty_StartTime = 2004 KAudioOutputUnitProperty_StartTimestampsAtZero = 2007 KAudioOutputUnitRange = 512 KAudioOutputUnitStartSelect = 513 KAudioOutputUnitStopSelect = 514 KAudioQueueDeviceProperty_NumberChannels = 1634821219 KAudioQueueDeviceProperty_SampleRate = 1634825074 KAudioQueueErr_BufferEmpty = -66686 KAudioQueueErr_BufferEnqueuedTwice = -66666 KAudioQueueErr_BufferInQueue = -66679 KAudioQueueErr_CannotStart = -66681 KAudioQueueErr_CannotStartYet = -66665 KAudioQueueErr_CodecNotFound = -66673 KAudioQueueErr_DisposalPending = -66685 KAudioQueueErr_EnqueueDuringReset = -66632 KAudioQueueErr_InvalidBuffer = -66687 KAudioQueueErr_InvalidCodecAccess = -66672 KAudioQueueErr_InvalidDevice = -66680 KAudioQueueErr_InvalidOfflineMode = -66626 KAudioQueueErr_InvalidParameter = -66682 KAudioQueueErr_InvalidProperty = -66684 KAudioQueueErr_InvalidPropertySize = -66683 KAudioQueueErr_InvalidPropertyValue = -66675 KAudioQueueErr_InvalidQueueType = -66677 KAudioQueueErr_InvalidRunState = -66678 KAudioQueueErr_InvalidTapContext = -66669 KAudioQueueErr_InvalidTapType = -66667 KAudioQueueErr_Permissions = -66676 KAudioQueueErr_PrimeTimedOut = -66674 KAudioQueueErr_QueueInvalidated = -66671 KAudioQueueErr_RecordUnderrun = -66668 KAudioQueueErr_TooManyTaps = -66670 KAudioQueueParam_Pan = 13 KAudioQueueParam_Pitch = 3 KAudioQueueParam_PlayRate = 2 KAudioQueueParam_Volume = 1 KAudioQueueParam_VolumeRampTime = 4 KAudioQueueProperty_ChannelAssignments = 1634820961 KAudioQueueProperty_ChannelLayout = 1634820972 KAudioQueueProperty_ConverterError = 1902343781 KAudioQueueProperty_CurrentDevice = 1634820964 KAudioQueueProperty_CurrentLevelMeter = 1634823542 KAudioQueueProperty_CurrentLevelMeterDB = 1634823524 KAudioQueueProperty_DecodeBufferSizeFrames = 1684234854 KAudioQueueProperty_EnableLevelMetering = 1634823525 KAudioQueueProperty_EnableTimePitch = 1902081136 KAudioQueueProperty_IsRunning = 1634824814 KAudioQueueProperty_MagicCookie = 1634823523 KAudioQueueProperty_MaximumOutputPacketSize = 2020569203 KAudioQueueProperty_StreamDescription = 1634821748 KAudioQueueProperty_TimePitchAlgorithm = 1903456353 KAudioQueueProperty_TimePitchBypass = 1903456354 KAudioQueueTimePitchAlgorithm_Spectral = 1936745827 KAudioQueueTimePitchAlgorithm_TimeDomain = 1953064047 KAudioQueueTimePitchAlgorithm_Varispeed = 1987276900 KAudioServicesBadPropertySizeError = 561211770 KAudioServicesBadSpecifierSizeError = 561213539 KAudioServicesNoError = 0 KAudioServicesNoHardwareError = 1852794999 KAudioServicesPropertyCompletePlaybackIfAppDies = 1768318057 KAudioServicesPropertyIsUISound = 1769174377 KAudioServicesSystemSoundClientTimedOutError = -1501 KAudioServicesSystemSoundExceededMaximumDurationError = -1502 KAudioServicesSystemSoundUnspecifiedError = -1500 KAudioServicesUnsupportedPropertyError = 1886681407 KAudioSessionAlreadyInitialized = 1768843636 KAudioSessionBadPropertySizeError = 561211770 KAudioSessionBeginInterruption = 1 KAudioSessionCategory_AmbientSound = 1634558569 KAudioSessionCategory_AudioProcessing = 1886547811 KAudioSessionCategory_LiveAudio = 1818850917 KAudioSessionCategory_MediaPlayback = 1835361385 KAudioSessionCategory_PlayAndRecord = 1886151026 KAudioSessionCategory_RecordAudio = 1919247201 KAudioSessionCategory_SoloAmbientSound = 1936682095 KAudioSessionCategory_UserInterfaceSoundEffects = 1969841784 KAudioSessionEndInterruption = 0 KAudioSessionIncompatibleCategory = 560161140 KAudioSessionInitializationError = 1768843583 KAudioSessionInterruptionType_ShouldNotResume = 561148781 KAudioSessionInterruptionType_ShouldResume = 1769108333 KAudioSessionMode_Default = 1684434036 KAudioSessionMode_GameChat = 1735222132 KAudioSessionMode_Measurement = 1836281204 KAudioSessionMode_VideoRecording = 1987208036 KAudioSessionMode_VoiceChat = 1986225012 KAudioSessionNoCategorySet = 1063477620 KAudioSessionNoError = 0 KAudioSessionNotActiveError = 560030580 KAudioSessionNotInitialized = 560557673 KAudioSessionOverrideAudioRoute_None = 0 KAudioSessionOverrideAudioRoute_Speaker = 1936747378 KAudioSessionProperty_AudioCategory = 1633902964 KAudioSessionProperty_AudioInputAvailable = 1634296182 KAudioSessionProperty_AudioRoute = 1919907188 KAudioSessionProperty_AudioRouteChange = 1919902568 KAudioSessionProperty_AudioRouteDescription = 1668440434 KAudioSessionProperty_CurrentHardwareIOBufferDuration = 1667785316 KAudioSessionProperty_CurrentHardwareInputLatency = 1667853428 KAudioSessionProperty_CurrentHardwareInputNumberChannels = 1667787107 KAudioSessionProperty_CurrentHardwareOutputLatency = 1668246644 KAudioSessionProperty_CurrentHardwareOutputNumberChannels = 1667788643 KAudioSessionProperty_CurrentHardwareOutputVolume = 1667788662 KAudioSessionProperty_CurrentHardwareSampleRate = 1667789682 KAudioSessionProperty_InputGainAvailable = 1768382838 KAudioSessionProperty_InputGainScalar = 1768387427 KAudioSessionProperty_InputSource = 1769173603 KAudioSessionProperty_InputSources = 1936876403 KAudioSessionProperty_InterruptionType = 1954115685 KAudioSessionProperty_Mode = 1836016741 KAudioSessionProperty_OtherAudioIsPlaying = 1869899890 KAudioSessionProperty_OtherMixableAudioShouldDuck = 1685414763 KAudioSessionProperty_OutputDestination = 1868854132 KAudioSessionProperty_OutputDestinations = 1685288051 KAudioSessionProperty_OverrideAudioRoute = 1870033508 KAudioSessionProperty_OverrideCategoryDefaultToSpeaker = 1668509803 KAudioSessionProperty_OverrideCategoryEnableBluetoothInput = 1667394677 KAudioSessionProperty_OverrideCategoryMixWithOthers = 1668114808 KAudioSessionProperty_PreferredHardwareIOBufferDuration = 1768907364 KAudioSessionProperty_PreferredHardwareSampleRate = 1752658802 KAudioSessionProperty_ServerDied = 1684628836 KAudioSessionRouteChangeReason_CategoryChange = 3 KAudioSessionRouteChangeReason_NewDeviceAvailable = 1 KAudioSessionRouteChangeReason_NoSuitableRouteForCategory = 7 KAudioSessionRouteChangeReason_Override = 4 KAudioSessionRouteChangeReason_RouteConfigurationChange = 8 KAudioSessionRouteChangeReason_Unknown = 0 KAudioSessionRouteChangeReason_WakeFromSleep = 6 KAudioSessionSetActiveFlag_NotifyOthersOnDeactivation = 1 KAudioSessionUnspecifiedError = 2003329396 KAudioSessionUnsupportedPropertyError = 1886681407 KAudioToolboxErr_CannotDoInCurrentContext = -10863 KAudioToolboxErr_EndOfTrack = -10857 KAudioToolboxErr_IllegalTrackDestination = -10855 KAudioToolboxErr_InvalidEventType = -10853 KAudioToolboxErr_InvalidPlayerState = -10852 KAudioToolboxErr_InvalidSequenceType = -10846 KAudioToolboxErr_NoSequence = -10854 KAudioToolboxErr_StartOfTrack = -10856 KAudioToolboxErr_TrackIndexError = -10859 KAudioToolboxErr_TrackNotFound = -10858 KAudioToolboxError_NoTrackDestination = -66720 KAudioUnitAddPropertyListenerSelect = 10 KAudioUnitAddRenderNotifySelect = 15 KAudioUnitClumpID_System = 0 KAudioUnitComplexRenderSelect = 19 KAudioUnitErr_CannotDoInCurrentContext = -10863 KAudioUnitErr_ComponentManagerNotSupported = -66740 KAudioUnitErr_ExtensionNotFound = -66744 KAudioUnitErr_FailedInitialization = -10875 KAudioUnitErr_FileNotSpecified = -10869 KAudioUnitErr_FormatNotSupported = -10868 KAudioUnitErr_IllegalInstrument = -10873 KAudioUnitErr_Initialized = -10849 KAudioUnitErr_InstrumentTypeNotFound = -10872 KAudioUnitErr_InvalidElement = -10877 KAudioUnitErr_InvalidFile = -10871 KAudioUnitErr_InvalidFilePath = -66742 KAudioUnitErr_InvalidOfflineRender = -10848 KAudioUnitErr_InvalidParameter = -10878 KAudioUnitErr_InvalidParameterValue = -66743 KAudioUnitErr_InvalidProperty = -10879 KAudioUnitErr_InvalidPropertyValue = -10851 KAudioUnitErr_InvalidScope = -10866 KAudioUnitErr_MIDIOutputBufferFull = -66753 KAudioUnitErr_MissingKey = -66741 KAudioUnitErr_MultipleVoiceProcessors = -66635 KAudioUnitErr_NoConnection = -10876 KAudioUnitErr_PropertyNotInUse = -10850 KAudioUnitErr_PropertyNotWritable = -10865 KAudioUnitErr_RenderTimeout = -66745 KAudioUnitErr_TooManyFramesToProcess = -10874 KAudioUnitErr_Uninitialized = -10867 KAudioUnitErr_UnknownFileType = -10870 KAudioUnitGetParameterSelect = 6 KAudioUnitGetPropertyInfoSelect = 3 KAudioUnitGetPropertySelect = 4 KAudioUnitInitializeSelect = 1 KAudioUnitManufacturer_Apple = 1634758764 KAudioUnitMigrateProperty_FromPlugin = 4000 KAudioUnitMigrateProperty_OldAutomation = 4001 KAudioUnitOfflineProperty_InputSize = 3020 KAudioUnitOfflineProperty_OutputSize = 3021 KAudioUnitOfflineProperty_PreflightName = 3024 KAudioUnitOfflineProperty_PreflightRequirements = 3023 KAudioUnitOfflineProperty_StartOffset = 3022 KAudioUnitParameterFlag_Global = 1 KAudioUnitParameterFlag_Group = 8 KAudioUnitParameterFlag_HasName = 2097152 KAudioUnitParameterFlag_Input = 2 KAudioUnitParameterFlag_Output = 4 KAudioUnitParameterName_Full = -1 KAudioUnitProcessMultipleSelect = 21 KAudioUnitProcessSelect = 20 KAudioUnitProperty_3DMixerAttenuationCurve = 3013 KAudioUnitProperty_3DMixerDistanceAtten = 3004 KAudioUnitProperty_3DMixerDistanceParams = 3010 KAudioUnitProperty_3DMixerRenderingFlags = 3003 KAudioUnitProperty_AUHostIdentifier = 46 KAudioUnitProperty_AddParameterMIDIMapping = 42 KAudioUnitProperty_AllParameterMIDIMappings = 41 KAudioUnitProperty_AudioChannelLayout = 19 KAudioUnitProperty_AudioUnitMIDIProtocol = 64 KAudioUnitProperty_BusCount = 11 KAudioUnitProperty_BypassEffect = 21 KAudioUnitProperty_CPULoad = 6 KAudioUnitProperty_ClassInfo = 0 KAudioUnitProperty_ClassInfoFromDocument = 50 KAudioUnitProperty_CocoaUI = 31 KAudioUnitProperty_ContextName = 25 KAudioUnitProperty_CurrentPlayTime = 3302 KAudioUnitProperty_CurrentPreset = 28 KAudioUnitProperty_DeferredRendererExtraLatency = 3321 KAudioUnitProperty_DeferredRendererPullSize = 3320 KAudioUnitProperty_DeferredRendererWaitFrames = 3322 KAudioUnitProperty_DependentParameters = 45 KAudioUnitProperty_DistanceAttenuationData = 3600 KAudioUnitProperty_DopplerShift = 3002 KAudioUnitProperty_ElementCount = 11 KAudioUnitProperty_ElementName = 30 KAudioUnitProperty_FactoryPresets = 24 KAudioUnitProperty_FastDispatch = 5 KAudioUnitProperty_FrequencyResponse = 52 KAudioUnitProperty_GetUIComponentList = 18 KAudioUnitProperty_HostCallbacks = 27 KAudioUnitProperty_HostMIDIProtocol = 65 KAudioUnitProperty_HotMapParameterMIDIMapping = 44 KAudioUnitProperty_IconLocation = 39 KAudioUnitProperty_InPlaceProcessing = 29 KAudioUnitProperty_InputAnchorTimeStamp = 3016 KAudioUnitProperty_InputSamplesInOutput = 49 KAudioUnitProperty_IsInterAppConnected = 101 KAudioUnitProperty_LastRenderError = 22 KAudioUnitProperty_LastRenderSampleTime = 61 KAudioUnitProperty_Latency = 12 KAudioUnitProperty_LoadedOutOfProcess = 62 KAudioUnitProperty_MIDIControlMapping = 17 KAudioUnitProperty_MIDIOutputBufferSizeHint = 66 KAudioUnitProperty_MIDIOutputCallback = 48 KAudioUnitProperty_MIDIOutputCallbackInfo = 47 KAudioUnitProperty_MIDIOutputEventListCallback = 63 KAudioUnitProperty_MakeConnection = 1 KAudioUnitProperty_MatrixDimensions = 3009 KAudioUnitProperty_MatrixLevels = 3006 KAudioUnitProperty_MaximumFramesPerSlice = 14 KAudioUnitProperty_MeterClipping = 3011 KAudioUnitProperty_MeteringMode = 3007 KAudioUnitProperty_NickName = 54 KAudioUnitProperty_OfflineRender = 37 KAudioUnitProperty_PannerMode = 3008 KAudioUnitProperty_ParameterClumpName = 35 KAudioUnitProperty_ParameterHistoryInfo = 53 KAudioUnitProperty_ParameterIDName = 34 KAudioUnitProperty_ParameterInfo = 4 KAudioUnitProperty_ParameterList = 3 KAudioUnitProperty_ParameterStringFromValue = 33 KAudioUnitProperty_ParameterValueFromString = 38 KAudioUnitProperty_ParameterValueName = 33 KAudioUnitProperty_ParameterValueStrings = 16 KAudioUnitProperty_ParametersForOverview = 57 KAudioUnitProperty_PeerURL = 102 KAudioUnitProperty_PresentPreset = 36 KAudioUnitProperty_PresentationLatency = 40 KAudioUnitProperty_RemoteControlEventListener = 100 KAudioUnitProperty_RemoveParameterMIDIMapping = 43 KAudioUnitProperty_RenderContextObserver = 60 KAudioUnitProperty_RenderQuality = 26 KAudioUnitProperty_RequestViewController = 56 KAudioUnitProperty_ReverbPreset = 3012 KAudioUnitProperty_ReverbRoomType = 10 KAudioUnitProperty_SRCAlgorithm = 9 KAudioUnitProperty_SampleRate = 2 KAudioUnitProperty_SampleRateConverterComplexity = 3014 KAudioUnitProperty_ScheduleAudioSlice = 3300 KAudioUnitProperty_ScheduleStartTimeStamp = 3301 KAudioUnitProperty_ScheduledFileBufferSizeFrames = 3313 KAudioUnitProperty_ScheduledFileIDs = 3310 KAudioUnitProperty_ScheduledFileNumberBuffers = 3314 KAudioUnitProperty_ScheduledFilePrime = 3312 KAudioUnitProperty_ScheduledFileRegion = 3311 KAudioUnitProperty_SetExternalBuffer = 15 KAudioUnitProperty_SetRenderCallback = 23 KAudioUnitProperty_ShouldAllocateBuffer = 51 KAudioUnitProperty_SpatialMixerAnyInputIsUsingPersonalizedHRTF = 3116 KAudioUnitProperty_SpatialMixerAttenuationCurve = 3013 KAudioUnitProperty_SpatialMixerDistanceParams = 3010 KAudioUnitProperty_SpatialMixerEnableHeadTracking = 3111 KAudioUnitProperty_SpatialMixerOutputType = 3100 KAudioUnitProperty_SpatialMixerPersonalizedHRTFMode = 3113 KAudioUnitProperty_SpatialMixerPointSourceInHeadMode = 3103 KAudioUnitProperty_SpatialMixerRenderingFlags = 3003 KAudioUnitProperty_SpatialMixerSourceMode = 3005 KAudioUnitProperty_SpatializationAlgorithm = 3000 KAudioUnitProperty_SpeakerConfiguration = 3001 KAudioUnitProperty_StreamFormat = 8 KAudioUnitProperty_SupportedChannelLayoutTags = 32 KAudioUnitProperty_SupportedNumChannels = 13 KAudioUnitProperty_SupportsMPE = 58 KAudioUnitProperty_TailTime = 20 KAudioUnitProperty_UsesInternalReverb = 1005 KAudioUnitRange = 0 KAudioUnitRemovePropertyListenerSelect = 11 KAudioUnitRemovePropertyListenerWithUserDataSelect = 18 KAudioUnitRemoveRenderNotifySelect = 16 KAudioUnitRenderSelect = 14 KAudioUnitResetSelect = 9 KAudioUnitSRCAlgorithm_MediumQuality = 1668510307 KAudioUnitSRCAlgorithm_Polyphase = 1886350457 KAudioUnitSampleRateConverterComplexity_Linear = 1818848869 KAudioUnitSampleRateConverterComplexity_Mastering = 1650553971 KAudioUnitSampleRateConverterComplexity_Normal = 1852797549 KAudioUnitScheduleParametersSelect = 17 KAudioUnitScope_Global = 0 KAudioUnitScope_Group = 3 KAudioUnitScope_Input = 1 KAudioUnitScope_Layer = 6 KAudioUnitScope_LayerItem = 7 KAudioUnitScope_Note = 5 KAudioUnitScope_Output = 2 KAudioUnitScope_Part = 4 KAudioUnitSetParameterSelect = 7 KAudioUnitSetPropertySelect = 5 // Deprecated: no longer supported KAudioUnitSubType_3DMixer = 862219640 KAudioUnitSubType_AUAudioMix = 1634560376 KAudioUnitSubType_AUConverter = 1668247158 KAudioUnitSubType_AUFilter = 1718185076 KAudioUnitSubType_AUSoundIsolation = 1987012979 KAudioUnitSubType_AUiPodTimeOther = 1768977519 KAudioUnitSubType_AudioFilePlayer = 1634103404 KAudioUnitSubType_BandPassFilter = 1651532147 KAudioUnitSubType_DLSSynth = 1684828960 KAudioUnitSubType_DefaultOutput = 1684366880 KAudioUnitSubType_DeferredRenderer = 1684366962 KAudioUnitSubType_Delay = 1684368505 KAudioUnitSubType_Distortion = 1684632436 KAudioUnitSubType_DynamicsProcessor = 1684237680 KAudioUnitSubType_GenericOutput = 1734700658 KAudioUnitSubType_GraphicEQ = 1735550321 KAudioUnitSubType_HALOutput = 1634230636 KAudioUnitSubType_HRTFPanner = 1752331366 KAudioUnitSubType_HighPassFilter = 1752195443 KAudioUnitSubType_HighShelfFilter = 1752393830 KAudioUnitSubType_LowPassFilter = 1819304307 KAudioUnitSubType_LowShelfFilter = 1819502694 KAudioUnitSubType_MIDISynth = 1836284270 KAudioUnitSubType_MatrixMixer = 1836608888 KAudioUnitSubType_MatrixReverb = 1836213622 KAudioUnitSubType_Merger = 1835364967 KAudioUnitSubType_MultiBandCompressor = 1835232624 KAudioUnitSubType_MultiChannelMixer = 1835232632 KAudioUnitSubType_MultiSplitter = 1836281964 KAudioUnitSubType_NBandEQ = 1851942257 KAudioUnitSubType_NetReceive = 1852990326 KAudioUnitSubType_NetSend = 1853058660 KAudioUnitSubType_NewTimePitch = 1853191280 KAudioUnitSubType_ParametricEQ = 1886217585 KAudioUnitSubType_PeakLimiter = 1819112562 KAudioUnitSubType_Pitch = 1953329268 KAudioUnitSubType_Reverb2 = 1920361010 KAudioUnitSubType_RogerBeep = 1919903602 KAudioUnitSubType_RoundTripAAC = 1918984547 KAudioUnitSubType_SampleDelay = 1935961209 KAudioUnitSubType_Sampler = 1935764848 KAudioUnitSubType_ScheduledSoundPlayer = 1936945260 KAudioUnitSubType_SoundFieldPanner = 1634558569 KAudioUnitSubType_SpatialMixer = 862217581 KAudioUnitSubType_SphericalHeadPanner = 1936746610 KAudioUnitSubType_Splitter = 1936747636 KAudioUnitSubType_StereoMixer = 1936554098 KAudioUnitSubType_SystemOutput = 1937339168 KAudioUnitSubType_TimePitch = 1953329268 KAudioUnitSubType_Varispeed = 1986097769 KAudioUnitSubType_VectorPanner = 1986158963 KAudioUnitSubType_VoiceProcessingIO = 1987078511 KAudioUnitType_Effect = 1635083896 KAudioUnitType_FormatConverter = 1635083875 KAudioUnitType_Generator = 1635084142 KAudioUnitType_MIDIProcessor = 1635085673 KAudioUnitType_Mixer = 1635085688 KAudioUnitType_MusicDevice = 1635085685 KAudioUnitType_MusicEffect = 1635085670 KAudioUnitType_OfflineEffect = 1635086188 KAudioUnitType_Output = 1635086197 KAudioUnitType_Panner = 1635086446 KAudioUnitType_RemoteEffect = 1635086968 KAudioUnitType_RemoteGenerator = 1635086951 KAudioUnitType_RemoteInstrument = 1635086953 KAudioUnitType_RemoteMusicEffect = 1635086957 KAudioUnitType_SpeechSynthesizer = 1635087216 KAudioUnitUninitializeSelect = 2 KAudioUnityCodecComponentType = 1633903715 KBandpassParam_Bandwidth = 1 KBandpassParam_CenterFrequency = 0 KCAClock_CannotSetTimeError = -66805 KCAClock_InvalidPlayRateError = -66806 KCAClock_InvalidPropertySizeError = -66815 KCAClock_InvalidSMPTEFormatError = -66809 KCAClock_InvalidSMPTEOffsetError = -66808 KCAClock_InvalidSyncModeError = -66813 KCAClock_InvalidSyncSourceError = -66812 KCAClock_InvalidTimeFormatError = -66814 KCAClock_InvalidTimebaseError = -66811 KCAClock_InvalidTimebaseSourceError = -66810 KCAClock_InvalidUnitError = -66807 KCAClock_UnknownPropertyError = -66816 KCAFMarkerType_EditDestinationBegin = 1684170087 KCAFMarkerType_EditDestinationEnd = 1684368996 KCAFMarkerType_EditSourceBegin = 1667392871 KCAFMarkerType_EditSourceEnd = 1667591780 KCAFMarkerType_Generic = 0 KCAFMarkerType_Index = 1768842360 KCAFMarkerType_KeySignature = 1802725735 KCAFMarkerType_ProgramEnd = 1885695588 KCAFMarkerType_ProgramStart = 1885496679 KCAFMarkerType_RegionEnd = 1919250020 KCAFMarkerType_RegionStart = 1919051111 KCAFMarkerType_RegionSyncPoint = 1920170339 KCAFMarkerType_ReleaseLoopEnd = 1919706478 KCAFMarkerType_ReleaseLoopStart = 1919705703 KCAFMarkerType_SavedPlayPosition = 1936747641 KCAFMarkerType_SelectionEnd = 1936027236 KCAFMarkerType_SelectionStart = 1935828327 KCAFMarkerType_SustainLoopEnd = 1936483694 KCAFMarkerType_SustainLoopStart = 1936482919 KCAFMarkerType_Tempo = 1953329263 KCAFMarkerType_TimeSignature = 1953720679 KCAFMarkerType_TrackEnd = 1952804452 KCAFMarkerType_TrackStart = 1952605543 KCAF_AudioDataChunkID = 1684108385 KCAF_ChannelLayoutChunkID = 1667785070 KCAF_EditCommentsChunkID = 1701077876 KCAF_FileType = 1667327590 KCAF_FileVersion_Initial = 1 KCAF_FillerChunkID = 1718773093 KCAF_FormatListID = 1818522467 KCAF_InfoStringsChunkID = 1768842863 KCAF_InstrumentChunkID = 1768846196 KCAF_MIDIChunkID = 1835623529 KCAF_MagicCookieID = 1802857321 KCAF_MarkerChunkID = 1835102827 KCAF_OverviewChunkID = 1870034551 KCAF_PacketTableChunkID = 1885432692 KCAF_PeakChunkID = 1885692267 KCAF_RegionChunkID = 1919248238 KCAF_SMPTE_TimeType2398 = 12 KCAF_SMPTE_TimeType24 = 1 KCAF_SMPTE_TimeType25 = 2 KCAF_SMPTE_TimeType2997 = 5 KCAF_SMPTE_TimeType2997Drop = 6 KCAF_SMPTE_TimeType30 = 4 KCAF_SMPTE_TimeType30Drop = 3 KCAF_SMPTE_TimeType50 = 11 KCAF_SMPTE_TimeType5994 = 8 KCAF_SMPTE_TimeType5994Drop = 10 KCAF_SMPTE_TimeType60 = 7 KCAF_SMPTE_TimeType60Drop = 9 KCAF_SMPTE_TimeTypeNone = 0 KCAF_StreamDescriptionChunkID = 1684370275 KCAF_StringsChunkID = 1937011303 KCAF_UMIDChunkID = 1970104676 KCAF_UUIDChunkID = 1970628964 KCAF_iXMLChunkID = 1767394636 KConverterPrimeMethod_None = 2 KConverterPrimeMethod_Normal = 1 KConverterPrimeMethod_Pre = 0 KDelayParam_DelayTime = 1 KDelayParam_Feedback = 2 KDelayParam_LopassCutoff = 3 KDelayParam_WetDryMix = 0 KDistortionParam_CubicTerm = 8 KDistortionParam_Decay = 1 KDistortionParam_Decimation = 3 KDistortionParam_DecimationMix = 5 KDistortionParam_Delay = 0 KDistortionParam_DelayMix = 2 KDistortionParam_FinalMix = 15 KDistortionParam_LinearTerm = 6 KDistortionParam_PolynomialMix = 9 KDistortionParam_RingModBalance = 12 KDistortionParam_RingModFreq1 = 10 KDistortionParam_RingModFreq2 = 11 KDistortionParam_RingModMix = 13 KDistortionParam_Rounding = 4 KDistortionParam_SoftClipGain = 14 KDistortionParam_SquaredTerm = 7 KDitherAlgorithm_NoiseShaping = 2 KDitherAlgorithm_TPDF = 1 KDynamicRangeCompressionProfile_GeneralCompression = 6 KDynamicRangeCompressionProfile_LateNight = 1 KDynamicRangeCompressionProfile_LimitedPlaybackRange = 3 KDynamicRangeCompressionProfile_NoisyEnvironment = 2 KDynamicRangeCompressionProfile_None = 0 KDynamicRangeControlMode_Heavy = 2 KDynamicRangeControlMode_Light = 1 KDynamicRangeControlMode_None = 0 KDynamicsProcessorParam_AttackTime = 4 KDynamicsProcessorParam_CompressionAmount = 1000 KDynamicsProcessorParam_ExpansionRatio = 2 KDynamicsProcessorParam_ExpansionThreshold = 3 KDynamicsProcessorParam_HeadRoom = 1 KDynamicsProcessorParam_InputAmplitude = 2000 // Deprecated: since macOS 10.5. KDynamicsProcessorParam_MasterGain = 6 KDynamicsProcessorParam_OutputAmplitude = 3000 KDynamicsProcessorParam_OverallGain = 6 KDynamicsProcessorParam_ReleaseTime = 5 KDynamicsProcessorParam_Threshold = 0 KExtAudioFileError_AsyncWriteBufferOverflow = -66570 KExtAudioFileError_AsyncWriteTooLarge = -66569 KExtAudioFileError_InvalidChannelMap = -66564 KExtAudioFileError_InvalidDataFormat = -66566 KExtAudioFileError_InvalidOperationOrder = -66565 KExtAudioFileError_InvalidProperty = -66561 KExtAudioFileError_InvalidPropertySize = -66562 KExtAudioFileError_InvalidSeek = -66568 KExtAudioFileError_MaxPacketSizeUnknown = -66567 KExtAudioFileError_NonPCMClientFormat = -66563 KExtAudioFilePacketTableInfoOverride_UseFileValue = -1 KExtAudioFilePacketTableInfoOverride_UseFileValueIfValid = -2 KExtAudioFileProperty_AudioConverter = 1633906294 KExtAudioFileProperty_AudioFile = 1634101612 KExtAudioFileProperty_ClientChannelLayout = 1667460207 KExtAudioFileProperty_ClientDataFormat = 1667657076 KExtAudioFileProperty_ClientMaxPacketSize = 1668116595 KExtAudioFileProperty_CodecManufacturer = 1668112750 KExtAudioFileProperty_ConverterConfig = 1633903462 KExtAudioFileProperty_FileChannelLayout = 1717791855 KExtAudioFileProperty_FileDataFormat = 1717988724 KExtAudioFileProperty_FileLengthFrames = 593916525 KExtAudioFileProperty_FileMaxPacketSize = 1718448243 KExtAudioFileProperty_IOBuffer = 1768907366 KExtAudioFileProperty_IOBufferSizeBytes = 1768907379 KExtAudioFileProperty_PacketTable = 2020635753 KGraphicEQParam_NumberOfBands = 10000 KHALOutputParam_Volume = 14 KHighShelfParam_CutOffFrequency = 0 KHighShelfParam_Gain = 1 KHintAdvanced = 1 KHintBasic = 0 KHintHidden = 2 KHipassParam_CutoffFrequency = 0 KHipassParam_Resonance = 1 KInstrumentType_AUPreset = 2 KInstrumentType_Audiofile = 3 KInstrumentType_DLSPreset = 1 KInstrumentType_EXS24 = 4 KInstrumentType_SF2Preset = 1 KLimiterParam_AttackTime = 0 KLimiterParam_DecayTime = 1 KLimiterParam_PreGain = 2 KLowPassParam_CutoffFrequency = 0 KLowPassParam_Resonance = 1 KMatrixMixerParam_Enable = 1 KMatrixMixerParam_PostAveragePower = 3000 KMatrixMixerParam_PostAveragePowerLinear = 7000 KMatrixMixerParam_PostPeakHoldLevel = 4000 KMatrixMixerParam_PostPeakHoldLevelLinear = 8000 KMatrixMixerParam_PreAveragePower = 1000 KMatrixMixerParam_PreAveragePowerLinear = 5000 KMatrixMixerParam_PrePeakHoldLevel = 2000 KMatrixMixerParam_PrePeakHoldLevelLinear = 6000 KMatrixMixerParam_Volume = 0 KMultiChannelMixerParam_Enable = 1 KMultiChannelMixerParam_Pan = 2 KMultiChannelMixerParam_PostAveragePower = 3000 KMultiChannelMixerParam_PostPeakHoldLevel = 4000 KMultiChannelMixerParam_PreAveragePower = 1000 KMultiChannelMixerParam_PrePeakHoldLevel = 2000 KMultiChannelMixerParam_Volume = 0 KMultibandCompressorParam_AttackTime = 13 KMultibandCompressorParam_CompressionAmount1 = 1000 KMultibandCompressorParam_CompressionAmount2 = 2000 KMultibandCompressorParam_CompressionAmount3 = 3000 KMultibandCompressorParam_CompressionAmount4 = 4000 KMultibandCompressorParam_Crossover1 = 2 KMultibandCompressorParam_Crossover2 = 3 KMultibandCompressorParam_Crossover3 = 4 KMultibandCompressorParam_EQ1 = 15 KMultibandCompressorParam_EQ2 = 16 KMultibandCompressorParam_EQ3 = 17 KMultibandCompressorParam_EQ4 = 18 KMultibandCompressorParam_Headroom1 = 9 KMultibandCompressorParam_Headroom2 = 10 KMultibandCompressorParam_Headroom3 = 11 KMultibandCompressorParam_Headroom4 = 12 KMultibandCompressorParam_InputAmplitude1 = 5000 KMultibandCompressorParam_InputAmplitude2 = 6000 KMultibandCompressorParam_InputAmplitude3 = 7000 KMultibandCompressorParam_InputAmplitude4 = 8000 KMultibandCompressorParam_OutputAmplitude1 = 9000 KMultibandCompressorParam_OutputAmplitude2 = 10000 KMultibandCompressorParam_OutputAmplitude3 = 11000 KMultibandCompressorParam_OutputAmplitude4 = 12000 KMultibandCompressorParam_Postgain = 1 KMultibandCompressorParam_Pregain = 0 KMultibandCompressorParam_ReleaseTime = 14 KMultibandCompressorParam_Threshold1 = 5 KMultibandCompressorParam_Threshold2 = 6 KMultibandCompressorParam_Threshold3 = 7 KMultibandCompressorParam_Threshold4 = 8 KMultibandFilter_Bandwidth1 = 5 KMultibandFilter_Bandwidth2 = 8 KMultibandFilter_Bandwidth3 = 11 KMultibandFilter_CenterFreq1 = 3 KMultibandFilter_CenterFreq2 = 6 KMultibandFilter_CenterFreq3 = 9 KMultibandFilter_CenterGain1 = 4 KMultibandFilter_CenterGain2 = 7 KMultibandFilter_CenterGain3 = 10 KMultibandFilter_HighFilterType = 12 KMultibandFilter_HighFrequency = 13 KMultibandFilter_HighGain = 14 KMultibandFilter_LowFilterType = 0 KMultibandFilter_LowFrequency = 1 KMultibandFilter_LowGain = 2 KMusicDeviceMIDIEventListSelect = 263 KMusicDeviceMIDIEventSelect = 257 KMusicDeviceParam_ReverbVolume = 2 KMusicDeviceParam_Tuning = 0 KMusicDeviceParam_Volume = 1 KMusicDevicePrepareInstrumentSelect = 259 KMusicDeviceProperty_BankName = 1007 KMusicDeviceProperty_DualSchedulingMode = 1013 KMusicDeviceProperty_GroupOutputBus = 1002 KMusicDeviceProperty_InstrumentCount = 1000 KMusicDeviceProperty_InstrumentName = 1001 KMusicDeviceProperty_InstrumentNumber = 1004 KMusicDeviceProperty_MIDIXMLNames = 1006 KMusicDeviceProperty_PartGroup = 1010 KMusicDeviceProperty_SoundBankData = 1008 KMusicDeviceProperty_SoundBankFSRef = 1012 KMusicDeviceProperty_SoundBankFSSpec = 1003 KMusicDeviceProperty_SoundBankURL = 1100 KMusicDeviceProperty_StreamFromDisk = 1011 KMusicDeviceProperty_SupportsStartStopNote = 1014 KMusicDeviceProperty_UsesInternalReverb = 1005 KMusicDeviceRange = 256 KMusicDeviceReleaseInstrumentSelect = 260 KMusicDeviceSampleFrameMask_IsScheduled = 16777216 KMusicDeviceSampleFrameMask_SampleOffset = 16777215 KMusicDeviceStartNoteSelect = 261 KMusicDeviceStopNoteSelect = 262 KMusicDeviceSysExSelect = 258 KMusicEventType_AUPreset = 10 KMusicEventType_ExtendedControl = 2 KMusicEventType_ExtendedNote = 1 KMusicEventType_ExtendedTempo = 3 KMusicEventType_MIDIChannelMessage = 7 KMusicEventType_MIDINoteMessage = 6 KMusicEventType_MIDIRawData = 8 KMusicEventType_Meta = 5 KMusicEventType_NULL = 0 KMusicEventType_Parameter = 9 KMusicEventType_User = 4 KMusicNoteEvent_Unused = 4294967295 KMusicNoteEvent_UseGroupInstrument = 4294967295 // Deprecated: since macOS 13.0. KNewTimePitchParam_EnablePeakLocking = 6 KNewTimePitchParam_EnableSpectralCoherence = 6 KNewTimePitchParam_EnableTransientPreservation = 7 // Deprecated: since macOS 13.0. KNewTimePitchParam_Overlap = 4 KNewTimePitchParam_Pitch = 1 KNewTimePitchParam_Rate = 0 KNewTimePitchParam_Smoothness = 4 KNumAUNBandEQFilterTypes = 11 KNumberOfResponseFrequencies = 1024 KOfflinePreflight_NotRequired = 0 KOfflinePreflight_Optional = 1 KOfflinePreflight_Required = 2 KOtherPluginFormat_AU = 3 KOtherPluginFormat_Undefined = 0 KOtherPluginFormat_kMAS = 1 KOtherPluginFormat_kVST = 2 KPannerParam_Azimuth = 1 KPannerParam_CoordScale = 4 KPannerParam_Distance = 3 KPannerParam_Elevation = 2 KPannerParam_Gain = 0 KPannerParam_RefDistance = 5 KParametricEQParam_CenterFreq = 0 KParametricEQParam_Gain = 2 KParametricEQParam_Q = 1 KProgramTargetLevel_Minus20dB = 3 KProgramTargetLevel_Minus23dB = 2 KProgramTargetLevel_Minus31dB = 1 KProgramTargetLevel_None = 0 KRandomParam_BoundA = 0 KRandomParam_BoundB = 1 KRandomParam_Curve = 2 KRenderQuality_High = 96 KRenderQuality_Low = 32 KRenderQuality_Max = 127 KRenderQuality_Medium = 64 KRenderQuality_Min = 0 KReverb2Param_DecayTimeAt0Hz = 4 KReverb2Param_DecayTimeAtNyquist = 5 KReverb2Param_DryWetMix = 0 KReverb2Param_Gain = 1 KReverb2Param_MaxDelayTime = 3 KReverb2Param_MinDelayTime = 2 KReverb2Param_RandomizeReflections = 6 KReverbParam_DryWetMix = 0 KReverbParam_FilterBandwidth = 15 KReverbParam_FilterEnable = 18 KReverbParam_FilterFrequency = 14 KReverbParam_FilterGain = 16 KReverbParam_FilterType = 17 KReverbParam_LargeBrightness = 10 KReverbParam_LargeDelay = 5 KReverbParam_LargeDelayRange = 8 KReverbParam_LargeDensity = 7 KReverbParam_LargeSize = 3 KReverbParam_ModulationDepth = 13 KReverbParam_ModulationRate = 12 KReverbParam_PreDelay = 4 KReverbParam_SmallBrightness = 9 KReverbParam_SmallDelayRange = 11 KReverbParam_SmallDensity = 6 KReverbParam_SmallLargeMix = 1 KReverbParam_SmallSize = 2 KRogerBeepParam_InGateThreshold = 0 KRogerBeepParam_InGateThresholdTime = 1 KRogerBeepParam_OutGateThreshold = 2 KRogerBeepParam_OutGateThresholdTime = 3 KRogerBeepParam_RogerGain = 6 KRogerBeepParam_RogerType = 5 KRogerBeepParam_Sensitivity = 4 KRoundTripAACParam_BitRate = 1 KRoundTripAACParam_CompressedFormatSampleRate = 3 KRoundTripAACParam_EncodingStrategy = 1 KRoundTripAACParam_Format = 0 KRoundTripAACParam_Quality = 2 KRoundTripAACParam_RateOrQuality = 2 KSampleDelayParam_DelayFrames = 0 KSequenceTrackProperty_AutomatedParameters = 4 KSequenceTrackProperty_LoopInfo = 0 KSequenceTrackProperty_MuteStatus = 2 KSequenceTrackProperty_OffsetTime = 1 KSequenceTrackProperty_SoloStatus = 3 KSequenceTrackProperty_TimeResolution = 6 KSequenceTrackProperty_TrackLength = 5 KSpatialMixerParam_Azimuth = 0 KSpatialMixerParam_Distance = 2 KSpatialMixerParam_Elevation = 1 KSpatialMixerParam_Enable = 5 KSpatialMixerParam_Gain = 3 KSpatialMixerParam_GlobalReverbGain = 9 KSpatialMixerParam_HeadPitch = 20 KSpatialMixerParam_HeadRoll = 21 KSpatialMixerParam_HeadYaw = 19 KSpatialMixerParam_MaxGain = 7 KSpatialMixerParam_MinGain = 6 KSpatialMixerParam_ObstructionAttenuation = 11 KSpatialMixerParam_OcclusionAttenuation = 10 KSpatialMixerParam_PlaybackRate = 4 KSpatialMixerParam_ReverbBlend = 8 KSpeakerConfiguration_5_0 = 3 KSpeakerConfiguration_5_1 = 3 KSpeakerConfiguration_HeadPhones = 0 KSpeakerConfiguration_Quad = 2 KSpeakerConfiguration_Stereo = 1 KStereoMixerParam_Pan = 1 KStereoMixerParam_PostAveragePower = 3000 KStereoMixerParam_PostPeakHoldLevel = 4000 KStereoMixerParam_PreAveragePower = 1000 KStereoMixerParam_PrePeakHoldLevel = 2000 KStereoMixerParam_Volume = 0 KSystemSoundID_FlashScreen = 4094 KSystemSoundID_UserPreferredAlert = 4096 KSystemSoundID_Vibrate = 4095 KTimePitchParam_EffectBlend = 2 KTimePitchParam_Pitch = 1 KTimePitchParam_Rate = 0 KUserPreferredAlert = 4096 KVarispeedParam_PlaybackCents = 1 KVarispeedParam_PlaybackRate = 0 )
Variables ¶
This section is empty.
Functions ¶
func AUEventListenerAddEventType ¶
func AUEventListenerAddEventType(inListener unsafe.Pointer, inObject unsafe.Pointer, inEvent unsafe.Pointer) int
AUEventListenerAddEventType calls the AudioToolbox framework function AUEventListenerAddEventType.
func AUEventListenerCreate ¶
func AUEventListenerCreate(inProc unsafe.Pointer, inUserData unsafe.Pointer, inRunLoop obj.Object, inRunLoopMode obj.Object, inNotificationInterval float32, inValueChangeGranularity float32, outListener unsafe.Pointer) error
AUEventListenerCreate reports an error if the AudioToolbox framework function AUEventListenerCreate fails.
func AUEventListenerCreateWithDispatchQueue ¶
func AUEventListenerCreateWithDispatchQueue(outListener unsafe.Pointer, inNotificationInterval float32, inValueChangeGranularity float32, inDispatchQueue dispatch.Queue, inBlock unsafe.Pointer) int
AUEventListenerCreateWithDispatchQueue calls the AudioToolbox framework function AUEventListenerCreateWithDispatchQueue.
func AUEventListenerNotify ¶
func AUEventListenerNotify(inSendingListener unsafe.Pointer, inSendingObject unsafe.Pointer, inEvent unsafe.Pointer) int
AUEventListenerNotify calls the AudioToolbox framework function AUEventListenerNotify.
func AUEventListenerRemoveEventType ¶
func AUEventListenerRemoveEventType(inListener unsafe.Pointer, inObject unsafe.Pointer, inEvent unsafe.Pointer) int
AUEventListenerRemoveEventType calls the AudioToolbox framework function AUEventListenerRemoveEventType.
func AUGraphAddNode ¶
func AUGraphAddNode(inGraph AUGraph, inDescription *AudioComponentDescription) (result int, outNode int)
AUGraphAddNode calls the AudioToolbox framework function AUGraphAddNode.
func AUGraphAddRenderNotify ¶
func AUGraphAddRenderNotify(inGraph AUGraph, inCallback unsafe.Pointer, inRefCon unsafe.Pointer) error
AUGraphAddRenderNotify reports an error if the AudioToolbox framework function AUGraphAddRenderNotify fails.
func AUGraphClearConnections ¶
AUGraphClearConnections reports an error if the AudioToolbox framework function AUGraphClearConnections fails.
func AUGraphClose ¶
AUGraphClose reports an error if the AudioToolbox framework function AUGraphClose fails.
func AUGraphConnectNodeInput ¶
func AUGraphConnectNodeInput(inGraph AUGraph, inSourceNode int, inSourceOutputNumber int, inDestNode int, inDestInputNumber int) error
AUGraphConnectNodeInput reports an error if the AudioToolbox framework function AUGraphConnectNodeInput fails.
func AUGraphCountNodeConnections ¶
AUGraphCountNodeConnections calls the AudioToolbox framework function AUGraphCountNodeConnections.
func AUGraphCountNodeInteractions ¶
AUGraphCountNodeInteractions calls the AudioToolbox framework function AUGraphCountNodeInteractions.
func AUGraphDisconnectNodeInput ¶
AUGraphDisconnectNodeInput reports an error if the AudioToolbox framework function AUGraphDisconnectNodeInput fails.
func AUGraphGetCPULoad ¶
AUGraphGetCPULoad calls the AudioToolbox framework function AUGraphGetCPULoad.
func AUGraphGetConnectionInfo ¶
func AUGraphGetConnectionInfo(inGraph AUGraph, inConnectionIndex int) (result int, outSourceNode int, outSourceOutputNumber int, outDestNode int, outDestInputNumber int)
AUGraphGetConnectionInfo calls the AudioToolbox framework function AUGraphGetConnectionInfo.
func AUGraphGetIndNode ¶
AUGraphGetIndNode calls the AudioToolbox framework function AUGraphGetIndNode.
func AUGraphGetInteractionInfo ¶
func AUGraphGetInteractionInfo(inGraph AUGraph, inInteractionIndex int, outInteraction unsafe.Pointer) int
AUGraphGetInteractionInfo calls the AudioToolbox framework function AUGraphGetInteractionInfo.
func AUGraphGetMaxCPULoad ¶
AUGraphGetMaxCPULoad calls the AudioToolbox framework function AUGraphGetMaxCPULoad.
func AUGraphGetNodeCount ¶
AUGraphGetNodeCount calls the AudioToolbox framework function AUGraphGetNodeCount.
func AUGraphGetNodeInfo ¶
func AUGraphGetNodeInfo(inGraph AUGraph, inNode int, outDescription *carboncore.ComponentDescription, outClassData unsafe.Pointer, outAudioUnit unsafe.Pointer) (result int, outClassDataSize int)
AUGraphGetNodeInfo calls the AudioToolbox framework function AUGraphGetNodeInfo.
func AUGraphGetNodeInfoSubGraph ¶
AUGraphGetNodeInfoSubGraph reports an error if the AudioToolbox framework function AUGraphGetNodeInfoSubGraph fails.
func AUGraphGetNodeInteractions ¶
func AUGraphGetNodeInteractions(inGraph AUGraph, inNode int, outInteractions unsafe.Pointer) (result int, ioNumInteractions int)
AUGraphGetNodeInteractions calls the AudioToolbox framework function AUGraphGetNodeInteractions.
func AUGraphGetNumberOfConnections ¶
AUGraphGetNumberOfConnections calls the AudioToolbox framework function AUGraphGetNumberOfConnections.
func AUGraphGetNumberOfInteractions ¶
AUGraphGetNumberOfInteractions calls the AudioToolbox framework function AUGraphGetNumberOfInteractions.
func AUGraphInitialize ¶
AUGraphInitialize reports an error if the AudioToolbox framework function AUGraphInitialize fails.
func AUGraphIsInitialized ¶
AUGraphIsInitialized calls the AudioToolbox framework function AUGraphIsInitialized.
func AUGraphIsNodeSubGraph ¶
AUGraphIsNodeSubGraph calls the AudioToolbox framework function AUGraphIsNodeSubGraph.
func AUGraphIsOpen ¶
AUGraphIsOpen calls the AudioToolbox framework function AUGraphIsOpen.
func AUGraphIsRunning ¶
AUGraphIsRunning calls the AudioToolbox framework function AUGraphIsRunning.
func AUGraphNewNode ¶
func AUGraphNewNode(inGraph AUGraph, inDescription *carboncore.ComponentDescription, inClassDataSize int, inClassData unsafe.Pointer) (result int, outNode int)
AUGraphNewNode calls the AudioToolbox framework function AUGraphNewNode.
func AUGraphNewNodeSubGraph ¶
AUGraphNewNodeSubGraph calls the AudioToolbox framework function AUGraphNewNodeSubGraph.
func AUGraphOpen ¶
AUGraphOpen reports an error if the AudioToolbox framework function AUGraphOpen fails.
func AUGraphRemoveNode ¶
AUGraphRemoveNode reports an error if the AudioToolbox framework function AUGraphRemoveNode fails.
func AUGraphRemoveRenderNotify ¶
func AUGraphRemoveRenderNotify(inGraph AUGraph, inCallback unsafe.Pointer, inRefCon unsafe.Pointer) error
AUGraphRemoveRenderNotify reports an error if the AudioToolbox framework function AUGraphRemoveRenderNotify fails.
func AUGraphSetNodeInputCallback ¶
func AUGraphSetNodeInputCallback(inGraph AUGraph, inDestNode int, inDestInputNumber int, inInputCallback unsafe.Pointer) int
AUGraphSetNodeInputCallback calls the AudioToolbox framework function AUGraphSetNodeInputCallback.
func AUGraphStart ¶
AUGraphStart reports an error if the AudioToolbox framework function AUGraphStart fails.
func AUGraphStop ¶
AUGraphStop reports an error if the AudioToolbox framework function AUGraphStop fails.
func AUGraphUninitialize ¶
AUGraphUninitialize reports an error if the AudioToolbox framework function AUGraphUninitialize fails.
func AUGraphUpdate ¶
AUGraphUpdate calls the AudioToolbox framework function AUGraphUpdate.
func AUListenerAddParameter ¶
func AUListenerAddParameter(inListener AUParameterListenerRef, inObject unsafe.Pointer, inParameter unsafe.Pointer) int
AUListenerAddParameter calls the AudioToolbox framework function AUListenerAddParameter.
func AUListenerCreate ¶
func AUListenerCreate(inProc unsafe.Pointer, inUserData unsafe.Pointer, inRunLoop obj.Object, inRunLoopMode obj.Object, inNotificationInterval float32, outListener unsafe.Pointer) error
AUListenerCreate reports an error if the AudioToolbox framework function AUListenerCreate fails.
func AUListenerCreateWithDispatchQueue ¶
func AUListenerCreateWithDispatchQueue(outListener unsafe.Pointer, inNotificationInterval float32, inDispatchQueue dispatch.Queue, inBlock unsafe.Pointer) int
AUListenerCreateWithDispatchQueue calls the AudioToolbox framework function AUListenerCreateWithDispatchQueue.
func AUListenerDispose ¶
func AUListenerDispose(inListener AUParameterListenerRef) error
AUListenerDispose reports an error if the AudioToolbox framework function AUListenerDispose fails.
func AUListenerRemoveParameter ¶
func AUListenerRemoveParameter(inListener AUParameterListenerRef, inObject unsafe.Pointer, inParameter unsafe.Pointer) int
AUListenerRemoveParameter calls the AudioToolbox framework function AUListenerRemoveParameter.
func AUParameterFormatValue ¶
func AUParameterFormatValue(inParameterValue float64, inParameter unsafe.Pointer, inTextBuffer string, inDigits int) string
AUParameterFormatValue calls the AudioToolbox framework function AUParameterFormatValue.
func AUParameterListenerNotify ¶
func AUParameterListenerNotify(inSendingListener AUParameterListenerRef, inSendingObject unsafe.Pointer, inParameter unsafe.Pointer) int
AUParameterListenerNotify calls the AudioToolbox framework function AUParameterListenerNotify.
func AUParameterSet ¶
func AUParameterSet(inSendingListener AUParameterListenerRef, inSendingObject unsafe.Pointer, inParameter unsafe.Pointer, inValue float32, inBufferOffsetInFrames int) int
AUParameterSet calls the AudioToolbox framework function AUParameterSet.
func AUParameterValueFromLinear ¶
AUParameterValueFromLinear calls the AudioToolbox framework function AUParameterValueFromLinear.
func AUParameterValueToLinear ¶
AUParameterValueToLinear calls the AudioToolbox framework function AUParameterValueToLinear.
func AudioCodecAppendInputBufferList ¶
func AudioCodecAppendInputBufferList(inCodec *carboncore.ComponentInstanceRecord, inBufferList unsafe.Pointer, inPacketDescription *coreaudiotypes.AudioStreamPacketDescription) (result int, ioNumberPackets int, outBytesConsumed int)
AudioCodecAppendInputBufferList calls the AudioToolbox framework function AudioCodecAppendInputBufferList.
func AudioCodecAppendInputData ¶
func AudioCodecAppendInputData(inCodec *carboncore.ComponentInstanceRecord, inInputData unsafe.Pointer, inPacketDescription *coreaudiotypes.AudioStreamPacketDescription) (result int, ioInputDataByteSize int, ioNumberPackets int)
AudioCodecAppendInputData calls the AudioToolbox framework function AudioCodecAppendInputData.
func AudioCodecGetProperty ¶
func AudioCodecGetProperty(inCodec *carboncore.ComponentInstanceRecord, inPropertyID int, outPropertyData unsafe.Pointer) (result int, ioPropertyDataSize int)
AudioCodecGetProperty calls the AudioToolbox framework function AudioCodecGetProperty.
func AudioCodecGetPropertyInfo ¶
func AudioCodecGetPropertyInfo(inCodec *carboncore.ComponentInstanceRecord, inPropertyID int) (result int, outSize int, outWritable uint8)
AudioCodecGetPropertyInfo calls the AudioToolbox framework function AudioCodecGetPropertyInfo.
func AudioCodecInitialize ¶
func AudioCodecInitialize(inCodec *carboncore.ComponentInstanceRecord, inInputFormat *coreaudiotypes.AudioStreamBasicDescription, inOutputFormat *coreaudiotypes.AudioStreamBasicDescription, inMagicCookie unsafe.Pointer, inMagicCookieByteSize int) error
AudioCodecInitialize reports an error if the AudioToolbox framework function AudioCodecInitialize fails.
func AudioCodecProduceOutputBufferList ¶
func AudioCodecProduceOutputBufferList(inCodec *carboncore.ComponentInstanceRecord, ioBufferList unsafe.Pointer, outPacketDescription *coreaudiotypes.AudioStreamPacketDescription) (result int, ioNumberPackets int, outStatus int)
AudioCodecProduceOutputBufferList calls the AudioToolbox framework function AudioCodecProduceOutputBufferList.
func AudioCodecProduceOutputPackets ¶
func AudioCodecProduceOutputPackets(inCodec *carboncore.ComponentInstanceRecord, outOutputData unsafe.Pointer, outPacketDescription *coreaudiotypes.AudioStreamPacketDescription) (result int, ioOutputDataByteSize int, ioNumberPackets int, outStatus int)
AudioCodecProduceOutputPackets calls the AudioToolbox framework function AudioCodecProduceOutputPackets.
func AudioCodecReset ¶
func AudioCodecReset(inCodec *carboncore.ComponentInstanceRecord) error
AudioCodecReset reports an error if the AudioToolbox framework function AudioCodecReset fails.
func AudioCodecSetProperty ¶
func AudioCodecSetProperty(inCodec *carboncore.ComponentInstanceRecord, inPropertyID int, inPropertyDataSize int, inPropertyData unsafe.Pointer) error
AudioCodecSetProperty reports an error if the AudioToolbox framework function AudioCodecSetProperty fails.
func AudioCodecUninitialize ¶
func AudioCodecUninitialize(inCodec *carboncore.ComponentInstanceRecord) error
AudioCodecUninitialize reports an error if the AudioToolbox framework function AudioCodecUninitialize fails.
func AudioComponentCopyConfigurationInfo ¶
func AudioComponentCopyConfigurationInfo(inComponent AudioComponent) (obj.Object, error)
AudioComponentCopyConfigurationInfo reports an error if the AudioToolbox framework function AudioComponentCopyConfigurationInfo fails.
func AudioComponentCopyIcon ¶
func AudioComponentCopyIcon(comp AudioComponent) unsafe.Pointer
AudioComponentCopyIcon calls the AudioToolbox framework function AudioComponentCopyIcon.
func AudioComponentCopyName ¶
func AudioComponentCopyName(inComponent AudioComponent) (obj.Object, error)
AudioComponentCopyName reports an error if the AudioToolbox framework function AudioComponentCopyName fails.
func AudioComponentCount ¶
func AudioComponentCount(inDesc *AudioComponentDescription) int
AudioComponentCount calls the AudioToolbox framework function AudioComponentCount.
func AudioComponentGetDescription ¶
func AudioComponentGetDescription(inComponent AudioComponent, outDesc *AudioComponentDescription) error
AudioComponentGetDescription reports an error if the AudioToolbox framework function AudioComponentGetDescription fails.
func AudioComponentGetIcon ¶
func AudioComponentGetIcon(comp AudioComponent) obj.Object
AudioComponentGetIcon calls the AudioToolbox framework function AudioComponentGetIcon.
func AudioComponentGetVersion ¶
func AudioComponentGetVersion(inComponent AudioComponent) (result int, outVersion int)
AudioComponentGetVersion calls the AudioToolbox framework function AudioComponentGetVersion.
func AudioComponentInstanceCanDo ¶
func AudioComponentInstanceCanDo(inInstance *carboncore.ComponentInstanceRecord, inSelectorID int16) uint8
AudioComponentInstanceCanDo calls the AudioToolbox framework function AudioComponentInstanceCanDo.
func AudioComponentInstanceDispose ¶
func AudioComponentInstanceDispose(inInstance *carboncore.ComponentInstanceRecord) error
AudioComponentInstanceDispose reports an error if the AudioToolbox framework function AudioComponentInstanceDispose fails.
func AudioComponentInstanceNew ¶
func AudioComponentInstanceNew(inComponent AudioComponent, outInstance unsafe.Pointer) int
AudioComponentInstanceNew calls the AudioToolbox framework function AudioComponentInstanceNew.
func AudioComponentInstantiate ¶
func AudioComponentInstantiate(inComponent AudioComponent, inOptions AudioComponentInstantiationOptions, inCompletionHandler unsafe.Pointer)
AudioComponentInstantiate calls the AudioToolbox framework function AudioComponentInstantiate.
func AudioComponentValidateWithResults ¶
func AudioComponentValidateWithResults(inComponent AudioComponent, inValidationParameters obj.Object, inCompletionHandler obj.Object) error
AudioComponentValidateWithResults reports an error if the AudioToolbox framework function AudioComponentValidateWithResults fails.
func AudioConverterConvertBuffer ¶
func AudioConverterConvertBuffer(inAudioConverter AudioConverterRef, inInputDataSize int, inInputData unsafe.Pointer, outOutputData unsafe.Pointer) (result int, ioOutputDataSize int)
AudioConverterConvertBuffer calls the AudioToolbox framework function AudioConverterConvertBuffer.
func AudioConverterConvertComplexBuffer ¶
func AudioConverterConvertComplexBuffer(inAudioConverter AudioConverterRef, inNumberPCMFrames int, inInputData unsafe.Pointer, outOutputData unsafe.Pointer) int
AudioConverterConvertComplexBuffer calls the AudioToolbox framework function AudioConverterConvertComplexBuffer.
func AudioConverterDispose ¶
func AudioConverterDispose(inAudioConverter AudioConverterRef) error
AudioConverterDispose reports an error if the AudioToolbox framework function AudioConverterDispose fails.
func AudioConverterFillBuffer ¶
func AudioConverterFillBuffer(inAudioConverter AudioConverterRef, inInputDataProc unsafe.Pointer, inInputDataProcUserData unsafe.Pointer, outOutputData unsafe.Pointer) (result int, ioOutputDataSize int)
AudioConverterFillBuffer calls the AudioToolbox framework function AudioConverterFillBuffer.
func AudioConverterFillComplexBuffer ¶
func AudioConverterFillComplexBuffer(inAudioConverter AudioConverterRef, inInputDataProc unsafe.Pointer, inInputDataProcUserData unsafe.Pointer, outOutputData unsafe.Pointer, outPacketDescription *coreaudiotypes.AudioStreamPacketDescription) (result int, ioOutputDataPacketSize int)
AudioConverterFillComplexBuffer calls the AudioToolbox framework function AudioConverterFillComplexBuffer.
func AudioConverterFillComplexBufferRealtimeSafe ¶
func AudioConverterFillComplexBufferRealtimeSafe(inAudioConverter AudioConverterRef, inInputDataProc unsafe.Pointer, inInputDataProcUserData unsafe.Pointer, outOutputData unsafe.Pointer, outPacketDescription *coreaudiotypes.AudioStreamPacketDescription) (result int, ioOutputDataPacketSize int)
AudioConverterFillComplexBufferRealtimeSafe calls the AudioToolbox framework function AudioConverterFillComplexBufferRealtimeSafe.
func AudioConverterFillComplexBufferWithPacketDependencies ¶
func AudioConverterFillComplexBufferWithPacketDependencies(inAudioConverter AudioConverterRef, inInputDataProc unsafe.Pointer, inInputDataProcUserData unsafe.Pointer, outOutputData unsafe.Pointer, outPacketDescriptions *coreaudiotypes.AudioStreamPacketDescription, outPacketDependencies *coreaudiotypes.AudioStreamPacketDependencyDescription) (result int, ioOutputDataPacketSize int)
AudioConverterFillComplexBufferWithPacketDependencies calls the AudioToolbox framework function AudioConverterFillComplexBufferWithPacketDependencies.
func AudioConverterGetProperty ¶
func AudioConverterGetProperty(inAudioConverter AudioConverterRef, inPropertyID int, outPropertyData unsafe.Pointer) (result int, ioPropertyDataSize int)
AudioConverterGetProperty calls the AudioToolbox framework function AudioConverterGetProperty.
func AudioConverterGetPropertyInfo ¶
func AudioConverterGetPropertyInfo(inAudioConverter AudioConverterRef, inPropertyID int) (result int, outSize int, outWritable uint8)
AudioConverterGetPropertyInfo calls the AudioToolbox framework function AudioConverterGetPropertyInfo.
func AudioConverterNew ¶
func AudioConverterNew(inSourceFormat *coreaudiotypes.AudioStreamBasicDescription, inDestinationFormat *coreaudiotypes.AudioStreamBasicDescription, outAudioConverter unsafe.Pointer) error
AudioConverterNew reports an error if the AudioToolbox framework function AudioConverterNew fails.
func AudioConverterNewSpecific ¶
func AudioConverterNewSpecific(inSourceFormat *coreaudiotypes.AudioStreamBasicDescription, inDestinationFormat *coreaudiotypes.AudioStreamBasicDescription, inNumberClassDescriptions int, inClassDescriptions *coreaudiotypes.AudioClassDescription, outAudioConverter unsafe.Pointer) error
AudioConverterNewSpecific reports an error if the AudioToolbox framework function AudioConverterNewSpecific fails.
func AudioConverterNewWithOptions ¶
func AudioConverterNewWithOptions(inSourceFormat *coreaudiotypes.AudioStreamBasicDescription, inDestinationFormat *coreaudiotypes.AudioStreamBasicDescription, inOptions AudioConverterOptions, outAudioConverter unsafe.Pointer) error
AudioConverterNewWithOptions reports an error if the AudioToolbox framework function AudioConverterNewWithOptions fails.
func AudioConverterPrepare ¶
AudioConverterPrepare calls the AudioToolbox framework function AudioConverterPrepare.
func AudioConverterReset ¶
func AudioConverterReset(inAudioConverter AudioConverterRef) error
AudioConverterReset reports an error if the AudioToolbox framework function AudioConverterReset fails.
func AudioConverterSetProperty ¶
func AudioConverterSetProperty(inAudioConverter AudioConverterRef, inPropertyID int, inPropertyDataSize int, inPropertyData unsafe.Pointer) error
AudioConverterSetProperty reports an error if the AudioToolbox framework function AudioConverterSetProperty fails.
func AudioFileClose ¶
AudioFileClose reports an error if the AudioToolbox framework function AudioFileClose fails.
func AudioFileComponentCloseFile ¶
func AudioFileComponentCloseFile(inComponent *carboncore.ComponentInstanceRecord) error
AudioFileComponentCloseFile reports an error if the AudioToolbox framework function AudioFileComponentCloseFile fails.
func AudioFileComponentCountUserData ¶
func AudioFileComponentCountUserData(inComponent *carboncore.ComponentInstanceRecord, inUserDataID int) (result int, outNumberItems int)
AudioFileComponentCountUserData calls the AudioToolbox framework function AudioFileComponentCountUserData.
func AudioFileComponentCreate ¶
func AudioFileComponentCreate(inComponent *carboncore.ComponentInstanceRecord, inParentRef *carboncore.FSRef, inFileName obj.Object, inFormat *coreaudiotypes.AudioStreamBasicDescription, inFlags int, outNewFileRef *carboncore.FSRef) error
AudioFileComponentCreate reports an error if the AudioToolbox framework function AudioFileComponentCreate fails.
func AudioFileComponentCreateURL ¶
func AudioFileComponentCreateURL(inComponent *carboncore.ComponentInstanceRecord, inFileRef obj.Object, inFormat *coreaudiotypes.AudioStreamBasicDescription, inFlags int) error
AudioFileComponentCreateURL reports an error if the AudioToolbox framework function AudioFileComponentCreateURL fails.
func AudioFileComponentDataIsThisFormat ¶
func AudioFileComponentDataIsThisFormat(inComponent *carboncore.ComponentInstanceRecord, inClientData unsafe.Pointer, inReadFunc unsafe.Pointer, inWriteFunc unsafe.Pointer, inGetSizeFunc unsafe.Pointer, inSetSizeFunc unsafe.Pointer) (result int, outResult int)
AudioFileComponentDataIsThisFormat calls the AudioToolbox framework function AudioFileComponentDataIsThisFormat.
func AudioFileComponentExtensionIsThisFormat ¶
func AudioFileComponentExtensionIsThisFormat(inComponent *carboncore.ComponentInstanceRecord, inExtension corefoundation.CFStringRef) (result int, outResult int)
AudioFileComponentExtensionIsThisFormat calls the AudioToolbox framework function AudioFileComponentExtensionIsThisFormat.
func AudioFileComponentFileDataIsThisFormat ¶
func AudioFileComponentFileDataIsThisFormat(inComponent *carboncore.ComponentInstanceRecord, inDataByteSize int, inData unsafe.Pointer) (result int, outResult int)
AudioFileComponentFileDataIsThisFormat calls the AudioToolbox framework function AudioFileComponentFileDataIsThisFormat.
func AudioFileComponentFileIsThisFormat ¶
func AudioFileComponentFileIsThisFormat(inComponent *carboncore.ComponentInstanceRecord, inFileRefNum int16) (result int, outResult int)
AudioFileComponentFileIsThisFormat calls the AudioToolbox framework function AudioFileComponentFileIsThisFormat.
func AudioFileComponentGetGlobalInfo ¶
func AudioFileComponentGetGlobalInfo(inComponent *carboncore.ComponentInstanceRecord, inPropertyID int, inSpecifierSize int, inSpecifier unsafe.Pointer, outPropertyData unsafe.Pointer) (result int, ioPropertyDataSize int)
AudioFileComponentGetGlobalInfo calls the AudioToolbox framework function AudioFileComponentGetGlobalInfo.
func AudioFileComponentGetGlobalInfoSize ¶
func AudioFileComponentGetGlobalInfoSize(inComponent *carboncore.ComponentInstanceRecord, inPropertyID int, inSpecifierSize int, inSpecifier unsafe.Pointer) (result int, outPropertySize int)
AudioFileComponentGetGlobalInfoSize calls the AudioToolbox framework function AudioFileComponentGetGlobalInfoSize.
func AudioFileComponentGetProperty ¶
func AudioFileComponentGetProperty(inComponent *carboncore.ComponentInstanceRecord, inPropertyID int, outPropertyData unsafe.Pointer) (result int, ioPropertyDataSize int)
AudioFileComponentGetProperty calls the AudioToolbox framework function AudioFileComponentGetProperty.
func AudioFileComponentGetPropertyInfo ¶
func AudioFileComponentGetPropertyInfo(inComponent *carboncore.ComponentInstanceRecord, inPropertyID int) (result int, outPropertySize int, outWritable int)
AudioFileComponentGetPropertyInfo calls the AudioToolbox framework function AudioFileComponentGetPropertyInfo.
func AudioFileComponentGetUserData ¶
func AudioFileComponentGetUserData(inComponent *carboncore.ComponentInstanceRecord, inUserDataID int, inIndex int, outUserData unsafe.Pointer) (result int, ioUserDataSize int)
AudioFileComponentGetUserData calls the AudioToolbox framework function AudioFileComponentGetUserData.
func AudioFileComponentGetUserDataAtOffset ¶
func AudioFileComponentGetUserDataAtOffset(inComponent *carboncore.ComponentInstanceRecord, inUserDataID int, inIndex int, inOffset int64, outUserData unsafe.Pointer) (result int, ioUserDataSize int)
AudioFileComponentGetUserDataAtOffset calls the AudioToolbox framework function AudioFileComponentGetUserDataAtOffset.
func AudioFileComponentGetUserDataSize ¶
func AudioFileComponentGetUserDataSize(inComponent *carboncore.ComponentInstanceRecord, inUserDataID int, inIndex int) (result int, outUserDataSize int)
AudioFileComponentGetUserDataSize calls the AudioToolbox framework function AudioFileComponentGetUserDataSize.
func AudioFileComponentGetUserDataSize64 ¶
func AudioFileComponentGetUserDataSize64(inComponent *carboncore.ComponentInstanceRecord, inUserDataID int, inIndex int) (result int, outUserDataSize uint64)
AudioFileComponentGetUserDataSize64 calls the AudioToolbox framework function AudioFileComponentGetUserDataSize64.
func AudioFileComponentInitialize ¶
func AudioFileComponentInitialize(inComponent *carboncore.ComponentInstanceRecord, inFileRef *carboncore.FSRef, inFormat *coreaudiotypes.AudioStreamBasicDescription, inFlags int) error
AudioFileComponentInitialize reports an error if the AudioToolbox framework function AudioFileComponentInitialize fails.
func AudioFileComponentInitializeWithCallbacks ¶
func AudioFileComponentInitializeWithCallbacks(inComponent *carboncore.ComponentInstanceRecord, inClientData unsafe.Pointer, inReadFunc unsafe.Pointer, inWriteFunc unsafe.Pointer, inGetSizeFunc unsafe.Pointer, inSetSizeFunc unsafe.Pointer, inFileType int, inFormat *coreaudiotypes.AudioStreamBasicDescription, inFlags int) error
AudioFileComponentInitializeWithCallbacks reports an error if the AudioToolbox framework function AudioFileComponentInitializeWithCallbacks fails.
func AudioFileComponentOpenFile ¶
func AudioFileComponentOpenFile(inComponent *carboncore.ComponentInstanceRecord, inFileRef *carboncore.FSRef, inPermissions int8, inRefNum int16) error
AudioFileComponentOpenFile reports an error if the AudioToolbox framework function AudioFileComponentOpenFile fails.
func AudioFileComponentOpenURL ¶
func AudioFileComponentOpenURL(inComponent *carboncore.ComponentInstanceRecord, inFileRef obj.Object, inPermissions int8, inFileDescriptor int) error
AudioFileComponentOpenURL reports an error if the AudioToolbox framework function AudioFileComponentOpenURL fails.
func AudioFileComponentOpenWithCallbacks ¶
func AudioFileComponentOpenWithCallbacks(inComponent *carboncore.ComponentInstanceRecord, inClientData unsafe.Pointer, inReadFunc unsafe.Pointer, inWriteFunc unsafe.Pointer, inGetSizeFunc unsafe.Pointer, inSetSizeFunc unsafe.Pointer) error
AudioFileComponentOpenWithCallbacks reports an error if the AudioToolbox framework function AudioFileComponentOpenWithCallbacks fails.
func AudioFileComponentOptimize ¶
func AudioFileComponentOptimize(inComponent *carboncore.ComponentInstanceRecord) error
AudioFileComponentOptimize reports an error if the AudioToolbox framework function AudioFileComponentOptimize fails.
func AudioFileComponentReadBytes ¶
func AudioFileComponentReadBytes(inComponent *carboncore.ComponentInstanceRecord, inUseCache uint8, inStartingByte int64, outBuffer unsafe.Pointer) (result int, ioNumBytes int)
AudioFileComponentReadBytes calls the AudioToolbox framework function AudioFileComponentReadBytes.
func AudioFileComponentReadPacketData ¶
func AudioFileComponentReadPacketData(inComponent *carboncore.ComponentInstanceRecord, inUseCache uint8, outPacketDescriptions *coreaudiotypes.AudioStreamPacketDescription, inStartingPacket int64, outBuffer unsafe.Pointer) (result int, ioNumBytes int, ioNumPackets int)
AudioFileComponentReadPacketData calls the AudioToolbox framework function AudioFileComponentReadPacketData.
func AudioFileComponentReadPackets ¶
func AudioFileComponentReadPackets(inComponent *carboncore.ComponentInstanceRecord, inUseCache uint8, outPacketDescriptions *coreaudiotypes.AudioStreamPacketDescription, inStartingPacket int64, outBuffer unsafe.Pointer) (result int, outNumBytes int, ioNumPackets int)
AudioFileComponentReadPackets calls the AudioToolbox framework function AudioFileComponentReadPackets.
func AudioFileComponentRemoveUserData ¶
func AudioFileComponentRemoveUserData(inComponent *carboncore.ComponentInstanceRecord, inUserDataID int, inIndex int) error
AudioFileComponentRemoveUserData reports an error if the AudioToolbox framework function AudioFileComponentRemoveUserData fails.
func AudioFileComponentSetProperty ¶
func AudioFileComponentSetProperty(inComponent *carboncore.ComponentInstanceRecord, inPropertyID int, inPropertyDataSize int, inPropertyData unsafe.Pointer) error
AudioFileComponentSetProperty reports an error if the AudioToolbox framework function AudioFileComponentSetProperty fails.
func AudioFileComponentSetUserData ¶
func AudioFileComponentSetUserData(inComponent *carboncore.ComponentInstanceRecord, inUserDataID int, inIndex int, inUserDataSize int, inUserData unsafe.Pointer) error
AudioFileComponentSetUserData reports an error if the AudioToolbox framework function AudioFileComponentSetUserData fails.
func AudioFileComponentWriteBytes ¶
func AudioFileComponentWriteBytes(inComponent *carboncore.ComponentInstanceRecord, inUseCache uint8, inStartingByte int64, inBuffer unsafe.Pointer) (result int, ioNumBytes int)
AudioFileComponentWriteBytes calls the AudioToolbox framework function AudioFileComponentWriteBytes.
func AudioFileComponentWritePackets ¶
func AudioFileComponentWritePackets(inComponent *carboncore.ComponentInstanceRecord, inUseCache uint8, inNumBytes int, inPacketDescriptions *coreaudiotypes.AudioStreamPacketDescription, inStartingPacket int64, inBuffer unsafe.Pointer) (result int, ioNumPackets int)
AudioFileComponentWritePackets calls the AudioToolbox framework function AudioFileComponentWritePackets.
func AudioFileCountUserData ¶
func AudioFileCountUserData(inAudioFile unsafe.Pointer, inUserDataID int) (result int, outNumberItems int)
AudioFileCountUserData calls the AudioToolbox framework function AudioFileCountUserData.
func AudioFileCreate ¶
func AudioFileCreate(inParentRef *carboncore.FSRef, inFileName obj.Object, inFileType int, inFormat *coreaudiotypes.AudioStreamBasicDescription, inFlags AudioFileFlags, outNewFileRef *carboncore.FSRef, outAudioFile unsafe.Pointer) error
AudioFileCreate reports an error if the AudioToolbox framework function AudioFileCreate fails.
func AudioFileCreateWithURL ¶
func AudioFileCreateWithURL(inFileRef obj.Object, inFileType int, inFormat *coreaudiotypes.AudioStreamBasicDescription, inFlags AudioFileFlags, outAudioFile unsafe.Pointer) error
AudioFileCreateWithURL reports an error if the AudioToolbox framework function AudioFileCreateWithURL fails.
func AudioFileGetGlobalInfo ¶
func AudioFileGetGlobalInfo(inPropertyID int, inSpecifierSize int, inSpecifier unsafe.Pointer, outPropertyData unsafe.Pointer) (result int, ioDataSize int)
AudioFileGetGlobalInfo calls the AudioToolbox framework function AudioFileGetGlobalInfo.
func AudioFileGetGlobalInfoSize ¶
func AudioFileGetGlobalInfoSize(inPropertyID int, inSpecifierSize int, inSpecifier unsafe.Pointer) (result int, outDataSize int)
AudioFileGetGlobalInfoSize calls the AudioToolbox framework function AudioFileGetGlobalInfoSize.
func AudioFileGetProperty ¶
func AudioFileGetProperty(inAudioFile unsafe.Pointer, inPropertyID int, outPropertyData unsafe.Pointer) (result int, ioDataSize int)
AudioFileGetProperty calls the AudioToolbox framework function AudioFileGetProperty.
func AudioFileGetPropertyInfo ¶
func AudioFileGetPropertyInfo(inAudioFile unsafe.Pointer, inPropertyID int) (result int, outDataSize int, isWritable int)
AudioFileGetPropertyInfo calls the AudioToolbox framework function AudioFileGetPropertyInfo.
func AudioFileGetUserData ¶
func AudioFileGetUserData(inAudioFile unsafe.Pointer, inUserDataID int, inIndex int, outUserData unsafe.Pointer) (result int, ioUserDataSize int)
AudioFileGetUserData calls the AudioToolbox framework function AudioFileGetUserData.
func AudioFileGetUserDataAtOffset ¶
func AudioFileGetUserDataAtOffset(inAudioFile unsafe.Pointer, inUserDataID int, inIndex int, inOffset int64, outUserData unsafe.Pointer) (result int, ioUserDataSize int)
AudioFileGetUserDataAtOffset calls the AudioToolbox framework function AudioFileGetUserDataAtOffset.
func AudioFileGetUserDataSize ¶
func AudioFileGetUserDataSize(inAudioFile unsafe.Pointer, inUserDataID int, inIndex int) (result int, outUserDataSize int)
AudioFileGetUserDataSize calls the AudioToolbox framework function AudioFileGetUserDataSize.
func AudioFileGetUserDataSize64 ¶
func AudioFileGetUserDataSize64(inAudioFile unsafe.Pointer, inUserDataID int, inIndex int) (result int, outUserDataSize uint64)
AudioFileGetUserDataSize64 calls the AudioToolbox framework function AudioFileGetUserDataSize64.
func AudioFileInitialize ¶
func AudioFileInitialize(inFileRef *carboncore.FSRef, inFileType int, inFormat *coreaudiotypes.AudioStreamBasicDescription, inFlags AudioFileFlags, outAudioFile unsafe.Pointer) error
AudioFileInitialize reports an error if the AudioToolbox framework function AudioFileInitialize fails.
func AudioFileInitializeWithCallbacks ¶
func AudioFileInitializeWithCallbacks(inClientData unsafe.Pointer, inReadFunc unsafe.Pointer, inWriteFunc unsafe.Pointer, inGetSizeFunc unsafe.Pointer, inSetSizeFunc unsafe.Pointer, inFileType int, inFormat *coreaudiotypes.AudioStreamBasicDescription, inFlags AudioFileFlags, outAudioFile unsafe.Pointer) error
AudioFileInitializeWithCallbacks reports an error if the AudioToolbox framework function AudioFileInitializeWithCallbacks fails.
func AudioFileOpen ¶
func AudioFileOpen(inFileRef *carboncore.FSRef, inPermissions AudioFilePermissions, inFileTypeHint int, outAudioFile unsafe.Pointer) error
AudioFileOpen reports an error if the AudioToolbox framework function AudioFileOpen fails.
func AudioFileOpenURL ¶
func AudioFileOpenURL(inFileRef obj.Object, inPermissions AudioFilePermissions, inFileTypeHint int, outAudioFile unsafe.Pointer) error
AudioFileOpenURL reports an error if the AudioToolbox framework function AudioFileOpenURL fails.
func AudioFileOpenWithCallbacks ¶
func AudioFileOpenWithCallbacks(inClientData unsafe.Pointer, inReadFunc unsafe.Pointer, inWriteFunc unsafe.Pointer, inGetSizeFunc unsafe.Pointer, inSetSizeFunc unsafe.Pointer, inFileTypeHint int, outAudioFile unsafe.Pointer) error
AudioFileOpenWithCallbacks reports an error if the AudioToolbox framework function AudioFileOpenWithCallbacks fails.
func AudioFileOptimize ¶
AudioFileOptimize reports an error if the AudioToolbox framework function AudioFileOptimize fails.
func AudioFileReadBytes ¶
func AudioFileReadBytes(inAudioFile unsafe.Pointer, inUseCache uint8, inStartingByte int64, outBuffer unsafe.Pointer) (result int, ioNumBytes int)
AudioFileReadBytes calls the AudioToolbox framework function AudioFileReadBytes.
func AudioFileReadPacketData ¶
func AudioFileReadPacketData(inAudioFile unsafe.Pointer, inUseCache uint8, outPacketDescriptions *coreaudiotypes.AudioStreamPacketDescription, inStartingPacket int64, outBuffer unsafe.Pointer) (result int, ioNumBytes int, ioNumPackets int)
AudioFileReadPacketData calls the AudioToolbox framework function AudioFileReadPacketData.
func AudioFileReadPackets ¶
func AudioFileReadPackets(inAudioFile unsafe.Pointer, inUseCache uint8, outPacketDescriptions *coreaudiotypes.AudioStreamPacketDescription, inStartingPacket int64, outBuffer unsafe.Pointer) (result int, outNumBytes int, ioNumPackets int)
AudioFileReadPackets calls the AudioToolbox framework function AudioFileReadPackets.
func AudioFileRemoveUserData ¶
AudioFileRemoveUserData reports an error if the AudioToolbox framework function AudioFileRemoveUserData fails.
func AudioFileSetProperty ¶
func AudioFileSetProperty(inAudioFile unsafe.Pointer, inPropertyID int, inDataSize int, inPropertyData unsafe.Pointer) error
AudioFileSetProperty reports an error if the AudioToolbox framework function AudioFileSetProperty fails.
func AudioFileSetUserData ¶
func AudioFileSetUserData(inAudioFile unsafe.Pointer, inUserDataID int, inIndex int, inUserDataSize int, inUserData unsafe.Pointer) error
AudioFileSetUserData reports an error if the AudioToolbox framework function AudioFileSetUserData fails.
func AudioFileStreamClose ¶
func AudioFileStreamClose(inAudioFileStream AudioFileStreamID) error
AudioFileStreamClose reports an error if the AudioToolbox framework function AudioFileStreamClose fails.
func AudioFileStreamGetProperty ¶
func AudioFileStreamGetProperty(inAudioFileStream AudioFileStreamID, inPropertyID int, outPropertyData unsafe.Pointer) (result int, ioPropertyDataSize int)
AudioFileStreamGetProperty calls the AudioToolbox framework function AudioFileStreamGetProperty.
func AudioFileStreamGetPropertyInfo ¶
func AudioFileStreamGetPropertyInfo(inAudioFileStream AudioFileStreamID, inPropertyID int) (result int, outPropertyDataSize int, outWritable uint8)
AudioFileStreamGetPropertyInfo calls the AudioToolbox framework function AudioFileStreamGetPropertyInfo.
func AudioFileStreamOpen ¶
func AudioFileStreamOpen(inClientData unsafe.Pointer, inPropertyListenerProc unsafe.Pointer, inPacketsProc unsafe.Pointer, inFileTypeHint int, outAudioFileStream unsafe.Pointer) error
AudioFileStreamOpen reports an error if the AudioToolbox framework function AudioFileStreamOpen fails.
func AudioFileStreamParseBytes ¶
func AudioFileStreamParseBytes(inAudioFileStream AudioFileStreamID, inDataByteSize int, inData unsafe.Pointer, inFlags AudioFileStreamParseFlags) error
AudioFileStreamParseBytes reports an error if the AudioToolbox framework function AudioFileStreamParseBytes fails.
func AudioFileStreamSetProperty ¶
func AudioFileStreamSetProperty(inAudioFileStream AudioFileStreamID, inPropertyID int, inPropertyDataSize int, inPropertyData unsafe.Pointer) error
AudioFileStreamSetProperty reports an error if the AudioToolbox framework function AudioFileStreamSetProperty fails.
func AudioFileWriteBytes ¶
func AudioFileWriteBytes(inAudioFile unsafe.Pointer, inUseCache uint8, inStartingByte int64, inBuffer unsafe.Pointer) (result int, ioNumBytes int)
AudioFileWriteBytes calls the AudioToolbox framework function AudioFileWriteBytes.
func AudioFileWritePackets ¶
func AudioFileWritePackets(inAudioFile unsafe.Pointer, inUseCache uint8, inNumBytes int, inPacketDescriptions *coreaudiotypes.AudioStreamPacketDescription, inStartingPacket int64, inBuffer unsafe.Pointer) (result int, ioNumPackets int)
AudioFileWritePackets calls the AudioToolbox framework function AudioFileWritePackets.
func AudioFileWritePacketsWithDependencies ¶
func AudioFileWritePacketsWithDependencies(inAudioFile unsafe.Pointer, inUseCache uint8, inNumBytes int, inPacketDescriptions *coreaudiotypes.AudioStreamPacketDescription, inPacketDependencies *coreaudiotypes.AudioStreamPacketDependencyDescription, inStartingPacket int64, inBuffer unsafe.Pointer) (result int, ioNumPackets int)
AudioFileWritePacketsWithDependencies calls the AudioToolbox framework function AudioFileWritePacketsWithDependencies.
func AudioFormatGetProperty ¶
func AudioFormatGetProperty(inPropertyID int, inSpecifierSize int, inSpecifier unsafe.Pointer, outPropertyData unsafe.Pointer) (result int, ioPropertyDataSize int)
AudioFormatGetProperty calls the AudioToolbox framework function AudioFormatGetProperty.
func AudioFormatGetPropertyInfo ¶
func AudioFormatGetPropertyInfo(inPropertyID int, inSpecifierSize int, inSpecifier unsafe.Pointer) (result int, outPropertyDataSize int)
AudioFormatGetPropertyInfo calls the AudioToolbox framework function AudioFormatGetPropertyInfo.
func AudioHardwareServiceAddPropertyListener ¶
func AudioHardwareServiceAddPropertyListener(inObjectID int, inAddress *coreaudio.AudioObjectPropertyAddress, inListener unsafe.Pointer, inClientData unsafe.Pointer) error
AudioHardwareServiceAddPropertyListener reports an error if the AudioToolbox framework function AudioHardwareServiceAddPropertyListener fails.
func AudioHardwareServiceGetPropertyData ¶
func AudioHardwareServiceGetPropertyData(inObjectID int, inAddress *coreaudio.AudioObjectPropertyAddress, inQualifierDataSize int, inQualifierData unsafe.Pointer, outData unsafe.Pointer) (result int, ioDataSize int)
AudioHardwareServiceGetPropertyData calls the AudioToolbox framework function AudioHardwareServiceGetPropertyData.
func AudioHardwareServiceGetPropertyDataSize ¶
func AudioHardwareServiceGetPropertyDataSize(inObjectID int, inAddress *coreaudio.AudioObjectPropertyAddress, inQualifierDataSize int, inQualifierData unsafe.Pointer) (result int, outDataSize int)
AudioHardwareServiceGetPropertyDataSize calls the AudioToolbox framework function AudioHardwareServiceGetPropertyDataSize.
func AudioHardwareServiceHasProperty ¶
func AudioHardwareServiceHasProperty(inObjectID int, inAddress *coreaudio.AudioObjectPropertyAddress) uint8
AudioHardwareServiceHasProperty calls the AudioToolbox framework function AudioHardwareServiceHasProperty.
func AudioHardwareServiceIsPropertySettable ¶
func AudioHardwareServiceIsPropertySettable(inObjectID int, inAddress *coreaudio.AudioObjectPropertyAddress) (result int, outIsSettable uint8)
AudioHardwareServiceIsPropertySettable calls the AudioToolbox framework function AudioHardwareServiceIsPropertySettable.
func AudioHardwareServiceRemovePropertyListener ¶
func AudioHardwareServiceRemovePropertyListener(inObjectID int, inAddress *coreaudio.AudioObjectPropertyAddress, inListener unsafe.Pointer, inClientData unsafe.Pointer) error
AudioHardwareServiceRemovePropertyListener reports an error if the AudioToolbox framework function AudioHardwareServiceRemovePropertyListener fails.
func AudioHardwareServiceSetPropertyData ¶
func AudioHardwareServiceSetPropertyData(inObjectID int, inAddress *coreaudio.AudioObjectPropertyAddress, inQualifierDataSize int, inQualifierData unsafe.Pointer, inDataSize int, inData unsafe.Pointer) error
AudioHardwareServiceSetPropertyData reports an error if the AudioToolbox framework function AudioHardwareServiceSetPropertyData fails.
func AudioOutputUnitStart ¶
func AudioOutputUnitStart(ci *carboncore.ComponentInstanceRecord) error
AudioOutputUnitStart reports an error if the AudioToolbox framework function AudioOutputUnitStart fails.
func AudioOutputUnitStop ¶
func AudioOutputUnitStop(ci *carboncore.ComponentInstanceRecord) error
AudioOutputUnitStop reports an error if the AudioToolbox framework function AudioOutputUnitStop fails.
func AudioQueueAddPropertyListener ¶
func AudioQueueAddPropertyListener(inAQ AudioQueueRef, inID int, inProc unsafe.Pointer, inUserData unsafe.Pointer) error
AudioQueueAddPropertyListener reports an error if the AudioToolbox framework function AudioQueueAddPropertyListener fails.
func AudioQueueAllocateBuffer ¶
func AudioQueueAllocateBuffer(inAQ AudioQueueRef, inBufferByteSize int, outBuffer unsafe.Pointer) int
AudioQueueAllocateBuffer calls the AudioToolbox framework function AudioQueueAllocateBuffer.
func AudioQueueAllocateBufferWithPacketDescriptions ¶
func AudioQueueAllocateBufferWithPacketDescriptions(inAQ AudioQueueRef, inBufferByteSize int, inNumberPacketDescriptions int, outBuffer unsafe.Pointer) int
AudioQueueAllocateBufferWithPacketDescriptions calls the AudioToolbox framework function AudioQueueAllocateBufferWithPacketDescriptions.
func AudioQueueCreateTimeline ¶
func AudioQueueCreateTimeline(inAQ AudioQueueRef, outTimeline unsafe.Pointer) error
AudioQueueCreateTimeline reports an error if the AudioToolbox framework function AudioQueueCreateTimeline fails.
func AudioQueueDeviceGetCurrentTime ¶
func AudioQueueDeviceGetCurrentTime(inAQ AudioQueueRef, outTimeStamp *coreaudiotypes.AudioTimeStamp) error
AudioQueueDeviceGetCurrentTime reports an error if the AudioToolbox framework function AudioQueueDeviceGetCurrentTime fails.
func AudioQueueDeviceGetNearestStartTime ¶
func AudioQueueDeviceGetNearestStartTime(inAQ AudioQueueRef, ioRequestedStartTime *coreaudiotypes.AudioTimeStamp, inFlags int) error
AudioQueueDeviceGetNearestStartTime reports an error if the AudioToolbox framework function AudioQueueDeviceGetNearestStartTime fails.
func AudioQueueDeviceTranslateTime ¶
func AudioQueueDeviceTranslateTime(inAQ AudioQueueRef, inTime *coreaudiotypes.AudioTimeStamp, outTime *coreaudiotypes.AudioTimeStamp) error
AudioQueueDeviceTranslateTime reports an error if the AudioToolbox framework function AudioQueueDeviceTranslateTime fails.
func AudioQueueDispose ¶
func AudioQueueDispose(inAQ AudioQueueRef, inImmediate uint8) error
AudioQueueDispose reports an error if the AudioToolbox framework function AudioQueueDispose fails.
func AudioQueueDisposeTimeline ¶
func AudioQueueDisposeTimeline(inAQ AudioQueueRef, inTimeline AudioQueueTimelineRef) error
AudioQueueDisposeTimeline reports an error if the AudioToolbox framework function AudioQueueDisposeTimeline fails.
func AudioQueueEnqueueBuffer ¶
func AudioQueueEnqueueBuffer(inAQ AudioQueueRef, inBuffer unsafe.Pointer, inNumPacketDescs int, inPacketDescs *coreaudiotypes.AudioStreamPacketDescription) int
AudioQueueEnqueueBuffer calls the AudioToolbox framework function AudioQueueEnqueueBuffer.
func AudioQueueEnqueueBufferWithParameters ¶
func AudioQueueEnqueueBufferWithParameters(inAQ AudioQueueRef, inBuffer unsafe.Pointer, inNumPacketDescs int, inPacketDescs *coreaudiotypes.AudioStreamPacketDescription, inTrimFramesAtStart int, inTrimFramesAtEnd int, inNumParamValues int, inParamValues *AudioQueueParameterEvent, inStartTime *coreaudiotypes.AudioTimeStamp, outActualStartTime *coreaudiotypes.AudioTimeStamp) int
AudioQueueEnqueueBufferWithParameters calls the AudioToolbox framework function AudioQueueEnqueueBufferWithParameters.
func AudioQueueFlush ¶
func AudioQueueFlush(inAQ AudioQueueRef) error
AudioQueueFlush reports an error if the AudioToolbox framework function AudioQueueFlush fails.
func AudioQueueFreeBuffer ¶
func AudioQueueFreeBuffer(inAQ AudioQueueRef, inBuffer unsafe.Pointer) int
AudioQueueFreeBuffer calls the AudioToolbox framework function AudioQueueFreeBuffer.
func AudioQueueGetCurrentTime ¶
func AudioQueueGetCurrentTime(inAQ AudioQueueRef, inTimeline AudioQueueTimelineRef, outTimeStamp *coreaudiotypes.AudioTimeStamp) (result int, outTimelineDiscontinuity uint8)
AudioQueueGetCurrentTime calls the AudioToolbox framework function AudioQueueGetCurrentTime.
func AudioQueueGetParameter ¶
func AudioQueueGetParameter(inAQ AudioQueueRef, inParamID int) (result int, outValue float32)
AudioQueueGetParameter calls the AudioToolbox framework function AudioQueueGetParameter.
func AudioQueueGetProperty ¶
func AudioQueueGetProperty(inAQ AudioQueueRef, inID int, outData unsafe.Pointer) (result int, ioDataSize int)
AudioQueueGetProperty calls the AudioToolbox framework function AudioQueueGetProperty.
func AudioQueueGetPropertySize ¶
func AudioQueueGetPropertySize(inAQ AudioQueueRef, inID int) (result int, outDataSize int)
AudioQueueGetPropertySize calls the AudioToolbox framework function AudioQueueGetPropertySize.
func AudioQueueNewInput ¶
func AudioQueueNewInput(inFormat *coreaudiotypes.AudioStreamBasicDescription, inCallbackProc unsafe.Pointer, inUserData unsafe.Pointer, inCallbackRunLoop obj.Object, inCallbackRunLoopMode obj.Object, inFlags int, outAQ unsafe.Pointer) error
AudioQueueNewInput reports an error if the AudioToolbox framework function AudioQueueNewInput fails.
func AudioQueueNewInputWithDispatchQueue ¶
func AudioQueueNewInputWithDispatchQueue(outAQ unsafe.Pointer, inFormat *coreaudiotypes.AudioStreamBasicDescription, inFlags int, inCallbackDispatchQueue dispatch.Queue, inCallbackBlock unsafe.Pointer) int
AudioQueueNewInputWithDispatchQueue calls the AudioToolbox framework function AudioQueueNewInputWithDispatchQueue.
func AudioQueueNewOutput ¶
func AudioQueueNewOutput(inFormat *coreaudiotypes.AudioStreamBasicDescription, inCallbackProc unsafe.Pointer, inUserData unsafe.Pointer, inCallbackRunLoop obj.Object, inCallbackRunLoopMode obj.Object, inFlags int, outAQ unsafe.Pointer) error
AudioQueueNewOutput reports an error if the AudioToolbox framework function AudioQueueNewOutput fails.
func AudioQueueNewOutputWithDispatchQueue ¶
func AudioQueueNewOutputWithDispatchQueue(outAQ unsafe.Pointer, inFormat *coreaudiotypes.AudioStreamBasicDescription, inFlags int, inCallbackDispatchQueue dispatch.Queue, inCallbackBlock unsafe.Pointer) int
AudioQueueNewOutputWithDispatchQueue calls the AudioToolbox framework function AudioQueueNewOutputWithDispatchQueue.
func AudioQueueOfflineRender ¶
func AudioQueueOfflineRender(inAQ AudioQueueRef, inTimestamp *coreaudiotypes.AudioTimeStamp, ioBuffer unsafe.Pointer, inNumberFrames int) int
AudioQueueOfflineRender calls the AudioToolbox framework function AudioQueueOfflineRender.
func AudioQueuePause ¶
func AudioQueuePause(inAQ AudioQueueRef) error
AudioQueuePause reports an error if the AudioToolbox framework function AudioQueuePause fails.
func AudioQueuePrime ¶
func AudioQueuePrime(inAQ AudioQueueRef, inNumberOfFramesToPrepare int) (result int, outNumberOfFramesPrepared int)
AudioQueuePrime calls the AudioToolbox framework function AudioQueuePrime.
func AudioQueueProcessingTapDispose ¶
func AudioQueueProcessingTapDispose(inAQTap AudioQueueProcessingTapRef) error
AudioQueueProcessingTapDispose reports an error if the AudioToolbox framework function AudioQueueProcessingTapDispose fails.
func AudioQueueProcessingTapGetQueueTime ¶
func AudioQueueProcessingTapGetQueueTime(inAQTap AudioQueueProcessingTapRef, outQueueSampleTime unsafe.Pointer) (result int, outQueueFrameCount int)
AudioQueueProcessingTapGetQueueTime calls the AudioToolbox framework function AudioQueueProcessingTapGetQueueTime.
func AudioQueueProcessingTapNew ¶
func AudioQueueProcessingTapNew(inAQ AudioQueueRef, inCallback unsafe.Pointer, inClientData unsafe.Pointer, inFlags AudioQueueProcessingTapFlags, outProcessingFormat *coreaudiotypes.AudioStreamBasicDescription, outAQTap unsafe.Pointer) (result int, outMaxFrames int)
AudioQueueProcessingTapNew calls the AudioToolbox framework function AudioQueueProcessingTapNew.
func AudioQueueRemovePropertyListener ¶
func AudioQueueRemovePropertyListener(inAQ AudioQueueRef, inID int, inProc unsafe.Pointer, inUserData unsafe.Pointer) error
AudioQueueRemovePropertyListener reports an error if the AudioToolbox framework function AudioQueueRemovePropertyListener fails.
func AudioQueueReset ¶
func AudioQueueReset(inAQ AudioQueueRef) error
AudioQueueReset reports an error if the AudioToolbox framework function AudioQueueReset fails.
func AudioQueueSetOfflineRenderFormat ¶
func AudioQueueSetOfflineRenderFormat(inAQ AudioQueueRef, inFormat *coreaudiotypes.AudioStreamBasicDescription, inLayout *coreaudiotypes.AudioChannelLayout) error
AudioQueueSetOfflineRenderFormat reports an error if the AudioToolbox framework function AudioQueueSetOfflineRenderFormat fails.
func AudioQueueSetParameter ¶
func AudioQueueSetParameter(inAQ AudioQueueRef, inParamID int, inValue float32) error
AudioQueueSetParameter reports an error if the AudioToolbox framework function AudioQueueSetParameter fails.
func AudioQueueSetProperty ¶
func AudioQueueSetProperty(inAQ AudioQueueRef, inID int, inData unsafe.Pointer, inDataSize int) error
AudioQueueSetProperty reports an error if the AudioToolbox framework function AudioQueueSetProperty fails.
func AudioQueueStart ¶
func AudioQueueStart(inAQ AudioQueueRef, inStartTime *coreaudiotypes.AudioTimeStamp) error
AudioQueueStart reports an error if the AudioToolbox framework function AudioQueueStart fails.
func AudioQueueStop ¶
func AudioQueueStop(inAQ AudioQueueRef, inImmediate uint8) error
AudioQueueStop reports an error if the AudioToolbox framework function AudioQueueStop fails.
func AudioServicesAddSystemSoundCompletion ¶
func AudioServicesAddSystemSoundCompletion(inSystemSoundID int, inRunLoop obj.Object, inRunLoopMode obj.Object, inCompletionRoutine unsafe.Pointer, inClientData unsafe.Pointer) error
AudioServicesAddSystemSoundCompletion reports an error if the AudioToolbox framework function AudioServicesAddSystemSoundCompletion fails.
func AudioServicesCreateSystemSoundID ¶
func AudioServicesCreateSystemSoundID(inFileURL corefoundation.CFURLRef) (result int, outSystemSoundID int)
AudioServicesCreateSystemSoundID calls the AudioToolbox framework function AudioServicesCreateSystemSoundID.
func AudioServicesDisposeSystemSoundID ¶
AudioServicesDisposeSystemSoundID reports an error if the AudioToolbox framework function AudioServicesDisposeSystemSoundID fails.
func AudioServicesGetProperty ¶
func AudioServicesGetProperty(inPropertyID int, inSpecifierSize int, inSpecifier unsafe.Pointer, outPropertyData unsafe.Pointer) (result int, ioPropertyDataSize int)
AudioServicesGetProperty calls the AudioToolbox framework function AudioServicesGetProperty.
func AudioServicesGetPropertyInfo ¶
func AudioServicesGetPropertyInfo(inPropertyID int, inSpecifierSize int, inSpecifier unsafe.Pointer) (result int, outPropertyDataSize int, outWritable uint8)
AudioServicesGetPropertyInfo calls the AudioToolbox framework function AudioServicesGetPropertyInfo.
func AudioServicesPlayAlertSound ¶
func AudioServicesPlayAlertSound(inSystemSoundID int)
AudioServicesPlayAlertSound calls the AudioToolbox framework function AudioServicesPlayAlertSound.
func AudioServicesPlayAlertSoundWithCompletion ¶
func AudioServicesPlayAlertSoundWithCompletion(inSystemSoundID int, inCompletionBlock func())
AudioServicesPlayAlertSoundWithCompletion calls the AudioToolbox framework function AudioServicesPlayAlertSoundWithCompletion.
func AudioServicesPlaySystemSound ¶
func AudioServicesPlaySystemSound(inSystemSoundID int)
AudioServicesPlaySystemSound calls the AudioToolbox framework function AudioServicesPlaySystemSound.
func AudioServicesPlaySystemSoundWithCompletion ¶
func AudioServicesPlaySystemSoundWithCompletion(inSystemSoundID int, inCompletionBlock func())
AudioServicesPlaySystemSoundWithCompletion calls the AudioToolbox framework function AudioServicesPlaySystemSoundWithCompletion.
func AudioServicesRemoveSystemSoundCompletion ¶
func AudioServicesRemoveSystemSoundCompletion(inSystemSoundID int)
AudioServicesRemoveSystemSoundCompletion calls the AudioToolbox framework function AudioServicesRemoveSystemSoundCompletion.
func AudioServicesSetProperty ¶
func AudioServicesSetProperty(inPropertyID int, inSpecifierSize int, inSpecifier unsafe.Pointer, inPropertyDataSize int, inPropertyData unsafe.Pointer) error
AudioServicesSetProperty reports an error if the AudioToolbox framework function AudioServicesSetProperty fails.
func AudioUnitAddPropertyListener ¶
func AudioUnitAddPropertyListener(inUnit *carboncore.ComponentInstanceRecord, inID int, inProc unsafe.Pointer, inProcUserData unsafe.Pointer) error
AudioUnitAddPropertyListener reports an error if the AudioToolbox framework function AudioUnitAddPropertyListener fails.
func AudioUnitAddRenderNotify ¶
func AudioUnitAddRenderNotify(inUnit *carboncore.ComponentInstanceRecord, inProc unsafe.Pointer, inProcUserData unsafe.Pointer) error
AudioUnitAddRenderNotify reports an error if the AudioToolbox framework function AudioUnitAddRenderNotify fails.
func AudioUnitExtensionCopyComponentList ¶
func AudioUnitExtensionCopyComponentList(extensionIdentifier corefoundation.CFStringRef) corefoundation.CFArrayRef
AudioUnitExtensionCopyComponentList calls the AudioToolbox framework function AudioUnitExtensionCopyComponentList.
func AudioUnitExtensionSetComponentList ¶
func AudioUnitExtensionSetComponentList(extensionIdentifier obj.Object, audioComponentInfo obj.Object) error
AudioUnitExtensionSetComponentList reports an error if the AudioToolbox framework function AudioUnitExtensionSetComponentList fails.
func AudioUnitGetParameter ¶
func AudioUnitGetParameter(inUnit *carboncore.ComponentInstanceRecord, inID int, inScope int, inElement int) (result int, outValue float32)
AudioUnitGetParameter calls the AudioToolbox framework function AudioUnitGetParameter.
func AudioUnitGetProperty ¶
func AudioUnitGetProperty(inUnit *carboncore.ComponentInstanceRecord, inID int, inScope int, inElement int, outData unsafe.Pointer) (result int, ioDataSize int)
AudioUnitGetProperty calls the AudioToolbox framework function AudioUnitGetProperty.
func AudioUnitGetPropertyInfo ¶
func AudioUnitGetPropertyInfo(inUnit *carboncore.ComponentInstanceRecord, inID int, inScope int, inElement int) (result int, outDataSize int, outWritable uint8)
AudioUnitGetPropertyInfo calls the AudioToolbox framework function AudioUnitGetPropertyInfo.
func AudioUnitInitialize ¶
func AudioUnitInitialize(inUnit *carboncore.ComponentInstanceRecord) error
AudioUnitInitialize reports an error if the AudioToolbox framework function AudioUnitInitialize fails.
func AudioUnitRemovePropertyListenerWithUserData ¶
func AudioUnitRemovePropertyListenerWithUserData(inUnit *carboncore.ComponentInstanceRecord, inID int, inProc unsafe.Pointer, inProcUserData unsafe.Pointer) error
AudioUnitRemovePropertyListenerWithUserData reports an error if the AudioToolbox framework function AudioUnitRemovePropertyListenerWithUserData fails.
func AudioUnitRemoveRenderNotify ¶
func AudioUnitRemoveRenderNotify(inUnit *carboncore.ComponentInstanceRecord, inProc unsafe.Pointer, inProcUserData unsafe.Pointer) error
AudioUnitRemoveRenderNotify reports an error if the AudioToolbox framework function AudioUnitRemoveRenderNotify fails.
func AudioUnitReset ¶
func AudioUnitReset(inUnit *carboncore.ComponentInstanceRecord, inScope int, inElement int) error
AudioUnitReset reports an error if the AudioToolbox framework function AudioUnitReset fails.
func AudioUnitScheduleParameters ¶
func AudioUnitScheduleParameters(inUnit *carboncore.ComponentInstanceRecord, inParameterEvent unsafe.Pointer, inNumParamEvents int) int
AudioUnitScheduleParameters calls the AudioToolbox framework function AudioUnitScheduleParameters.
func AudioUnitSetParameter ¶
func AudioUnitSetParameter(inUnit *carboncore.ComponentInstanceRecord, inID int, inScope int, inElement int, inValue float32, inBufferOffsetInFrames int) error
AudioUnitSetParameter reports an error if the AudioToolbox framework function AudioUnitSetParameter fails.
func AudioUnitSetProperty ¶
func AudioUnitSetProperty(inUnit *carboncore.ComponentInstanceRecord, inID int, inScope int, inElement int, inData unsafe.Pointer, inDataSize int) error
AudioUnitSetProperty reports an error if the AudioToolbox framework function AudioUnitSetProperty fails.
func AudioUnitUninitialize ¶
func AudioUnitUninitialize(inUnit *carboncore.ComponentInstanceRecord) error
AudioUnitUninitialize reports an error if the AudioToolbox framework function AudioUnitUninitialize fails.
func AudioWorkIntervalCreate ¶
AudioWorkIntervalCreate calls the AudioToolbox framework function AudioWorkIntervalCreate.
func CAClockAddListener ¶
func CAClockAddListener(inCAClock CAClockRef, inListenerProc unsafe.Pointer, inUserData unsafe.Pointer) error
CAClockAddListener reports an error if the AudioToolbox framework function CAClockAddListener fails.
func CAClockArm ¶
func CAClockArm(inCAClock CAClockRef) error
CAClockArm reports an error if the AudioToolbox framework function CAClockArm fails.
func CAClockBarBeatTimeToBeats ¶
func CAClockBarBeatTimeToBeats(inCAClock CAClockRef, inBarBeatTime *CABarBeatTime) (result int, outBeats float64)
CAClockBarBeatTimeToBeats calls the AudioToolbox framework function CAClockBarBeatTimeToBeats.
func CAClockBeatsToBarBeatTime ¶
func CAClockBeatsToBarBeatTime(inCAClock CAClockRef, inBeats float64, inSubbeatDivisor uint16, outBarBeatTime *CABarBeatTime) error
CAClockBeatsToBarBeatTime reports an error if the AudioToolbox framework function CAClockBeatsToBarBeatTime fails.
func CAClockDisarm ¶
func CAClockDisarm(inCAClock CAClockRef) error
CAClockDisarm reports an error if the AudioToolbox framework function CAClockDisarm fails.
func CAClockDispose ¶
func CAClockDispose(inCAClock CAClockRef) error
CAClockDispose reports an error if the AudioToolbox framework function CAClockDispose fails.
func CAClockGetCurrentTempo ¶
func CAClockGetCurrentTempo(inCAClock CAClockRef, outTimestamp unsafe.Pointer) (result int, outTempo float64)
CAClockGetCurrentTempo calls the AudioToolbox framework function CAClockGetCurrentTempo.
func CAClockGetCurrentTime ¶
func CAClockGetCurrentTime(inCAClock CAClockRef, inTimeFormat CAClockTimeFormat, outTime unsafe.Pointer) int
CAClockGetCurrentTime calls the AudioToolbox framework function CAClockGetCurrentTime.
func CAClockGetPlayRate ¶
func CAClockGetPlayRate(inCAClock CAClockRef) (result int, outPlayRate float64)
CAClockGetPlayRate calls the AudioToolbox framework function CAClockGetPlayRate.
func CAClockGetProperty ¶
func CAClockGetProperty(inCAClock CAClockRef, inPropertyID CAClockPropertyID, outPropertyData unsafe.Pointer) (result int, ioPropertyDataSize int)
CAClockGetProperty calls the AudioToolbox framework function CAClockGetProperty.
func CAClockGetPropertyInfo ¶
func CAClockGetPropertyInfo(inCAClock CAClockRef, inPropertyID CAClockPropertyID) (result int, outSize int, outWritable uint8)
CAClockGetPropertyInfo calls the AudioToolbox framework function CAClockGetPropertyInfo.
func CAClockGetStartTime ¶
func CAClockGetStartTime(inCAClock CAClockRef, inTimeFormat CAClockTimeFormat, outTime unsafe.Pointer) int
CAClockGetStartTime calls the AudioToolbox framework function CAClockGetStartTime.
func CAClockNew ¶
CAClockNew reports an error if the AudioToolbox framework function CAClockNew fails.
func CAClockParseMIDI ¶
func CAClockParseMIDI(inCAClock CAClockRef, inMIDIPacketList obj.Object) error
CAClockParseMIDI reports an error if the AudioToolbox framework function CAClockParseMIDI fails.
func CAClockRemoveListener ¶
func CAClockRemoveListener(inCAClock CAClockRef, inListenerProc unsafe.Pointer, inUserData unsafe.Pointer) error
CAClockRemoveListener reports an error if the AudioToolbox framework function CAClockRemoveListener fails.
func CAClockSMPTETimeToSeconds ¶
func CAClockSMPTETimeToSeconds(inCAClock CAClockRef, inSMPTETime *coreaudiotypes.SMPTETime) (result int, outSeconds float64)
CAClockSMPTETimeToSeconds calls the AudioToolbox framework function CAClockSMPTETimeToSeconds.
func CAClockSecondsToSMPTETime ¶
func CAClockSecondsToSMPTETime(inCAClock CAClockRef, inSeconds float64, inSubframeDivisor uint16, outSMPTETime *coreaudiotypes.SMPTETime) error
CAClockSecondsToSMPTETime reports an error if the AudioToolbox framework function CAClockSecondsToSMPTETime fails.
func CAClockSetCurrentTempo ¶
func CAClockSetCurrentTempo(inCAClock CAClockRef, inTempo float64, inTimestamp unsafe.Pointer) int
CAClockSetCurrentTempo calls the AudioToolbox framework function CAClockSetCurrentTempo.
func CAClockSetCurrentTime ¶
func CAClockSetCurrentTime(inCAClock CAClockRef, inTime unsafe.Pointer) int
CAClockSetCurrentTime calls the AudioToolbox framework function CAClockSetCurrentTime.
func CAClockSetPlayRate ¶
func CAClockSetPlayRate(inCAClock CAClockRef, inPlayRate float64) error
CAClockSetPlayRate reports an error if the AudioToolbox framework function CAClockSetPlayRate fails.
func CAClockSetProperty ¶
func CAClockSetProperty(inCAClock CAClockRef, inPropertyID CAClockPropertyID, inPropertyDataSize int, inPropertyData unsafe.Pointer) error
CAClockSetProperty reports an error if the AudioToolbox framework function CAClockSetProperty fails.
func CAClockStart ¶
func CAClockStart(inCAClock CAClockRef) error
CAClockStart reports an error if the AudioToolbox framework function CAClockStart fails.
func CAClockStop ¶
func CAClockStop(inCAClock CAClockRef) error
CAClockStop reports an error if the AudioToolbox framework function CAClockStop fails.
func CAClockTranslateTime ¶
func CAClockTranslateTime(inCAClock CAClockRef, inTime unsafe.Pointer, inOutputTimeFormat CAClockTimeFormat, outTime unsafe.Pointer) int
CAClockTranslateTime calls the AudioToolbox framework function CAClockTranslateTime.
func CAShowFile ¶
CAShowFile calls the AudioToolbox framework function CAShowFile.
func CopyInstrumentInfoFromSoundBank ¶
CopyInstrumentInfoFromSoundBank reports an error if the AudioToolbox framework function CopyInstrumentInfoFromSoundBank fails.
func CopyNameFromSoundBank ¶
CopyNameFromSoundBank reports an error if the AudioToolbox framework function CopyNameFromSoundBank fails.
func DisposeAUGraph ¶
DisposeAUGraph reports an error if the AudioToolbox framework function DisposeAUGraph fails.
func DisposeMusicEventIterator ¶
func DisposeMusicEventIterator(inIterator MusicEventIterator) error
DisposeMusicEventIterator reports an error if the AudioToolbox framework function DisposeMusicEventIterator fails.
func DisposeMusicPlayer ¶
func DisposeMusicPlayer(inPlayer MusicPlayer) error
DisposeMusicPlayer reports an error if the AudioToolbox framework function DisposeMusicPlayer fails.
func DisposeMusicSequence ¶
func DisposeMusicSequence(inSequence MusicSequence) error
DisposeMusicSequence reports an error if the AudioToolbox framework function DisposeMusicSequence fails.
func ExtAudioFileCreateNew ¶
func ExtAudioFileCreateNew(inParentDir *carboncore.FSRef, inFileName obj.Object, inFileType int, inStreamDesc *coreaudiotypes.AudioStreamBasicDescription, inChannelLayout *coreaudiotypes.AudioChannelLayout, outExtAudioFile unsafe.Pointer) error
ExtAudioFileCreateNew reports an error if the AudioToolbox framework function ExtAudioFileCreateNew fails.
func ExtAudioFileCreateWithURL ¶
func ExtAudioFileCreateWithURL(inURL obj.Object, inFileType int, inStreamDesc *coreaudiotypes.AudioStreamBasicDescription, inChannelLayout *coreaudiotypes.AudioChannelLayout, inFlags int, outExtAudioFile unsafe.Pointer) error
ExtAudioFileCreateWithURL reports an error if the AudioToolbox framework function ExtAudioFileCreateWithURL fails.
func ExtAudioFileDispose ¶
func ExtAudioFileDispose(inExtAudioFile ExtAudioFileRef) error
ExtAudioFileDispose reports an error if the AudioToolbox framework function ExtAudioFileDispose fails.
func ExtAudioFileGetProperty ¶
func ExtAudioFileGetProperty(inExtAudioFile ExtAudioFileRef, inPropertyID int, outPropertyData unsafe.Pointer) (result int, ioPropertyDataSize int)
ExtAudioFileGetProperty calls the AudioToolbox framework function ExtAudioFileGetProperty.
func ExtAudioFileGetPropertyInfo ¶
func ExtAudioFileGetPropertyInfo(inExtAudioFile ExtAudioFileRef, inPropertyID int) (result int, outSize int, outWritable uint8)
ExtAudioFileGetPropertyInfo calls the AudioToolbox framework function ExtAudioFileGetPropertyInfo.
func ExtAudioFileOpen ¶
func ExtAudioFileOpen(inFSRef *carboncore.FSRef, outExtAudioFile unsafe.Pointer) error
ExtAudioFileOpen reports an error if the AudioToolbox framework function ExtAudioFileOpen fails.
func ExtAudioFileOpenURL ¶
ExtAudioFileOpenURL reports an error if the AudioToolbox framework function ExtAudioFileOpenURL fails.
func ExtAudioFileRead ¶
func ExtAudioFileRead(inExtAudioFile ExtAudioFileRef, ioData unsafe.Pointer) (result int, ioNumberFrames int)
ExtAudioFileRead calls the AudioToolbox framework function ExtAudioFileRead.
func ExtAudioFileSeek ¶
func ExtAudioFileSeek(inExtAudioFile ExtAudioFileRef, inFrameOffset int64) error
ExtAudioFileSeek reports an error if the AudioToolbox framework function ExtAudioFileSeek fails.
func ExtAudioFileSetProperty ¶
func ExtAudioFileSetProperty(inExtAudioFile ExtAudioFileRef, inPropertyID int, inPropertyDataSize int, inPropertyData unsafe.Pointer) error
ExtAudioFileSetProperty reports an error if the AudioToolbox framework function ExtAudioFileSetProperty fails.
func ExtAudioFileTell ¶
func ExtAudioFileTell(inExtAudioFile ExtAudioFileRef) (result int, outFrameOffset int64)
ExtAudioFileTell calls the AudioToolbox framework function ExtAudioFileTell.
func ExtAudioFileWrapAudioFileID ¶
func ExtAudioFileWrapAudioFileID(inFileID unsafe.Pointer, inForWriting uint8, outExtAudioFile unsafe.Pointer) error
ExtAudioFileWrapAudioFileID reports an error if the AudioToolbox framework function ExtAudioFileWrapAudioFileID fails.
func ExtAudioFileWrite ¶
func ExtAudioFileWrite(inExtAudioFile ExtAudioFileRef, inNumberFrames int, ioData unsafe.Pointer) int
ExtAudioFileWrite calls the AudioToolbox framework function ExtAudioFileWrite.
func ExtAudioFileWriteAsync ¶
func ExtAudioFileWriteAsync(inExtAudioFile ExtAudioFileRef, inNumberFrames int, ioData unsafe.Pointer) int
ExtAudioFileWriteAsync calls the AudioToolbox framework function ExtAudioFileWriteAsync.
func GetNameFromSoundBank ¶
func GetNameFromSoundBank(inSoundBankRef *carboncore.FSRef) (obj.Object, error)
GetNameFromSoundBank reports an error if the AudioToolbox framework function GetNameFromSoundBank fails.
func KAudioComponentInstanceInvalidationNotification ¶
KAudioComponentInstanceInvalidationNotification returns the value of the constant kAudioComponentInstanceInvalidationNotification.
func KAudioComponentRegistrationsChangedNotification ¶
KAudioComponentRegistrationsChangedNotification returns the value of the constant kAudioComponentRegistrationsChangedNotification.
func MusicDeviceMIDIEvent ¶
func MusicDeviceMIDIEvent(inUnit *carboncore.ComponentInstanceRecord, inStatus int, inData1 int, inData2 int, inOffsetSampleFrame int) error
MusicDeviceMIDIEvent reports an error if the AudioToolbox framework function MusicDeviceMIDIEvent fails.
func MusicDeviceMIDIEventList ¶
func MusicDeviceMIDIEventList(inUnit *carboncore.ComponentInstanceRecord, inOffsetSampleFrame int, evtList obj.Object) error
MusicDeviceMIDIEventList reports an error if the AudioToolbox framework function MusicDeviceMIDIEventList fails.
func MusicDevicePrepareInstrument ¶
func MusicDevicePrepareInstrument(inUnit *carboncore.ComponentInstanceRecord, inInstrument int) error
MusicDevicePrepareInstrument reports an error if the AudioToolbox framework function MusicDevicePrepareInstrument fails.
func MusicDeviceReleaseInstrument ¶
func MusicDeviceReleaseInstrument(inUnit *carboncore.ComponentInstanceRecord, inInstrument int) error
MusicDeviceReleaseInstrument reports an error if the AudioToolbox framework function MusicDeviceReleaseInstrument fails.
func MusicDeviceStartNote ¶
func MusicDeviceStartNote(inUnit *carboncore.ComponentInstanceRecord, inInstrument int, inGroupID int, inOffsetSampleFrame int, inParams *MusicDeviceNoteParams) (result int, outNoteInstanceID int)
MusicDeviceStartNote calls the AudioToolbox framework function MusicDeviceStartNote.
func MusicDeviceStopNote ¶
func MusicDeviceStopNote(inUnit *carboncore.ComponentInstanceRecord, inGroupID int, inNoteInstanceID int, inOffsetSampleFrame int) error
MusicDeviceStopNote reports an error if the AudioToolbox framework function MusicDeviceStopNote fails.
func MusicDeviceSysEx ¶
func MusicDeviceSysEx(inUnit *carboncore.ComponentInstanceRecord, inData unsafe.Pointer, inLength int) int
MusicDeviceSysEx calls the AudioToolbox framework function MusicDeviceSysEx.
func MusicEventIteratorDeleteEvent ¶
func MusicEventIteratorDeleteEvent(inIterator MusicEventIterator) error
MusicEventIteratorDeleteEvent reports an error if the AudioToolbox framework function MusicEventIteratorDeleteEvent fails.
func MusicEventIteratorGetEventInfo ¶
func MusicEventIteratorGetEventInfo(inIterator MusicEventIterator, outEventData unsafe.Pointer) (result int, outTimeStamp float64, outEventType int, outEventDataSize int)
MusicEventIteratorGetEventInfo calls the AudioToolbox framework function MusicEventIteratorGetEventInfo.
func MusicEventIteratorHasCurrentEvent ¶
func MusicEventIteratorHasCurrentEvent(inIterator MusicEventIterator) (result int, outHasCurEvent uint8)
MusicEventIteratorHasCurrentEvent calls the AudioToolbox framework function MusicEventIteratorHasCurrentEvent.
func MusicEventIteratorHasNextEvent ¶
func MusicEventIteratorHasNextEvent(inIterator MusicEventIterator) (result int, outHasNextEvent uint8)
MusicEventIteratorHasNextEvent calls the AudioToolbox framework function MusicEventIteratorHasNextEvent.
func MusicEventIteratorHasPreviousEvent ¶
func MusicEventIteratorHasPreviousEvent(inIterator MusicEventIterator) (result int, outHasPrevEvent uint8)
MusicEventIteratorHasPreviousEvent calls the AudioToolbox framework function MusicEventIteratorHasPreviousEvent.
func MusicEventIteratorNextEvent ¶
func MusicEventIteratorNextEvent(inIterator MusicEventIterator) error
MusicEventIteratorNextEvent reports an error if the AudioToolbox framework function MusicEventIteratorNextEvent fails.
func MusicEventIteratorPreviousEvent ¶
func MusicEventIteratorPreviousEvent(inIterator MusicEventIterator) error
MusicEventIteratorPreviousEvent reports an error if the AudioToolbox framework function MusicEventIteratorPreviousEvent fails.
func MusicEventIteratorSeek ¶
func MusicEventIteratorSeek(inIterator MusicEventIterator, inTimeStamp float64) error
MusicEventIteratorSeek reports an error if the AudioToolbox framework function MusicEventIteratorSeek fails.
func MusicEventIteratorSetEventInfo ¶
func MusicEventIteratorSetEventInfo(inIterator MusicEventIterator, inEventType int, inEventData unsafe.Pointer) error
MusicEventIteratorSetEventInfo reports an error if the AudioToolbox framework function MusicEventIteratorSetEventInfo fails.
func MusicEventIteratorSetEventTime ¶
func MusicEventIteratorSetEventTime(inIterator MusicEventIterator, inTimeStamp float64) error
MusicEventIteratorSetEventTime reports an error if the AudioToolbox framework function MusicEventIteratorSetEventTime fails.
func MusicPlayerGetBeatsForHostTime ¶
func MusicPlayerGetBeatsForHostTime(inPlayer MusicPlayer, inHostTime uint64) (result int, outBeats float64)
MusicPlayerGetBeatsForHostTime calls the AudioToolbox framework function MusicPlayerGetBeatsForHostTime.
func MusicPlayerGetHostTimeForBeats ¶
func MusicPlayerGetHostTimeForBeats(inPlayer MusicPlayer, inBeats float64) (result int, outHostTime uint64)
MusicPlayerGetHostTimeForBeats calls the AudioToolbox framework function MusicPlayerGetHostTimeForBeats.
func MusicPlayerGetPlayRateScalar ¶
func MusicPlayerGetPlayRateScalar(inPlayer MusicPlayer) (result int, outScaleRate float64)
MusicPlayerGetPlayRateScalar calls the AudioToolbox framework function MusicPlayerGetPlayRateScalar.
func MusicPlayerGetSequence ¶
func MusicPlayerGetSequence(inPlayer MusicPlayer, outSequence unsafe.Pointer) error
MusicPlayerGetSequence reports an error if the AudioToolbox framework function MusicPlayerGetSequence fails.
func MusicPlayerGetTime ¶
func MusicPlayerGetTime(inPlayer MusicPlayer) (result int, outTime float64)
MusicPlayerGetTime calls the AudioToolbox framework function MusicPlayerGetTime.
func MusicPlayerIsPlaying ¶
func MusicPlayerIsPlaying(inPlayer MusicPlayer) (result int, outIsPlaying uint8)
MusicPlayerIsPlaying calls the AudioToolbox framework function MusicPlayerIsPlaying.
func MusicPlayerPreroll ¶
func MusicPlayerPreroll(inPlayer MusicPlayer) error
MusicPlayerPreroll reports an error if the AudioToolbox framework function MusicPlayerPreroll fails.
func MusicPlayerSetPlayRateScalar ¶
func MusicPlayerSetPlayRateScalar(inPlayer MusicPlayer, inScaleRate float64) error
MusicPlayerSetPlayRateScalar reports an error if the AudioToolbox framework function MusicPlayerSetPlayRateScalar fails.
func MusicPlayerSetSequence ¶
func MusicPlayerSetSequence(inPlayer MusicPlayer, inSequence MusicSequence) error
MusicPlayerSetSequence reports an error if the AudioToolbox framework function MusicPlayerSetSequence fails.
func MusicPlayerSetTime ¶
func MusicPlayerSetTime(inPlayer MusicPlayer, inTime float64) error
MusicPlayerSetTime reports an error if the AudioToolbox framework function MusicPlayerSetTime fails.
func MusicPlayerStart ¶
func MusicPlayerStart(inPlayer MusicPlayer) error
MusicPlayerStart reports an error if the AudioToolbox framework function MusicPlayerStart fails.
func MusicPlayerStop ¶
func MusicPlayerStop(inPlayer MusicPlayer) error
MusicPlayerStop reports an error if the AudioToolbox framework function MusicPlayerStop fails.
func MusicSequenceBarBeatTimeToBeats ¶
func MusicSequenceBarBeatTimeToBeats(inSequence MusicSequence, inBarBeatTime *CABarBeatTime) (result int, outBeats float64)
MusicSequenceBarBeatTimeToBeats calls the AudioToolbox framework function MusicSequenceBarBeatTimeToBeats.
func MusicSequenceBeatsToBarBeatTime ¶
func MusicSequenceBeatsToBarBeatTime(inSequence MusicSequence, inBeats float64, inSubbeatDivisor int, outBarBeatTime *CABarBeatTime) error
MusicSequenceBeatsToBarBeatTime reports an error if the AudioToolbox framework function MusicSequenceBeatsToBarBeatTime fails.
func MusicSequenceDisposeTrack ¶
func MusicSequenceDisposeTrack(inSequence MusicSequence, inTrack MusicTrack) error
MusicSequenceDisposeTrack reports an error if the AudioToolbox framework function MusicSequenceDisposeTrack fails.
func MusicSequenceFileCreate ¶
func MusicSequenceFileCreate(inSequence MusicSequence, inFileRef obj.Object, inFileType MusicSequenceFileTypeID, inFlags MusicSequenceFileFlags, inResolution int16) error
MusicSequenceFileCreate reports an error if the AudioToolbox framework function MusicSequenceFileCreate fails.
func MusicSequenceFileCreateData ¶
func MusicSequenceFileCreateData(inSequence MusicSequence, inFileType MusicSequenceFileTypeID, inFlags MusicSequenceFileFlags, inResolution int16) (obj.Object, error)
MusicSequenceFileCreateData reports an error if the AudioToolbox framework function MusicSequenceFileCreateData fails.
func MusicSequenceFileLoad ¶
func MusicSequenceFileLoad(inSequence MusicSequence, inFileRef obj.Object, inFileTypeHint MusicSequenceFileTypeID, inFlags MusicSequenceLoadFlags) error
MusicSequenceFileLoad reports an error if the AudioToolbox framework function MusicSequenceFileLoad fails.
func MusicSequenceFileLoadData ¶
func MusicSequenceFileLoadData(inSequence MusicSequence, inData obj.Object, inFileTypeHint MusicSequenceFileTypeID, inFlags MusicSequenceLoadFlags) error
MusicSequenceFileLoadData reports an error if the AudioToolbox framework function MusicSequenceFileLoadData fails.
func MusicSequenceGetAUGraph ¶
func MusicSequenceGetAUGraph(inSequence MusicSequence, outGraph unsafe.Pointer) error
MusicSequenceGetAUGraph reports an error if the AudioToolbox framework function MusicSequenceGetAUGraph fails.
func MusicSequenceGetBeatsForSeconds ¶
func MusicSequenceGetBeatsForSeconds(inSequence MusicSequence, inSeconds float64) (result int, outBeats float64)
MusicSequenceGetBeatsForSeconds calls the AudioToolbox framework function MusicSequenceGetBeatsForSeconds.
func MusicSequenceGetIndTrack ¶
func MusicSequenceGetIndTrack(inSequence MusicSequence, inTrackIndex int, outTrack unsafe.Pointer) error
MusicSequenceGetIndTrack reports an error if the AudioToolbox framework function MusicSequenceGetIndTrack fails.
func MusicSequenceGetInfoDictionary ¶
func MusicSequenceGetInfoDictionary(inSequence MusicSequence) corefoundation.CFDictionaryRef
MusicSequenceGetInfoDictionary calls the AudioToolbox framework function MusicSequenceGetInfoDictionary.
func MusicSequenceGetSMPTEResolution ¶
MusicSequenceGetSMPTEResolution calls the AudioToolbox framework function MusicSequenceGetSMPTEResolution.
func MusicSequenceGetSecondsForBeats ¶
func MusicSequenceGetSecondsForBeats(inSequence MusicSequence, inBeats float64) (result int, outSeconds float64)
MusicSequenceGetSecondsForBeats calls the AudioToolbox framework function MusicSequenceGetSecondsForBeats.
func MusicSequenceGetTempoTrack ¶
func MusicSequenceGetTempoTrack(inSequence MusicSequence, outTrack unsafe.Pointer) error
MusicSequenceGetTempoTrack reports an error if the AudioToolbox framework function MusicSequenceGetTempoTrack fails.
func MusicSequenceGetTrackCount ¶
func MusicSequenceGetTrackCount(inSequence MusicSequence) (result int, outNumberOfTracks int)
MusicSequenceGetTrackCount calls the AudioToolbox framework function MusicSequenceGetTrackCount.
func MusicSequenceGetTrackIndex ¶
func MusicSequenceGetTrackIndex(inSequence MusicSequence, inTrack MusicTrack) (result int, outTrackIndex int)
MusicSequenceGetTrackIndex calls the AudioToolbox framework function MusicSequenceGetTrackIndex.
func MusicSequenceLoadSMFDataWithFlags ¶
func MusicSequenceLoadSMFDataWithFlags(inSequence MusicSequence, inData obj.Object, inFlags MusicSequenceLoadFlags) error
MusicSequenceLoadSMFDataWithFlags reports an error if the AudioToolbox framework function MusicSequenceLoadSMFDataWithFlags fails.
func MusicSequenceLoadSMFWithFlags ¶
func MusicSequenceLoadSMFWithFlags(inSequence MusicSequence, inFileRef *carboncore.FSRef, inFlags MusicSequenceLoadFlags) error
MusicSequenceLoadSMFWithFlags reports an error if the AudioToolbox framework function MusicSequenceLoadSMFWithFlags fails.
func MusicSequenceNewTrack ¶
func MusicSequenceNewTrack(inSequence MusicSequence, outTrack unsafe.Pointer) error
MusicSequenceNewTrack reports an error if the AudioToolbox framework function MusicSequenceNewTrack fails.
func MusicSequenceReverse ¶
func MusicSequenceReverse(inSequence MusicSequence) error
MusicSequenceReverse reports an error if the AudioToolbox framework function MusicSequenceReverse fails.
func MusicSequenceSaveMIDIFile ¶
func MusicSequenceSaveMIDIFile(inSequence MusicSequence, inParentDirectory *carboncore.FSRef, inFileName obj.Object, inResolution uint16, inFlags int) error
MusicSequenceSaveMIDIFile reports an error if the AudioToolbox framework function MusicSequenceSaveMIDIFile fails.
func MusicSequenceSaveSMFData ¶
func MusicSequenceSaveSMFData(inSequence MusicSequence, inResolution uint16) (obj.Object, error)
MusicSequenceSaveSMFData reports an error if the AudioToolbox framework function MusicSequenceSaveSMFData fails.
func MusicSequenceSetAUGraph ¶
func MusicSequenceSetAUGraph(inSequence MusicSequence, inGraph AUGraph) error
MusicSequenceSetAUGraph reports an error if the AudioToolbox framework function MusicSequenceSetAUGraph fails.
func MusicSequenceSetMIDIEndpoint ¶
func MusicSequenceSetMIDIEndpoint(inSequence MusicSequence, inEndpoint int) error
MusicSequenceSetMIDIEndpoint reports an error if the AudioToolbox framework function MusicSequenceSetMIDIEndpoint fails.
func MusicSequenceSetSMPTEResolution ¶
MusicSequenceSetSMPTEResolution calls the AudioToolbox framework function MusicSequenceSetSMPTEResolution.
func MusicSequenceSetSequenceType ¶
func MusicSequenceSetSequenceType(inSequence MusicSequence, inType MusicSequenceType) error
MusicSequenceSetSequenceType reports an error if the AudioToolbox framework function MusicSequenceSetSequenceType fails.
func MusicSequenceSetUserCallback ¶
func MusicSequenceSetUserCallback(inSequence MusicSequence, inCallback unsafe.Pointer, inClientData unsafe.Pointer) error
MusicSequenceSetUserCallback reports an error if the AudioToolbox framework function MusicSequenceSetUserCallback fails.
func MusicTrackClear ¶
func MusicTrackClear(inTrack MusicTrack, inStartTime float64, inEndTime float64) error
MusicTrackClear reports an error if the AudioToolbox framework function MusicTrackClear fails.
func MusicTrackCopyInsert ¶
func MusicTrackCopyInsert(inSourceTrack MusicTrack, inSourceStartTime float64, inSourceEndTime float64, inDestTrack MusicTrack, inDestInsertTime float64) error
MusicTrackCopyInsert reports an error if the AudioToolbox framework function MusicTrackCopyInsert fails.
func MusicTrackCut ¶
func MusicTrackCut(inTrack MusicTrack, inStartTime float64, inEndTime float64) error
MusicTrackCut reports an error if the AudioToolbox framework function MusicTrackCut fails.
func MusicTrackGetDestMIDIEndpoint ¶
func MusicTrackGetDestMIDIEndpoint(inTrack MusicTrack) (result int, outEndpoint int)
MusicTrackGetDestMIDIEndpoint calls the AudioToolbox framework function MusicTrackGetDestMIDIEndpoint.
func MusicTrackGetDestNode ¶
func MusicTrackGetDestNode(inTrack MusicTrack) (result int, outNode int)
MusicTrackGetDestNode calls the AudioToolbox framework function MusicTrackGetDestNode.
func MusicTrackGetProperty ¶
func MusicTrackGetProperty(inTrack MusicTrack, inPropertyID int, outData unsafe.Pointer) (result int, ioLength int)
MusicTrackGetProperty calls the AudioToolbox framework function MusicTrackGetProperty.
func MusicTrackGetSequence ¶
func MusicTrackGetSequence(inTrack MusicTrack, outSequence unsafe.Pointer) error
MusicTrackGetSequence reports an error if the AudioToolbox framework function MusicTrackGetSequence fails.
func MusicTrackMerge ¶
func MusicTrackMerge(inSourceTrack MusicTrack, inSourceStartTime float64, inSourceEndTime float64, inDestTrack MusicTrack, inDestInsertTime float64) error
MusicTrackMerge reports an error if the AudioToolbox framework function MusicTrackMerge fails.
func MusicTrackMoveEvents ¶
func MusicTrackMoveEvents(inTrack MusicTrack, inStartTime float64, inEndTime float64, inMoveTime float64) error
MusicTrackMoveEvents reports an error if the AudioToolbox framework function MusicTrackMoveEvents fails.
func MusicTrackNewAUPresetEvent ¶
func MusicTrackNewAUPresetEvent(inTrack MusicTrack, inTimeStamp float64, inPresetEvent unsafe.Pointer) int
MusicTrackNewAUPresetEvent calls the AudioToolbox framework function MusicTrackNewAUPresetEvent.
func MusicTrackNewExtendedControlEvent ¶
func MusicTrackNewExtendedControlEvent(inTrack MusicTrack, inTimeStamp float64, inInfo *ExtendedControlEvent) error
MusicTrackNewExtendedControlEvent reports an error if the AudioToolbox framework function MusicTrackNewExtendedControlEvent fails.
func MusicTrackNewExtendedNoteEvent ¶
func MusicTrackNewExtendedNoteEvent(inTrack MusicTrack, inTimeStamp float64, inInfo *ExtendedNoteOnEvent) error
MusicTrackNewExtendedNoteEvent reports an error if the AudioToolbox framework function MusicTrackNewExtendedNoteEvent fails.
func MusicTrackNewExtendedTempoEvent ¶
func MusicTrackNewExtendedTempoEvent(inTrack MusicTrack, inTimeStamp float64, inBPM float64) error
MusicTrackNewExtendedTempoEvent reports an error if the AudioToolbox framework function MusicTrackNewExtendedTempoEvent fails.
func MusicTrackNewMIDIChannelEvent ¶
func MusicTrackNewMIDIChannelEvent(inTrack MusicTrack, inTimeStamp float64, inMessage *MIDIChannelMessage) error
MusicTrackNewMIDIChannelEvent reports an error if the AudioToolbox framework function MusicTrackNewMIDIChannelEvent fails.
func MusicTrackNewMIDINoteEvent ¶
func MusicTrackNewMIDINoteEvent(inTrack MusicTrack, inTimeStamp float64, inMessage *MIDINoteMessage) error
MusicTrackNewMIDINoteEvent reports an error if the AudioToolbox framework function MusicTrackNewMIDINoteEvent fails.
func MusicTrackNewMIDIRawDataEvent ¶
func MusicTrackNewMIDIRawDataEvent(inTrack MusicTrack, inTimeStamp float64, inRawData *MIDIRawData) error
MusicTrackNewMIDIRawDataEvent reports an error if the AudioToolbox framework function MusicTrackNewMIDIRawDataEvent fails.
func MusicTrackNewMetaEvent ¶
func MusicTrackNewMetaEvent(inTrack MusicTrack, inTimeStamp float64, inMetaEvent *MIDIMetaEvent) error
MusicTrackNewMetaEvent reports an error if the AudioToolbox framework function MusicTrackNewMetaEvent fails.
func MusicTrackNewParameterEvent ¶
func MusicTrackNewParameterEvent(inTrack MusicTrack, inTimeStamp float64, inInfo *ParameterEvent) error
MusicTrackNewParameterEvent reports an error if the AudioToolbox framework function MusicTrackNewParameterEvent fails.
func MusicTrackNewUserEvent ¶
func MusicTrackNewUserEvent(inTrack MusicTrack, inTimeStamp float64, inUserData *MusicEventUserData) error
MusicTrackNewUserEvent reports an error if the AudioToolbox framework function MusicTrackNewUserEvent fails.
func MusicTrackSetDestMIDIEndpoint ¶
func MusicTrackSetDestMIDIEndpoint(inTrack MusicTrack, inEndpoint int) error
MusicTrackSetDestMIDIEndpoint reports an error if the AudioToolbox framework function MusicTrackSetDestMIDIEndpoint fails.
func MusicTrackSetDestNode ¶
func MusicTrackSetDestNode(inTrack MusicTrack, inNode int) error
MusicTrackSetDestNode reports an error if the AudioToolbox framework function MusicTrackSetDestNode fails.
func MusicTrackSetProperty ¶
func MusicTrackSetProperty(inTrack MusicTrack, inPropertyID int, inData unsafe.Pointer, inLength int) error
MusicTrackSetProperty reports an error if the AudioToolbox framework function MusicTrackSetProperty fails.
func NewAUGraph ¶
NewAUGraph reports an error if the AudioToolbox framework function NewAUGraph fails.
func NewMusicEventIterator ¶
func NewMusicEventIterator(inTrack MusicTrack, outIterator unsafe.Pointer) error
NewMusicEventIterator reports an error if the AudioToolbox framework function NewMusicEventIterator fails.
func NewMusicPlayer ¶
NewMusicPlayer reports an error if the AudioToolbox framework function NewMusicPlayer fails.
func NewMusicSequence ¶
NewMusicSequence reports an error if the AudioToolbox framework function NewMusicSequence fails.
func NewMusicTrackFrom ¶
func NewMusicTrackFrom(inSourceTrack MusicTrack, inSourceStartTime float64, inSourceEndTime float64, outNewTrack unsafe.Pointer) error
NewMusicTrackFrom reports an error if the AudioToolbox framework function NewMusicTrackFrom fails.
func NextAudioFileRegion ¶
NextAudioFileRegion calls the AudioToolbox framework function NextAudioFileRegion.
func NumAudioFileMarkersToNumBytes ¶
NumAudioFileMarkersToNumBytes calls the AudioToolbox framework function NumAudioFileMarkersToNumBytes.
func NumBytesToNumAudioFileMarkers ¶
NumBytesToNumAudioFileMarkers calls the AudioToolbox framework function NumBytesToNumAudioFileMarkers.
Types ¶
type AU3DMixerAttenuationCurve ¶
type AU3DMixerAttenuationCurve uint32
const ( // An equal-power-based attenuation curve. K3DMixerAttenuationCurve_Power AU3DMixerAttenuationCurve = 0 // An exponential attenuation curve. K3DMixerAttenuationCurve_Exponential AU3DMixerAttenuationCurve = 1 // An inverse attenuation curve. K3DMixerAttenuationCurve_Inverse AU3DMixerAttenuationCurve = 2 // A linear attenuation curve. K3DMixerAttenuationCurve_Linear AU3DMixerAttenuationCurve = 3 )
func (AU3DMixerAttenuationCurve) String ¶
func (e AU3DMixerAttenuationCurve) String() string
String returns the AU3DMixerAttenuationCurve constant's name, or its numeric form when the value is not a known constant.
type AU3DMixerRenderingFlags ¶
type AU3DMixerRenderingFlags uint32
Bitmask — values may be combined with |.
const ( K3DMixerRenderingFlags_InterAuralDelay AU3DMixerRenderingFlags = 1 K3DMixerRenderingFlags_DopplerShift AU3DMixerRenderingFlags = 2 K3DMixerRenderingFlags_DistanceAttenuation AU3DMixerRenderingFlags = 4 K3DMixerRenderingFlags_DistanceFilter AU3DMixerRenderingFlags = 8 K3DMixerRenderingFlags_DistanceDiffusion AU3DMixerRenderingFlags = 16 K3DMixerRenderingFlags_LinearDistanceAttenuation AU3DMixerRenderingFlags = 32 K3DMixerRenderingFlags_ConstantReverbBlend AU3DMixerRenderingFlags = 64 )
func (AU3DMixerRenderingFlags) String ¶
func (e AU3DMixerRenderingFlags) String() string
String returns the AU3DMixerRenderingFlags constant's name, or its numeric form when the value is not a known constant.
type AUChannelInfo ¶
The audio input and output channel capabilities for an audio unit.
type AUDependentParameter ¶
An audio unit parameter whose value can change in response to a change in its parent metaparameter.
type AUHostIdentifier ¶
type AUHostIdentifier struct {
HostName unsafe.Pointer
HostVersion AUNumVersion
}
Used to describe the name and version of the audio unit's host
type AUHostVersionIdentifier ¶
The name and version of an audio unit’s host application.
type AUInputSamplesInOutputCallbackStruct ¶
type AUInputSamplesInOutputCallbackStruct struct {
InputToOutputCallback unsafe.Pointer
UserData unsafe.Pointer
}
The callback function and custom data for providing input-to-output sample mapping for an audio unit.
type AUListenerBase ¶
type AUListenerBase struct{}
An object which receives notifications of Audio Unit parameter value changes.
type AUMIDIEvent ¶
type AUMIDIEvent struct {
Next unsafe.Pointer
EventSampleTime int64
EventType RenderEventType
Reserved uint8
Length uint16
Cable uint8
Data [3]uint8
}
A structure that describes a scheduled MIDI event.
type AUMIDIEventList ¶
type AUMIDIEventList struct {
Next unsafe.Pointer
EventSampleTime int64
EventType RenderEventType
Reserved uint8
Cable uint8
EventList unsafe.Pointer
}
Describes a single scheduled MIDIEventList.
type AUMIDIOutputCallbackStruct ¶
type AUMIDIOutputCallbackStruct struct {
MidiOutputCallback unsafe.Pointer
UserData unsafe.Pointer
}
The callback function and custom data for an audio unit that provides MIDI output.
type AUNodeConnection ¶
type AUNodeConnection = AudioUnitNodeConnection
AUNodeConnection is an alias for the AudioUnitNodeConnection value type.
type AUNodeInteraction ¶
Describes the interaction between two node objects.
type AUNodeRenderCallback ¶
type AUNodeRenderCallback struct {
DestNode int32
DestInputNumber uint32
Cback AURenderCallbackStruct
}
A callback used to provide input to an audio unit.
type AUNumVersion ¶
type AUParameterAutomationEvent ¶
type AUParameterAutomationEvent struct {
HostTime uint64
Address uint64
Value float32
EventType ParameterAutomationEventType
Reserved uint64
}
An event recording the changing of a parameter, possibly including events such as touch and release gestures, at a particular host time.
type AUParameterEvent ¶
type AUParameterEvent struct {
Next unsafe.Pointer
EventSampleTime int64
EventType RenderEventType
Reserved [3]uint8
RampDurationSampleFrames uint32
ParameterAddress uint64
Value float32
}
A structure that describes a scheduled parameter event.
type AUParameterListenerRef ¶ added in v0.18.0
AUParameterListenerRef is a handle for the opaque AUParameterListenerRef type.
func (AUParameterListenerRef) IsNil ¶ added in v0.18.0
func (h AUParameterListenerRef) IsNil() bool
IsNil reports whether AUParameterListenerRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type AUParameterMIDIMapping ¶
type AUParameterMIDIMapping struct {
MScope uint32
MElement uint32
MParameterID uint32
MFlags ParameterMIDIMappingFlags
MSubRangeMin float32
MSubRangeMax float32
MStatus uint8
MData1 uint8
Reserved1 uint8
Reserved2 uint8
Reserved3 uint32
}
Represents a mapping between a MIDI message and an audio unit's parameter. The reserved fields in this structure are for future use. In the current implementation, they help align the structure to 64 bit size. Do not use the names of these fields in a host application. They are subject to change.
type AUPresetEvent ¶
Describes an audio unit preset.
type AURecordedParameterEvent ¶
An event recording the changing of a parameter at a particular host time.
type AURenderCallbackStruct ¶
Used for registering an input callback function with an audio unit.
type AURenderEvent ¶ added in v0.18.0
type AURenderEvent struct {
Head AURenderEventHeader
Parameter AUParameterEvent
MIDI AUMIDIEvent
MIDIEventsList AUMIDIEventList
}
A union of the various specific render event types. Determine which variant to use via head.eventType. AURenderEventParameter and AURenderEventParameterRamp use the parameter variant. AURenderEventMIDI and AURenderEventMIDISysEx use the MIDI variant.
type AURenderEventHeader ¶
type AURenderEventHeader struct {
// contains filtered or unexported fields
}
The common header for a render event. The C layout cannot be reproduced as a plain Go value struct, so it is held as its exact-size bytes and read through the typed As* accessors below. It is pointer-only: never pass it by value.
func (*AURenderEventHeader) AsEventSampleTime ¶ added in v0.18.0
func (u *AURenderEventHeader) AsEventSampleTime() int64
AsEventSampleTime returns the eventSampleTime field, read from the backing bytes at offset 8.
func (*AURenderEventHeader) AsNext ¶ added in v0.18.0
func (u *AURenderEventHeader) AsNext() unsafe.Pointer
AsNext returns the next field, read from the backing bytes at offset 0.
func (*AURenderEventHeader) AsReserved ¶ added in v0.18.0
func (u *AURenderEventHeader) AsReserved() uint8
AsReserved returns the reserved field, read from the backing bytes at offset 17.
type AUSamplerBankPresetData ¶
type AUSamplerInstrumentData ¶
type AUVoiceIOOtherAudioDuckingConfiguration ¶
type AUVoiceIOOtherAudioDuckingConfiguration struct {
MEnableAdvancedDucking uint8
MDuckingLevel VoiceIOOtherAudioDuckingLevel
}
A structure that you use to configure ducking of other non-voice audio in a voice chat.
type AudioBalanceFade ¶
type AudioBalanceFade struct {
MLeftRightBalance float32
MBackFrontFade float32
MType AudioBalanceFadeType
MChannelLayout unsafe.Pointer
}
Describes audio left/right balance and front/back fade values.
type AudioBalanceFadeType ¶
type AudioBalanceFadeType uint32
Identifiers for audio balance fade types.
const ( // Ensures that the overall gain value never exceeds 1.0 by fading one channel as the other channel’s level rises. This can reduce overall loudness when the balance or fade is not in the center. KAudioBalanceFadeType_MaxUnityGain AudioBalanceFadeType = 0 // Overall loudness remains constant, but gain can exceed 1.0. The gain value is 1.0 when the balance and fade are in the center. From there they can increase to +3dB (1.414) and decrease to silence. KAudioBalanceFadeType_EqualPower AudioBalanceFadeType = 1 )
func (AudioBalanceFadeType) String ¶
func (e AudioBalanceFadeType) String() string
String returns the AudioBalanceFadeType constant's name, or its numeric form when the value is not a known constant.
type AudioBytePacketTranslation ¶
type AudioBytePacketTranslation struct {
MByte int64
MPacket int64
MByteOffsetInPacket uint32
MFlags AudioBytePacketTranslationFlags
}
A data structure used by the kAudioFilePropertyByteToPacket and kAudioFilePropertyPacketToByte properties.
type AudioBytePacketTranslationFlags ¶
type AudioBytePacketTranslationFlags uint32
Bitmask — values may be combined with |.
const ( // If set, the result value is an estimate. KBytePacketTranslationFlag_IsEstimate AudioBytePacketTranslationFlags = 1 )
func (AudioBytePacketTranslationFlags) String ¶
func (e AudioBytePacketTranslationFlags) String() string
String returns the AudioBytePacketTranslationFlags constant's name, or its numeric form when the value is not a known constant.
type AudioCodecMagicCookieInfo ¶
A structure holding magic cookie information needed by some codecs.
type AudioCodecPrimeInfo ¶
A structure specifying the number of leading and trailing empty frames to be inserted.
type AudioComponent ¶ added in v0.18.0
AudioComponent is a handle for the opaque AudioComponent type.
func AudioComponentFindNext ¶
func AudioComponentFindNext(inComponent AudioComponent, inDesc *AudioComponentDescription) AudioComponent
AudioComponentFindNext calls the AudioToolbox framework function AudioComponentFindNext.
func AudioComponentInstanceGetComponent ¶
func AudioComponentInstanceGetComponent(inInstance *carboncore.ComponentInstanceRecord) AudioComponent
AudioComponentInstanceGetComponent calls the AudioToolbox framework function AudioComponentInstanceGetComponent.
func AudioComponentRegister ¶
func AudioComponentRegister(inDesc *AudioComponentDescription, inName corefoundation.CFStringRef, inVersion int, inFactory unsafe.Pointer) AudioComponent
AudioComponentRegister calls the AudioToolbox framework function AudioComponentRegister.
func (AudioComponent) IsNil ¶ added in v0.18.0
func (h AudioComponent) IsNil() bool
IsNil reports whether AudioComponent is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type AudioComponentDescription ¶
type AudioComponentDescription struct {
ComponentType uint32
ComponentSubType uint32
ComponentManufacturer uint32
ComponentFlags uint32
ComponentFlagsMask uint32
}
Identifying information for an audio component.
func AUGraphNodeInfo ¶
func AUGraphNodeInfo(inGraph AUGraph, inNode int, outAudioUnit unsafe.Pointer) (result int, outDescription AudioComponentDescription)
AUGraphNodeInfo calls the AudioToolbox framework function AUGraphNodeInfo.
type AudioComponentFlags ¶
type AudioComponentFlags uint32
Bitmask — values may be combined with |.
const ( KAudioComponentFlag_Unsearchable AudioComponentFlags = 1 KAudioComponentFlag_SandboxSafe AudioComponentFlags = 2 KAudioComponentFlag_IsV3AudioUnit AudioComponentFlags = 4 KAudioComponentFlag_RequiresAsyncInstantiation AudioComponentFlags = 8 KAudioComponentFlag_CanLoadInProcess AudioComponentFlags = 16 )
func (AudioComponentFlags) String ¶
func (e AudioComponentFlags) String() string
String returns the AudioComponentFlags constant's name, or its numeric form when the value is not a known constant.
type AudioComponentInstance ¶
type AudioComponentInstance = *carboncore.ComponentInstanceRecord
AudioComponentInstance is an alias for the ComponentInstanceRecord value type.
type AudioComponentInstantiationOptions ¶
type AudioComponentInstantiationOptions uint32
Bitmask — values may be combined with |.
const ( KAudioComponentInstantiation_LoadOutOfProcess AudioComponentInstantiationOptions = 1 KAudioComponentInstantiation_LoadInProcess AudioComponentInstantiationOptions = 2 )
func (AudioComponentInstantiationOptions) String ¶
func (e AudioComponentInstantiationOptions) String() string
String returns the AudioComponentInstantiationOptions constant's name, or its numeric form when the value is not a known constant.
type AudioComponentPlugInInterface ¶
type AudioComponentPlugInInterface struct {
// contains filtered or unexported fields
}
A structure used to represent an audio plugin's routines The C layout cannot be reproduced as a plain Go value struct, so it is held as its exact-size bytes and read through the typed As* accessors below. It is pointer-only: never pass it by value.
func (*AudioComponentPlugInInterface) AsClose ¶ added in v0.18.0
func (u *AudioComponentPlugInInterface) AsClose() func(unsafe.Pointer) int32
AsClose binds the Close C function pointer (offset 8) to a callable Go func, or returns nil when the pointer is null.
func (*AudioComponentPlugInInterface) AsLookup ¶ added in v0.18.0
func (u *AudioComponentPlugInInterface) AsLookup() func(int16) unsafe.Pointer
AsLookup binds the Lookup C function pointer (offset 16) to a callable Go func, or returns nil when the pointer is null.
func (*AudioComponentPlugInInterface) AsOpen ¶ added in v0.18.0
AsOpen binds the Open C function pointer (offset 0) to a callable Go func, or returns nil when the pointer is null.
func (*AudioComponentPlugInInterface) AsReserved ¶ added in v0.18.0
func (u *AudioComponentPlugInInterface) AsReserved() unsafe.Pointer
AsReserved returns the reserved field, read from the backing bytes at offset 24.
type AudioComponentValidationResult ¶
type AudioComponentValidationResult uint32
const ( KAudioComponentValidationResult_Unknown AudioComponentValidationResult = 0 KAudioComponentValidationResult_Passed AudioComponentValidationResult = 1 KAudioComponentValidationResult_Failed AudioComponentValidationResult = 2 KAudioComponentValidationResult_TimedOut AudioComponentValidationResult = 3 )
func AudioComponentValidate ¶
func AudioComponentValidate(inComponent AudioComponent, inValidationParameters corefoundation.CFDictionaryRef) (result int, outValidationResult AudioComponentValidationResult)
AudioComponentValidate calls the AudioToolbox framework function AudioComponentValidate.
func (AudioComponentValidationResult) String ¶
func (e AudioComponentValidationResult) String() string
String returns the AudioComponentValidationResult constant's name, or its numeric form when the value is not a known constant.
type AudioConverterOptions ¶
type AudioConverterOptions uint32
Bitmask — values may be combined with |.
const (
KAudioConverterOption_Unbuffered AudioConverterOptions = 65536
)
func (AudioConverterOptions) String ¶
func (e AudioConverterOptions) String() string
String returns the AudioConverterOptions constant's name, or its numeric form when the value is not a known constant.
type AudioConverterPrimeInfo ¶
Specifies priming information for an audio converter.
type AudioConverterRef ¶ added in v0.18.0
AudioConverterRef is a handle for the opaque AudioConverterRef type.
func (AudioConverterRef) IsNil ¶ added in v0.18.0
func (h AudioConverterRef) IsNil() bool
IsNil reports whether AudioConverterRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type AudioFileFDFTable ¶
type AudioFileFDFTable struct {
MComponentStorage unsafe.Pointer
MReadBytesFDF unsafe.Pointer
MWriteBytesFDF unsafe.Pointer
MReadPacketsFDF unsafe.Pointer
MWritePacketsFDF unsafe.Pointer
MGetPropertyInfoFDF unsafe.Pointer
MGetPropertyFDF unsafe.Pointer
MSetPropertyFDF unsafe.Pointer
MCountUserDataFDF unsafe.Pointer
MGetUserDataSizeFDF unsafe.Pointer
MGetUserDataFDF unsafe.Pointer
MSetUserDataFDF unsafe.Pointer
}
type AudioFileFDFTableExtended ¶
type AudioFileFDFTableExtended struct {
MComponentStorage unsafe.Pointer
MReadBytesFDF unsafe.Pointer
MWriteBytesFDF unsafe.Pointer
MReadPacketsFDF unsafe.Pointer
MWritePacketsFDF unsafe.Pointer
MGetPropertyInfoFDF unsafe.Pointer
MGetPropertyFDF unsafe.Pointer
MSetPropertyFDF unsafe.Pointer
MCountUserDataFDF unsafe.Pointer
MGetUserDataSizeFDF unsafe.Pointer
MGetUserDataFDF unsafe.Pointer
MSetUserDataFDF unsafe.Pointer
MReadPacketDataFDF unsafe.Pointer
}
type AudioFileFlags ¶
type AudioFileFlags uint32
Bitmask — values may be combined with |.
const ( KAudioFileFlags_EraseFile AudioFileFlags = 1 // Typically, the audio data in a file is page aligned. To make reading the file data as fast as possible, you can use page-aligned data to take advantage of optimized code paths in the file system. However, when space is at a premium, you might want to avoid the additional padding required to attain alignment. To do so, set this flag when calling AudioFileCreate or AudioFileCreateWithURL. KAudioFileFlags_DontPageAlignAudioData AudioFileFlags = 2 )
func (AudioFileFlags) String ¶
func (e AudioFileFlags) String() string
String returns the AudioFileFlags constant's name, or its numeric form when the value is not a known constant.
type AudioFileMarker ¶
type AudioFileMarker struct {
// contains filtered or unexported fields
}
Annotates a position in an audio file. The C layout cannot be reproduced as a plain Go value struct, so it is held as its exact-size bytes and read through the typed As* accessors below. It is pointer-only: never pass it by value.
func (*AudioFileMarker) AsMChannel ¶ added in v0.18.0
func (u *AudioFileMarker) AsMChannel() uint16
AsMChannel returns the mChannel field, read from the backing bytes at offset 34.
func (*AudioFileMarker) AsMFramePosition ¶ added in v0.18.0
func (u *AudioFileMarker) AsMFramePosition() float64
AsMFramePosition returns the mFramePosition field, read from the backing bytes at offset 0.
func (*AudioFileMarker) AsMMarkerID ¶ added in v0.18.0
func (u *AudioFileMarker) AsMMarkerID() int32
AsMMarkerID returns the mMarkerID field, read from the backing bytes at offset 16.
func (*AudioFileMarker) AsMReserved ¶ added in v0.18.0
func (u *AudioFileMarker) AsMReserved() uint16
AsMReserved returns the mReserved field, read from the backing bytes at offset 32.
func (*AudioFileMarker) AsMType ¶ added in v0.18.0
func (u *AudioFileMarker) AsMType() uint32
AsMType returns the mType field, read from the backing bytes at offset 28.
type AudioFileMarkerList ¶
type AudioFileMarkerList struct {
// contains filtered or unexported fields
}
A list of markers associated with an audio file, including their SMPTE time type, the number of markers, and the markers themselves. The C layout cannot be reproduced as a plain Go value struct, so it is held as its exact-size bytes and read through the typed As* accessors below. It is pointer-only: never pass it by value.
func (*AudioFileMarkerList) AsMNumberMarkers ¶ added in v0.18.0
func (u *AudioFileMarkerList) AsMNumberMarkers() uint32
AsMNumberMarkers returns the mNumberMarkers field, read from the backing bytes at offset 4.
func (*AudioFileMarkerList) AsMSMPTETimeType ¶ added in v0.18.0
func (u *AudioFileMarkerList) AsMSMPTETimeType() uint32
AsMSMPTETimeType returns the mSMPTE_TimeType field, read from the backing bytes at offset 0.
type AudioFilePacketTableInfo ¶
type AudioFilePacketTableInfo struct {
MNumberValidFrames int64
MPrimingFrames int32
MRemainderFrames int32
}
Contains information about the number of valid frames in a file and where they begin and end.
type AudioFilePermissions ¶
type AudioFilePermissions int8
Flags for use when opening an audio file.
const ( // File is read-only. KAudioFileReadPermission AudioFilePermissions = 1 // File is write-only. KAudioFileWritePermission AudioFilePermissions = 2 // File has read-write permission. KAudioFileReadWritePermission AudioFilePermissions = 3 )
func (AudioFilePermissions) String ¶
func (e AudioFilePermissions) String() string
String returns the AudioFilePermissions constant's name, or its numeric form when the value is not a known constant.
type AudioFileRegion ¶
type AudioFileRegion struct {
// contains filtered or unexported fields
}
An audio file region specifies a segment of audio data. The C layout cannot be reproduced as a plain Go value struct, so it is held as its exact-size bytes and read through the typed As* accessors below. It is pointer-only: never pass it by value.
func (*AudioFileRegion) AsMNumberMarkers ¶ added in v0.18.0
func (u *AudioFileRegion) AsMNumberMarkers() uint32
AsMNumberMarkers returns the mNumberMarkers field, read from the backing bytes at offset 20.
func (*AudioFileRegion) AsMRegionID ¶ added in v0.18.0
func (u *AudioFileRegion) AsMRegionID() uint32
AsMRegionID returns the mRegionID field, read from the backing bytes at offset 0.
type AudioFileRegionFlags ¶
type AudioFileRegionFlags uint32
Flags that specify a playback direction for an audio file region structure. Bitmask — values may be combined with |.
const ( // If set, the region is looped. You must set one or both of the remaining flags must also be set for the region to be looped. KAudioFileRegionFlag_LoopEnable AudioFileRegionFlags = 1 // If set, the region is played forward. KAudioFileRegionFlag_PlayForward AudioFileRegionFlags = 2 // If set, the region is played backward. KAudioFileRegionFlag_PlayBackward AudioFileRegionFlags = 4 )
func (AudioFileRegionFlags) String ¶
func (e AudioFileRegionFlags) String() string
String returns the AudioFileRegionFlags constant's name, or its numeric form when the value is not a known constant.
type AudioFileRegionList ¶
type AudioFileRegionList struct {
MSMPTETimeType uint32
MNumberRegions uint32
MRegions [1]AudioFileRegion
}
A list of the audio file regions in a file.
type AudioFileStreamID ¶ added in v0.18.0
AudioFileStreamID is a handle for the opaque AudioFileStreamID type.
func (AudioFileStreamID) IsNil ¶ added in v0.18.0
func (h AudioFileStreamID) IsNil() bool
IsNil reports whether AudioFileStreamID is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type AudioFileStreamParseFlags ¶
type AudioFileStreamParseFlags uint32
Bitmask — values may be combined with |.
const ( // Pass this flag to the AudioFileStreamParseBytes function to signal a discontinuity in the audio data. KAudioFileStreamParseFlag_Discontinuity AudioFileStreamParseFlags = 1 )
func (AudioFileStreamParseFlags) String ¶
func (e AudioFileStreamParseFlags) String() string
String returns the AudioFileStreamParseFlags constant's name, or its numeric form when the value is not a known constant.
type AudioFileStreamPropertyFlags ¶
type AudioFileStreamPropertyFlags uint32
Bitmask — values may be combined with |.
const ( // This flag is set when the callback AudioFileStream_PropertyListenerProc is invoked in the case that the value of the property has been cached and can be obtained later. KAudioFileStreamPropertyFlag_PropertyIsCached AudioFileStreamPropertyFlags = 1 // A property listener sets this flag to instruct the parser to cache the property value so that it remains available after the callback returns. KAudioFileStreamPropertyFlag_CacheProperty AudioFileStreamPropertyFlags = 2 )
func (AudioFileStreamPropertyFlags) String ¶
func (e AudioFileStreamPropertyFlags) String() string
String returns the AudioFileStreamPropertyFlags constant's name, or its numeric form when the value is not a known constant.
type AudioFileStreamSeekFlags ¶
type AudioFileStreamSeekFlags uint32
Bitmask — values may be combined with |.
const ( // This flag is returned by the AudioFileStreamSeek function if the byte offset is only an estimate. KAudioFileStreamSeekFlag_OffsetIsEstimated AudioFileStreamSeekFlags = 1 )
func AudioFileStreamSeek ¶
func AudioFileStreamSeek(inAudioFileStream AudioFileStreamID, inPacketOffset int64) (result int, outDataByteOffset int64, ioFlags AudioFileStreamSeekFlags)
AudioFileStreamSeek calls the AudioToolbox framework function AudioFileStreamSeek.
func (AudioFileStreamSeekFlags) String ¶
func (e AudioFileStreamSeekFlags) String() string
String returns the AudioFileStreamSeekFlags constant's name, or its numeric form when the value is not a known constant.
type AudioFileTypeAndFormatID ¶
A specifier for the constantkAudioFileGlobalInfo_AvailableStreamDescriptionsForFormat.
type AudioFile_SMPTE_Time ¶
type AudioFile_SMPTE_Time struct {
MHours int8
MMinutes uint8
MSeconds uint8
MFrames uint8
MSubFrameSampleOffset uint32
}
A data structure for describing SMPTE (Society of Motion Picture and Television Engineers) time.
type AudioFormatInfo ¶
type AudioFormatInfo struct {
MASBD coreaudiotypes.AudioStreamBasicDescription
MMagicCookie unsafe.Pointer
MMagicCookieSize uint32
}
A structure that specifies an audio format.
type AudioFramePacketTranslation ¶
A structure that specifies frame and packet translations.
type AudioIndependentPacketTranslation ¶
used for property kAudioFilePropertyPreviousIndependentPacket and kAudioFilePropertyNextIndependentPacket See descriptions of kAudioFilePropertyPreviousIndependentPacket and kAudioFilePropertyNextIndependentPacket
type AudioMixRenderingStyle ¶ added in v0.17.0
type AudioMixRenderingStyle uint32
const ( KAudioMixRenderingStyle_Cinematic AudioMixRenderingStyle = 0 KAudioMixRenderingStyle_Studio AudioMixRenderingStyle = 1 KAudioMixRenderingStyle_InFrame AudioMixRenderingStyle = 2 KAudioMixRenderingStyle_CinematicBackgroundStem AudioMixRenderingStyle = 3 KAudioMixRenderingStyle_CinematicForegroundStem AudioMixRenderingStyle = 4 KAudioMixRenderingStyle_StudioForegroundStem AudioMixRenderingStyle = 5 KAudioMixRenderingStyle_InFrameForegroundStem AudioMixRenderingStyle = 6 KAudioMixRenderingStyle_Standard AudioMixRenderingStyle = 7 KAudioMixRenderingStyle_StudioBackgroundStem AudioMixRenderingStyle = 8 KAudioMixRenderingStyle_InFrameBackgroundStem AudioMixRenderingStyle = 9 )
func (AudioMixRenderingStyle) String ¶ added in v0.17.0
func (e AudioMixRenderingStyle) String() string
String returns the AudioMixRenderingStyle constant's name, or its numeric form when the value is not a known constant.
type AudioOutputUnitMIDICallbacks ¶
type AudioOutputUnitMIDICallbacks struct {
// contains filtered or unexported fields
}
For inter-app audio, callbacks for receiving MIDI messages. The supplied callback functions are called from the realtime rendering thread, before each render cycle, to provide any incoming MIDI messages. The C layout cannot be reproduced as a plain Go value struct, so it is held as its exact-size bytes and read through the typed As* accessors below. It is pointer-only: never pass it by value.
func (*AudioOutputUnitMIDICallbacks) AsMIDIEventProc ¶ added in v0.18.0
func (u *AudioOutputUnitMIDICallbacks) AsMIDIEventProc() func(unsafe.Pointer, uint32, uint32, uint32, uint32)
AsMIDIEventProc binds the MIDIEventProc C function pointer (offset 8) to a callable Go func, or returns nil when the pointer is null.
func (*AudioOutputUnitMIDICallbacks) AsMIDISysExProc ¶ added in v0.18.0
func (u *AudioOutputUnitMIDICallbacks) AsMIDISysExProc() func(unsafe.Pointer, unsafe.Pointer, uint32)
AsMIDISysExProc binds the MIDISysExProc C function pointer (offset 16) to a callable Go func, or returns nil when the pointer is null.
func (*AudioOutputUnitMIDICallbacks) AsUserData ¶ added in v0.18.0
func (u *AudioOutputUnitMIDICallbacks) AsUserData() unsafe.Pointer
AsUserData returns the userData field, read from the backing bytes at offset 0.
type AudioOutputUnitStartAtTimeParams ¶
type AudioOutputUnitStartAtTimeParams struct {
MTimestamp coreaudiotypes.AudioTimeStamp
MFlags uint32
}
A timestamp for scheduled starting of an I/O audio unit.
type AudioPacketDependencyInfoTranslation ¶
type AudioPacketDependencyInfoTranslation struct {
MPacket int64
MIsIndependentlyDecodable uint32
MNumberPrerollPackets uint32
}
used for property kAudioFilePropertyPacketToDependencyInfo See descriptions of kAudioFilePropertyPacketToDependencyInfo and kAudioFilePropertyRestrictsRandomAccess
type AudioPacketRangeByteCountTranslation ¶
type AudioPacketRangeByteCountTranslation struct {
MPacket int64
MPacketCount int64
MByteCountUpperBound int64
}
used for property kAudioFilePropertyPacketRangeByteCountUpperBound See description of kAudioFilePropertyPacketRangeByteCountUpperBound
type AudioPacketRollDistanceTranslation ¶
used for property kAudioFilePropertyPacketToRollDistance See descriptions of kAudioFilePropertyPacketToRollDistance and kAudioFilePropertyRestrictsRandomAccess
type AudioPanningInfo ¶
type AudioPanningInfo struct {
MPanningMode AudioPanningMode
MCoordinateFlags uint32
MCoordinates [3]float32
MGainScale float32
MOutputChannelMap unsafe.Pointer
}
Audio panning information.
type AudioPanningMode ¶
type AudioPanningMode uint32
Identifiers for audio panning algorithms.
const ( // The SoundField panning algorithm. KPanningMode_SoundField AudioPanningMode = 3 // A vector-based panning algorithm. KPanningMode_VectorBasedPanning AudioPanningMode = 4 )
func (AudioPanningMode) String ¶
func (e AudioPanningMode) String() string
String returns the AudioPanningMode constant's name, or its numeric form when the value is not a known constant.
type AudioQueueBuffer ¶
type AudioQueueBuffer struct {
MAudioDataBytesCapacity uint
MAudioData unsafe.Pointer
MAudioDataByteSize uint32
MUserData unsafe.Pointer
MPacketDescriptionCapacity uint
MPacketDescriptions unsafe.Pointer
MPacketDescriptionCount uint32
}
Defines an audio queue buffer.
type AudioQueueChannelAssignment ¶
Specifies an audio device channel to which the queue will play or from which it will record.
type AudioQueueLevelMeterState ¶
Specifies the current level metering information for one channel of an audio queue.
type AudioQueueParameterEvent ¶
Specifies an audio queue parameter and associated value.
type AudioQueueProcessingTapFlags ¶
type AudioQueueProcessingTapFlags uint32
Bitmask — values may be combined with |.
const ( KAudioQueueProcessingTap_PreEffects AudioQueueProcessingTapFlags = 1 KAudioQueueProcessingTap_PostEffects AudioQueueProcessingTapFlags = 2 KAudioQueueProcessingTap_Siphon AudioQueueProcessingTapFlags = 4 KAudioQueueProcessingTap_StartOfStream AudioQueueProcessingTapFlags = 256 KAudioQueueProcessingTap_EndOfStream AudioQueueProcessingTapFlags = 512 )
func AudioQueueProcessingTapGetSourceAudio ¶
func AudioQueueProcessingTapGetSourceAudio(inAQTap AudioQueueProcessingTapRef, inNumberFrames int, ioTimeStamp *coreaudiotypes.AudioTimeStamp, ioData unsafe.Pointer) (result int, outFlags AudioQueueProcessingTapFlags, outNumberFrames int)
AudioQueueProcessingTapGetSourceAudio calls the AudioToolbox framework function AudioQueueProcessingTapGetSourceAudio.
func (AudioQueueProcessingTapFlags) String ¶
func (e AudioQueueProcessingTapFlags) String() string
String returns the AudioQueueProcessingTapFlags constant's name, or its numeric form when the value is not a known constant.
type AudioQueueProcessingTapRef ¶ added in v0.18.0
AudioQueueProcessingTapRef is a handle for the opaque AudioQueueProcessingTapRef type.
func (AudioQueueProcessingTapRef) IsNil ¶ added in v0.18.0
func (h AudioQueueProcessingTapRef) IsNil() bool
IsNil reports whether AudioQueueProcessingTapRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type AudioQueueRef ¶ added in v0.18.0
AudioQueueRef is a handle for the opaque AudioQueueRef type.
func (AudioQueueRef) IsNil ¶ added in v0.18.0
func (h AudioQueueRef) IsNil() bool
IsNil reports whether AudioQueueRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type AudioQueueTimelineRef ¶ added in v0.18.0
AudioQueueTimelineRef is a handle for the opaque AudioQueueTimelineRef type.
func (AudioQueueTimelineRef) IsNil ¶ added in v0.18.0
func (h AudioQueueTimelineRef) IsNil() bool
IsNil reports whether AudioQueueTimelineRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type AudioSettingsFlags ¶
type AudioSettingsFlags uint32
Bitmask — values may be combined with |.
const ( KAudioSettingsFlags_ExpertParameter AudioSettingsFlags = 1 KAudioSettingsFlags_InvisibleParameter AudioSettingsFlags = 2 KAudioSettingsFlags_MetaParameter AudioSettingsFlags = 4 KAudioSettingsFlags_UserInterfaceParameter AudioSettingsFlags = 8 )
func (AudioSettingsFlags) String ¶
func (e AudioSettingsFlags) String() string
String returns the AudioSettingsFlags constant's name, or its numeric form when the value is not a known constant.
type AudioUnit ¶ added in v0.17.0
AudioUnit is an idiomatic wrapper over the Objective-C class AUAudioUnit.
AudioUnit is an abstract base — you do not construct it directly. Construct one of AudioUnitV2Bridge and pass it where a AudioUnit is accepted.
A class that defines a host’s interface to an audio unit.
func AudioUnitFromID ¶ added in v0.17.0
AudioUnitFromID adopts an existing Objective-C object as a AudioUnit (nil for 0), retaining it and registering a release finalizer.
func InstantiateWithComponentDescriptionOptions ¶ added in v0.18.1
func InstantiateWithComponentDescriptionOptions(ctx context.Context, componentDescription AudioComponentDescription, options AudioComponentInstantiationOptions) (result *AudioUnit, err error)
InstantiateWithComponentDescriptionOptions asynchronously creates an audio unit instance.
InstantiateWithComponentDescriptionOptions blocks until the operation completes or ctx is cancelled.
func NewAudioUnitWithComponentDescription ¶ added in v0.18.1
func NewAudioUnitWithComponentDescription(componentDescription AudioComponentDescription) (result *AudioUnit, err error)
NewAudioUnitWithComponentDescription synchronously initializes a new audio unit object.
func NewAudioUnitWithComponentDescriptionOptions ¶ added in v0.18.1
func NewAudioUnitWithComponentDescriptionOptions(componentDescription AudioComponentDescription, options AudioComponentInstantiationOptions) (result *AudioUnit, err error)
NewAudioUnitWithComponentDescriptionOptions synchronously initializes a new audio unit object.
func (*AudioUnit) AllParameterValues ¶ added in v0.17.0
AllParameterValues wraps the corresponding Objective-C method.
func (*AudioUnit) AllocateRenderResourcesAndReturnError ¶ added in v0.17.0
AllocateRenderResourcesAndReturnError allocates resources required to render audio.
AllocateRenderResourcesAndReturnError returns an error if the operation did not succeed.
func (*AudioUnit) AudioUnitMIDIProtocol ¶ added in v0.17.0
AudioUnitMIDIProtocol returns the MIDI protocol used by the Audio Unit for receiving MIDIEventList data. Subclassers should override to return the desired protocol in which the Audio Unit wants to receive input MIDI data, otherwise the Audio Unit will default to receiving legacy MIDI. All translatable messages will be converted (if necessary) to this protocol prior to delivery to the Audio Unit. This is bridged to the v2 API property kAudioUnitProperty_AudioUnitMIDIProtocol.
func (*AudioUnit) AudioUnitName ¶ added in v0.17.0
AudioUnitName returns the audio unit's name.
func (*AudioUnit) AudioUnitShortName ¶ added in v0.17.0
AudioUnitShortName returns a short name for the audio unit. Audio unit host applications can display this name in situations where the audioUnitName might be too long. The recommended length is up to 16 characters. Host applications may truncate it.
func (*AudioUnit) CanPerformInput ¶ added in v0.17.0
CanPerformInput reports whether the I/O device can perform input.
func (*AudioUnit) CanPerformOutput ¶ added in v0.17.0
CanPerformOutput reports whether the I/O device can perform output.
func (*AudioUnit) CanProcessInPlace ¶ added in v0.17.0
CanProcessInPlace reports whether expresses whether an audio unit can process in place. In-place processing is the ability for an audio unit to transform an input signal to an output signal in-place in the input buffer, without requiring a separate output buffer. A host can express its desire to process in place by using null mData pointers in the output buffer list. The audio unit may process in-place in the input buffers. See the discussion of renderBlock. Partially bridged to the v2 property kAudioUnitProperty_InPlaceProcessing; in v3 it is not settable. Defaults to false. Subclassers can override to return true.
func (*AudioUnit) ChannelCapabilities ¶ added in v0.17.0
ChannelCapabilities returns expresses valid combinations of input and output channel counts. Elements are NSNumber containing integers; [0]=input count, [1]=output count, [2]=2nd input count, [3]=2nd output count, etc. An input, output count of (2, 2) signifies that the audio unit can process 2 input channels to 2 output channels. Negative numbers (-1, -2) indicate *any* number of channels. (-1, -1) means any number of channels on input and output as long as they are the same. (-1, -2) means any number of channels on input or output, without the requirement that the counts are the same. A negative number less than -2 is used to indicate a total number of channels across every bus in that scope, regardless of how many channels are set on any particular bus. For example, (-16, 2) indicates that a unit can accept up to 16 channels of input across its input busses, but will only produce 2 channels of output. Zero on either side (though typically input) means "not applicable", because there are no elements on that side. Bridged to the v2 property kAudioUnitProperty_SupportedNumChannels.
ChannelCapabilities returns the collection as a Go slice.
func (*AudioUnit) ChannelMap ¶ added in v0.17.0
ChannelMap specify a mapping of input channels to output channels. Converter and input/output audio units may support re-ordering or splitting of input channels to output channels. The number of channels in the channel map is the number of channels of the destination (output format). The channel map entries contain a channel number of the source channel that should be mapped to that destination channel. If -1 is specified, then that destination channel will not contain any channel from the source (so it will be silent). If the property value is nil, then the audio unit does not support this property. Bridged to the v2 property kAudioOutputUnitProperty_ChannelMap.
ChannelMap returns the collection as a Go slice.
func (*AudioUnit) Component ¶ added in v0.17.0
func (au *AudioUnit) Component() AudioComponent
Component returns the AudioComponent which was found based on componentDescription when the audio unit was created.
func (*AudioUnit) ComponentDescription ¶ added in v0.18.1
func (au *AudioUnit) ComponentDescription() AudioComponentDescription
ComponentDescription returns the AudioComponentDescription with which the audio unit was created.
func (*AudioUnit) ComponentName ¶ added in v0.17.0
ComponentName returns the unit's component's name. By convention, an audio unit's component name is its manufacturer's name, plus ": ", plus the audio unit's name. The audioUnitName and manufacturerName properties are derived from the component name.
func (*AudioUnit) ComponentVersion ¶ added in v0.17.0
ComponentVersion returns the unit's component's version.
func (*AudioUnit) ContextName ¶ added in v0.17.0
ContextName returns information about the host context in which the audio unit is connected, for display in the audio unit's view. For example, a host could set "track 3" as the context, so that the audio unit's view could then display to the user "My audio unit on track 3". Bridged to the v2 property kAudioUnitProperty_ContextName.
func (*AudioUnit) CurrentPreset ¶ added in v0.17.0
func (au *AudioUnit) CurrentPreset() *AudioUnitPreset
CurrentPreset returns the audio unit's last-selected preset. Hosts can let the user select a preset by setting this property. Note that when getting this property, it does not reflect whether parameters may have been modified since the preset was selected. Bridged to the v2 property kAudioUnitProperty_PresentPreset.
func (*AudioUnit) DeallocateRenderResources ¶ added in v0.17.0
func (au *AudioUnit) DeallocateRenderResources()
DeallocateRenderResources deallocates resources required to render audio.
func (*AudioUnit) DeleteUserPreset ¶ added in v0.17.0
func (au *AudioUnit) DeleteUserPreset(userPreset *AudioUnitPreset) error
DeleteUserPreset remove a user preset. The user preset will be removed from userPresets and will be permanently deleted. The default implementation of this method will delete the user preset from an internal location. Audio Units are free to override this method to operate on a different location (e.g. their iCloud container).
func (*AudioUnit) Description ¶ added in v0.17.0
Description returns the object's -description text.
func (*AudioUnit) DeviceInputLatency ¶ added in v0.17.0
DeviceInputLatency returns the audio device's input latency, in seconds. Bridged to the HAL property kAudioDevicePropertyLatency, which is implemented by v2 input/output units.
func (*AudioUnit) DeviceOutputLatency ¶ added in v0.17.0
DeviceOutputLatency returns the audio device's output latency, in seconds. Bridged to the HAL property kAudioDevicePropertyLatency, which is implemented by v2 input/output units.
func (*AudioUnit) DisableProfileCableOnChannel ¶ added in v0.17.0
func (au *AudioUnit) DisableProfileCableOnChannel(profile obj.Object, cable uint8, channel uint8) error
DisableProfileCableOnChannel disable a MIDI-CI Profile on the specified cable/channel.
func (*AudioUnit) EnableProfileCableOnChannel ¶ added in v0.17.0
func (au *AudioUnit) EnableProfileCableOnChannel(profile obj.Object, cable uint8, channel uint8) error
EnableProfileCableOnChannel enable a MIDI-CI Profile on the specified cable/channel.
func (*AudioUnit) FactoryPresets ¶ added in v0.17.0
func (au *AudioUnit) FactoryPresets() []*AudioUnitPreset
FactoryPresets returns a collection of presets provided by the audio unit's developer. A preset provides users of an audio unit with an easily-selectable, fine-tuned set of parameters provided by the developer. This property returns all of the available factory presets. Bridged to the v2 property kAudioUnitProperty_FactoryPresets.
FactoryPresets returns the collection as a Go slice.
func (*AudioUnit) FullState ¶ added in v0.17.0
FullState returns a persistable snapshot of the Audio Unit's properties and parameters, suitable for saving as a user preset. Hosts may use this property to save and restore the state of an Audio Unit being used in a user preset or document. The Audio Unit should not persist transitory properties such as stream formats, but should save and restore all parameters and custom properties. The base class implementation of this property saves the values of all parameters currently in the parameter tree. A subclass which dynamically produces multiple variants of the parameter tree needs to be aware that the serialization method does a depth-first preorder traversal of the tree. Bridged to the v2 property kAudioUnitProperty_ClassInfo.
func (*AudioUnit) FullStateForDocument ¶ added in v0.17.0
FullStateForDocument returns a persistable snapshot of the audio unit's properties and parameters, suitable for saving in a user's document. This property is distinct from fullState in that some state is suitable for saving in user presets, while other state is not. For example, a synthesizer's master tuning setting could be considered global state, inappropriate for storing in reusable presets, but desirable for storing in a document for a specific live performance. Hosts saving documents should use this property. If the audio unit does not implement it, the base class simply sets/gets fullState. Bridged to the v2 property kAudioUnitProperty_ClassInfoFromDocument.
func (*AudioUnit) HostMIDIProtocol ¶ added in v0.17.0
HostMIDIProtocol returns the MIDI protocol to be used by the host for receiving MIDIEventList data. Hosts should set this property to the protocol they wish to receive MIDIEventList data from the Audio Unit. This should be set prior to initialization, all translatable messages will be converted (if necessary) to this property's protocol prior to delivery to the host. Host should setup in the following order: - Set hostMIDIProtocol - Set MIDIOutputEventListBlock - Call allocateRenderResourcesAndReturnError This is bridged to the v2 API property kAudioUnitProperty_HostMIDIProtocol. Notes: - If overriding this property, subclassers must call [super setHostMIDIProtocol:] - hostMIDIProtocol should be set before attempting to query AudioUnitMIDIProtocol or calling allocateRenderResourcesAndReturnError to allow Audio Units to optionally match their input MIDI protocol to the desired host protocol and prevent protocol conversion.
func (*AudioUnit) InputBusses ¶ added in v0.17.0
func (au *AudioUnit) InputBusses() *AudioUnitBusArray
InputBusses returns an audio unit's audio input connection points. Subclassers must override this property's getter. The implementation should return the same object every time it is asked for it, since clients can install KVO observers on it.
func (*AudioUnit) IntendedSpatialExperience ¶ added in v0.18.0
IntendedSpatialExperience returns the intended spatial experience.
func (*AudioUnit) IsEqual ¶ added in v0.17.0
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*AudioUnit) IsInputEnabled ¶ added in v0.17.0
IsInputEnabled reports whether flag enabling audio input from the unit. Input is disabled by default. This must be set to true if input audio is desired. Setting to true will have no effect if canPerformInput is false.
func (*AudioUnit) IsKind ¶ added in v0.17.0
IsKind reports whether the object is an instance of the named class or a subclass.
func (*AudioUnit) IsLoadedInProcess ¶ added in v0.17.0
IsLoadedInProcess reports whether set to true when an AUAudioUnit is loaded in-process If the AUAudioUnit is instantiated with kAudioComponentInstantiation_LoadInProcess, but the audio unit is not packaged properly to support loading in-process, the system will silently fall back to loading the audio unit out-of-process. This property can be used to determine whether the instantiation succeeded as intended and the audio unit is running in-process. The presence of an extension process is not sufficient indication that the audio unit failed to load in-process, since the framework might launch the audio unit extension process to fulfill auxiliary functionality. If the audio unit is loaded in-process then rendering is done in the host process. Other operations that are not essential to rendering audio, might be done in the audio unit's extension process.
func (*AudioUnit) IsMusicDeviceOrEffect ¶ added in v0.17.0
IsMusicDeviceOrEffect reports whether an audio unit responds to MIDI events. This is implemented in the base class and returns true if the component type is music device or music effect.
func (*AudioUnit) IsOutputEnabled ¶ added in v0.17.0
IsOutputEnabled reports whether flag enabling audio output from the unit. Output is enabled by default. Setting to true will have no effect if canPerformOutput is false.
func (*AudioUnit) IsRenderingOffline ¶ added in v0.17.0
IsRenderingOffline reports whether communicates to an audio unit that it is rendering offline. A host should set this property when using an audio unit in a context where there are no realtime deadlines, before asking the unit to allocate render resources. An audio unit may respond by using a more expensive signal processing algorithm, or allowing itself to block at render time if data being generated on secondary work threads is not ready in time. (Normally, in a realtime thread, this data would have to be dropped). Bridged to the v2 property kAudioUnitProperty_OfflineRender.
func (*AudioUnit) IsRunning ¶ added in v0.17.0
IsRunning reports whether the audio device's running state.
func (*AudioUnit) Latency ¶ added in v0.17.0
Latency returns the audio unit's processing latency, in seconds. This property reflects the delay between when an impulse in the unit's audio unit stream arrives in the input vs. output streams. This should reflect the delay due to signal processing (e.g. filters, FFT's, etc.), not delay or reverberation which is being applied as an effect. Note that a latency that varies with parameter settings, including bypass, is generally not useful to hosts. A host is usually only prepared to add delays before starting to render and those delays need to be fixed. A variable delay would introduce artifacts even if the host could track it. If an algorithm has a variable latency it should be adjusted upwards to some fixed latency within the audio unit. If for some reason this is not possible, then latency could be regarded as an unavoidable consequence of the algorithm and left unreported (i.e. with a value of 0). Bridged to the v2 property kAudioUnitProperty_Latency.
func (*AudioUnit) MIDIOutputBufferSizeHint ¶ added in v0.17.0
MIDIOutputBufferSizeHint returns hint to control the size of the allocated buffer for outgoing MIDI events. This property allows the plug-in to provide a hint to the framework regarding the size of its outgoing MIDI data buffer. If the plug-in produces more MIDI output data than the default size of the allocated buffer, then the plug-in can provide this property to increase the size of this buffer. The value represents the number of 3-byte Legacy MIDI messages that fit into the buffer or a single MIDIEventList containing 1 MIDIEventPacket of 2 words when using MIDI 2.0 (MIDIEventList based API's). This property is set to the default value by the framework. In case of kAudioUnitErr_MIDIOutputBufferFull errors caused by producing too much MIDI output in one render call, set this property to increase the buffer. This only provides a recommendation to the framework. Bridged to kAudioUnitProperty_MIDIOutputBufferSizeHint.
func (*AudioUnit) MIDIOutputNames ¶ added in v0.17.0
MIDIOutputNames returns count, and names of, a plug-in's MIDI outputs. A plug-in may override this method to inform hosts about its MIDI outputs. The size of the array is the number of outputs the Audio Unit supports. Each item in the array is the name of the MIDI output at that index. This is bridged to the v2 API property kAudioUnitProperty_MIDIOutputCallbackInfo.
MIDIOutputNames returns the collection as a Go slice.
func (*AudioUnit) ManufacturerName ¶ added in v0.17.0
ManufacturerName returns the manufacturer's name.
func (*AudioUnit) MaximumFramesToRender ¶ added in v0.17.0
MaximumFramesToRender returns the maximum number of frames which the audio unit can render at once. This must be set by the host before render resources are allocated. It cannot be changed while render resources are allocated. Bridged to the v2 property kAudioUnitProperty_MaximumFramesPerSlice.
func (*AudioUnit) MigrateFromPlugin ¶ added in v0.17.0
MigrateFromPlugin returns information for migrating data from other audio plug-ins to the v3 Audio Unit architecture. This can be used to migrate settings from an older Audio Unit; this allows manufacturers to deprecate older Audio Units and replace them with new ones. The data for the older Audio Unit is an array of NSData representing byte encoded AudioUnitOtherPluginDescs to migrate from. Can also be used to migrate from a v2 to a v3 Audio Unit. Bridged to the v2 property kAudioUnitMigrateProperty_FromPlugin.
func (*AudioUnit) OSWorkgroup ¶ added in v0.18.0
OSWorkgroup returns the os_workgroup_t to which the input/output audio unit belongs. For further background, see <AudioToolbox/AudioWorkInterval.h>. Bridged to the v2 property kAudioOutputUnitProperty_OSWorkgroup.
func (*AudioUnit) OutputBusses ¶ added in v0.17.0
func (au *AudioUnit) OutputBusses() *AudioUnitBusArray
OutputBusses returns an audio unit's audio output connection points. Subclassers must override this property's getter. The implementation should return the same object every time it is asked for it, since clients can install KVO observers on it.
func (*AudioUnit) ParameterTree ¶ added in v0.17.0
func (au *AudioUnit) ParameterTree() *ParameterTree
ParameterTree returns an audio unit's parameters, organized in a hierarchy. Audio unit hosts can fetch this property to discover a unit's parameters. KVO notifications are issued on this member to notify the host of changes to the set of available parameters. AUAudioUnit has an additional pseudo-property, "allParameterValues", on which KVO notifications are issued in response to certain events where potentially all parameter values are invalidated. This includes changes to currentPreset, fullState, and fullStateForDocument. Hosts should not attempt to set this property. Subclassers should implement the parameterTree getter to expose parameters to hosts. They should cache as much as possible and send KVO notifications on "parameterTree" when altering the structure of the tree or the static information (ranges, etc) of parameters. This is similar to the v2 properties kAudioUnitProperty_ParameterList and kAudioUnitProperty_ParameterInfo. Note that it is not safe to modify this property in a real-time context.
func (*AudioUnit) ParametersForOverviewWithCount ¶ added in v0.17.0
func (au *AudioUnit) ParametersForOverviewWithCount(count int) []*foundation.Number
ParametersForOverviewWithCount returns the audio unit’s most important parameters.
func (*AudioUnit) PresetStateFor ¶ added in v0.17.0
func (au *AudioUnit) PresetStateFor(userPreset *AudioUnitPreset) (result map[string]obj.Object, err error)
PresetStateFor retrieve the state stored in a user preset This method allows access to the contents of a preset without having to set that preset as current. The returned dictionary is assignable to the audio unit's fullState and/or fullStateForDocument properties. Audio units can override this method in order to vend user presets from a different location (e.g. their iCloud container). In order to restore the state from a user preset, the audio unit should override the setter for the currentPreset property and check the preset number to determine the type of preset. If the preset number is >= 0 then the preset is a factory preset. If the preset number is < 0 then it is a user preset. This method can then be called to retrieve the state stored in a user preset and the audio unit can assign this to fullState or fullStateForDocument.
func (*AudioUnit) ProfileChangedBlock ¶ added in v0.18.0
ProfileChangedBlock returns a block called when a device notifies that a MIDI-CI profile has been enabled or disabled. Since enabling / disabling MIDI-CI profiles is an asynchronous operation, the host can set this block and the audio unit is expected to call it every time the state of a MIDI-CI profile has changed.
func (*AudioUnit) ProfileStateForCableChannel ¶ added in v0.17.0
ProfileStateForCableChannel given a MIDI cable and channel number, return the supported MIDI-CI Profiles.
func (*AudioUnit) ProvidesUserInterface ¶ added in v0.17.0
ProvidesUserInterface reports whether an audio unit provides UI (normally in the form of a view controller). Implemented in the framework and should not be overridden by implementators. The framework detects whether any subclass has implemented `requestViewControllerWithCompletionHandler:` or is implemented by an AU extension whose extension point identifier is `com.apple.AudioUnit-UI`. See also `requestViewControllerWithCompletionHandler:` in <CoreAudioKit/AUViewController.h>
func (*AudioUnit) RemoveRenderObserver ¶ added in v0.17.0
RemoveRenderObserver removes an observer block previously added to the render cycle.
func (*AudioUnit) RenderContextObserver ¶ added in v0.18.0
RenderContextObserver returns block called by the OS when the rendering context changes. Audio Units which create auxiliary realtime rendering threads should implement this property to return a block which will be called by the OS when the render context changes. Audio Unit hosts must not attempt to interact with the AudioUnit through this block; it is for the exclusive use of the OS. See <AudioToolbox/AudioWorkInterval.h> for more information.
func (*AudioUnit) RenderQuality ¶ added in v0.17.0
RenderQuality provides a trade-off between rendering quality and CPU load. The range of valid values is 0-127. Bridged to the v2 property kAudioUnitProperty_RenderQuality.
func (*AudioUnit) RenderResourcesAllocated ¶ added in v0.17.0
RenderResourcesAllocated reports whether the unit has render resources allocated.
func (*AudioUnit) Reset ¶ added in v0.17.0
func (au *AudioUnit) Reset()
Reset resets transitory rendering state to its initial state.
func (*AudioUnit) SaveUserPreset ¶ added in v0.17.0
func (au *AudioUnit) SaveUserPreset(userPreset *AudioUnitPreset) error
SaveUserPreset persistently save the current state of the audio unit into a userPreset The new preset will be added to userPresets and will become selectable by assigning it to the currentPreset property. If a preset with the provided name already exists then it will be overwritten. For user presets, the preset number is required to be negative. If a positive number is passed, the sign will be changed to negative. If zero is passed, the number will be set to -1. These changes will be reflected on the userPreset argument. The default implementation of this method will save the user preset to an internal location. Audio Units are free to override this method to operate on a different location (e.g. their iCloud container).
func (*AudioUnit) SetDeviceID ¶ added in v0.17.0
SetDeviceID sets the I/O hardware device.
func (*AudioUnit) ShouldBypassEffect ¶ added in v0.17.0
ShouldBypassEffect reports whether directs an effect to route input directly to output, without any processing. Bridged to the v2 property kAudioUnitProperty_BypassEffect.
func (*AudioUnit) ShouldChangeToFormatForBus ¶ added in v0.17.0
func (au *AudioUnit) ShouldChangeToFormatForBus(format obj.Object, bus *AudioUnitBus) bool
ShouldChangeToFormatForBus this is called when you set the format on a bus.
func (*AudioUnit) StartHardwareAndReturnError ¶ added in v0.17.0
StartHardwareAndReturnError starts the audio hardware.
StartHardwareAndReturnError returns an error if the operation did not succeed.
func (*AudioUnit) StopHardware ¶ added in v0.17.0
func (au *AudioUnit) StopHardware()
StopHardware stops the audio hardware.
func (*AudioUnit) String ¶ added in v0.17.0
String returns the object's -description text, so a wrapper prints usefully under fmt.
func (*AudioUnit) SupportsMPE ¶ added in v0.17.0
SupportsMPE reports whether an audio unit supports Multi-dimensional Polyphonic Expression. Bridged to the v2 property kAudioUnitProperty_SupportsMPE.
func (*AudioUnit) SupportsUserPresets ¶ added in v0.17.0
SupportsUserPresets reports whether an audio unit supports loading and saving user presets The audio unit should set this property to true if a user preset can be assigned to currentPreset. Audio unit host applications should query this property to determine whether the audio unit supports user presets. Assigning a user preset to the currentPreset property of an audio unit that does not support restoring state from user presets may result in incorrect behavior.
func (*AudioUnit) TailTime ¶ added in v0.17.0
TailTime returns the audio unit's tail time, in seconds. This property reflects the time interval between when the input stream ends or otherwise transitions to silence, and when the output stream becomes silent. Unlike latency, this should reflect the duration of a delay or reverb effect. Bridged to the v2 property kAudioUnitProperty_TailTime.
func (*AudioUnit) UserPresets ¶ added in v0.17.0
func (au *AudioUnit) UserPresets() []*AudioUnitPreset
UserPresets returns a collection of presets saved by the user In addition to factory presets, provided by the audio unit vendor, users have the ability to save the values of the parameters of an audio unit into a user preset. These users presets can be accessed using this property. The default implementation of this method will load the user presets from an internal location that might not be directly accessible to the audio unit host application or to the audio unit. Instead of accessing this path directly, the audio unit should rely on the superclass implementation of this method to retrieve the presets. Audio Units are free to override this method to load their user presets via different means (e.g. from their iCloud container).
UserPresets returns the collection as a Go slice.
func (*AudioUnit) VirtualMIDICableCount ¶ added in v0.17.0
VirtualMIDICableCount returns the number of virtual MIDI cables implemented by a music device or effect. A music device or MIDI effect can support up to 256 virtual MIDI cables of input; this property expresses the number of cables supported by the audio unit.
func (*AudioUnit) WithChannelMap ¶ added in v0.17.0
WithChannelMap sets specify a mapping of input channels to output channels. Converter and input/output audio units may support re-ordering or splitting of input channels to output channels. The number of channels in the channel map is the number of channels of the destination (output format). The channel map entries contain a channel number of the source channel that should be mapped to that destination channel. If -1 is specified, then that destination channel will not contain any channel from the source (so it will be silent). If the property value is nil, then the audio unit does not support this property. Bridged to the v2 property kAudioOutputUnitProperty_ChannelMap.
func (*AudioUnit) WithContextName ¶ added in v0.17.0
WithContextName sets information about the host context in which the audio unit is connected, for display in the audio unit’s view.
func (*AudioUnit) WithCurrentPreset ¶ added in v0.17.0
func (au *AudioUnit) WithCurrentPreset(currentPreset *AudioUnitPreset) *AudioUnit
WithCurrentPreset sets the audio unit’s last-selected preset.
func (*AudioUnit) WithFullState ¶ added in v0.17.0
WithFullState sets a persistable snapshot of the audio unit’s properties and parameters, suitable for saving as a user preset.
func (*AudioUnit) WithFullStateForDocument ¶ added in v0.17.0
func (au *AudioUnit) WithFullStateForDocument(fullStateForDocument map[string]obj.Object) *AudioUnit
WithFullStateForDocument sets a persistable snapshot of the audio unit’s properties and parameters, suitable for saving in a user’s document.
func (*AudioUnit) WithHostMIDIProtocol ¶ added in v0.17.0
WithHostMIDIProtocol sets the MIDI protocol to be used by the host for receiving MIDIEventList data. Hosts should set this property to the protocol they wish to receive MIDIEventList data from the Audio Unit. This should be set prior to initialization, all translatable messages will be converted (if necessary) to this property's protocol prior to delivery to the host. Host should setup in the following order: - Set hostMIDIProtocol - Set MIDIOutputEventListBlock - Call allocateRenderResourcesAndReturnError This is bridged to the v2 API property kAudioUnitProperty_HostMIDIProtocol. Notes: - If overriding this property, subclassers must call [super setHostMIDIProtocol:] - hostMIDIProtocol should be set before attempting to query AudioUnitMIDIProtocol or calling allocateRenderResourcesAndReturnError to allow Audio Units to optionally match their input MIDI protocol to the desired host protocol and prevent protocol conversion.
func (*AudioUnit) WithInputEnabled ¶ added in v0.17.0
WithInputEnabled sets a flag enabling audio input from the unit.
func (*AudioUnit) WithIntendedSpatialExperience ¶ added in v0.17.0
func (au *AudioUnit) WithIntendedSpatialExperience(intendedSpatialExperience unsafe.Pointer) *AudioUnit
WithIntendedSpatialExperience sets the AUAudioUnit’s intended spatial experience.
func (*AudioUnit) WithMIDIOutputBufferSizeHint ¶ added in v0.17.0
WithMIDIOutputBufferSizeHint sets hint to control the size of the allocated buffer for outgoing MIDI events. This property allows the plug-in to provide a hint to the framework regarding the size of its outgoing MIDI data buffer. If the plug-in produces more MIDI output data than the default size of the allocated buffer, then the plug-in can provide this property to increase the size of this buffer. The value represents the number of 3-byte Legacy MIDI messages that fit into the buffer or a single MIDIEventList containing 1 MIDIEventPacket of 2 words when using MIDI 2.0 (MIDIEventList based API's). This property is set to the default value by the framework. In case of kAudioUnitErr_MIDIOutputBufferFull errors caused by producing too much MIDI output in one render call, set this property to increase the buffer. This only provides a recommendation to the framework. Bridged to kAudioUnitProperty_MIDIOutputBufferSizeHint.
func (*AudioUnit) WithMIDIOutputEventBlock ¶ added in v0.18.0
func (au *AudioUnit) WithMIDIOutputEventBlock(midiOutputEventBlock func(int64, uint8, int, unsafe.Pointer) int) *AudioUnit
WithMIDIOutputEventBlock sets block used by the host to access the MIDI output generated by an Audio Unit. The host can set this block and the plug-in can call it in its renderBlock to provide to the host the MIDI data associated with the current render cycle. All events sent via this block will be delivered to the host in the MIDI protocol returned by the hostMIDIProtocol property. For example, if hostMIDIProtocol is set to kMIDIProtocol_2_0, incoming events will be translated to MIDI 2.0. If hostMIDIProtocol is not set, events will be delivered as legacy MIDI. Note: AUMIDIEventListBlock should be preferred over this block going forward. This is bridged to the v2 API property kAudioUnitProperty_MIDIOutputCallback.
func (*AudioUnit) WithMIDIOutputEventListBlock ¶ added in v0.18.0
func (au *AudioUnit) WithMIDIOutputEventListBlock(midiOutputEventListBlock func(int64, uint8, unsafe.Pointer) int) *AudioUnit
WithMIDIOutputEventListBlock sets block used by the host to access the MIDIEventList output generated by an Audio Unit. The host can set this block and the plug-in can call it in its renderBlock to provide to the host the MIDIEventList data associated with the current render cycle. All events sent via this block will be delivered to the host in the MIDI protocol returned by the hostMIDIProtocol property. For example, if hostMIDIProtocol is set to kMIDIProtocol_2_0, incoming events will be translated to MIDI 2.0. If hostMIDIProtocol is not set, events will be delivered as legacy MIDI. Note: This block is cross-compatible with Audio Units using MIDIOutputEventBlock and should be preferred over MIDIOutputEventBlock by hosts going forward. The framework will provide the Audio Unit with both a MIDIOutputEventBlock and MIDIOutputEventListBlock, the Audio Unit is free to call either block as all messages will be translated as described above. Host should setup in the following order: - Set hostMIDIProtocol - Set MIDIOutputEventListBlock - Call allocateRenderResourcesAndReturnError This is bridged to the v2 API property kAudioUnitProperty_MIDIOutputEventListCallback.
func (*AudioUnit) WithMaximumFramesToRender ¶ added in v0.17.0
WithMaximumFramesToRender sets the maximum number of frames that the audio unit can render at once.
func (*AudioUnit) WithOutputEnabled ¶ added in v0.17.0
WithOutputEnabled sets a flag enabling audio output from the unit.
func (*AudioUnit) WithParameterTree ¶ added in v0.17.0
func (au *AudioUnit) WithParameterTree(parameterTree *ParameterTree) *AudioUnit
WithParameterTree sets an audio unit’s parameters, organized in a tree hierarchy.
func (*AudioUnit) WithProfileChangedBlock ¶ added in v0.17.0
WithProfileChangedBlock sets a block called when a device notifies that a MIDI-CI profile has been enabled or disabled. Since enabling / disabling MIDI-CI profiles is an asynchronous operation, the host can set this block and the audio unit is expected to call it every time the state of a MIDI-CI profile has changed.
func (*AudioUnit) WithRenderQuality ¶ added in v0.17.0
WithRenderQuality sets provides a trade-off between rendering quality and CPU load.
func (*AudioUnit) WithRenderResourcesAllocated ¶ added in v0.17.0
WithRenderResourcesAllocated sets determines whether the audio unit has allocated render resources.
func (*AudioUnit) WithRenderingOffline ¶ added in v0.17.0
WithRenderingOffline sets communicates to an audio unit that it is rendering offline.
func (*AudioUnit) WithShouldBypassEffect ¶ added in v0.17.0
WithShouldBypassEffect sets determines whether an effect should route input directly to output, without any processing.
type AudioUnitBus ¶ added in v0.17.0
AudioUnitBus is an idiomatic wrapper over the Objective-C class AUAudioUnitBus.
A class that defines an input or output connection point on an audio unit.
func AudioUnitBusFromID ¶ added in v0.17.0
func AudioUnitBusFromID(id objc.ID) *AudioUnitBus
AudioUnitBusFromID adopts an existing Objective-C object as a AudioUnitBus (nil for 0), retaining it and registering a release finalizer.
func NewAudioUnitBusWithFormat ¶ added in v0.17.0
func NewAudioUnitBusWithFormat(format obj.Object) (result *AudioUnitBus, err error)
NewAudioUnitBusWithFormat initializes a bus object with a specific format.
func (*AudioUnitBus) BusType ¶ added in v0.17.0
func (aub *AudioUnitBus) BusType() AudioUnitBusType
BusType returns the AUAudioUnitBusType.
func (*AudioUnitBus) ContextPresentationLatency ¶ added in v0.17.0
func (aub *AudioUnitBus) ContextPresentationLatency() float64
ContextPresentationLatency returns information about latency in the audio unit's processing context. This should not be confused with the audio unit's latency property, where the audio unit describes to the host any processing latency it introduces between its input and its output. A host may set this property to describe to the audio unit the presentation latency of its input and/or output audio data. Latency is described in seconds. A value of zero means either no latency or an unknown latency. A host should set this property on each active bus, since, for example, the audio routing path to each of multiple output busses may differ. For input busses: Describes how long ago the audio arriving on this bus was acquired. For instance, when reading from a file to the first audio unit in a chain, the input presentation latency is zero. For audio input from a device, this initial input latency is the presentation latency of the device itself, i.e. the device's safety offset and latency. A second chained audio unit's input presentation latency will be the input presentation latency of the first unit, plus the processing latency of the first unit. For output busses: Describes how long it will be before the output audio of an audio unit is presented. For instance, when writing to a file, the output presentation latency of the last audio unit in a chain is zero. When the audio from that audio unit is to be played to a device, then that initial presentation latency will be the presentation latency of the device itself, which is the I/O buffer size, plus the device's safety offset and latency A previous chained audio unit's output presentation latency is the last unit's presentation latency plus its processing latency. So, for a given audio unit anywhere within a mixing graph, the input and output presentation latencies describe to that unit how long from the moment of generation it has taken for its input to arrive, and how long it will take for its output to be presented. Bridged to the v2 property kAudioUnitProperty_PresentationLatency.
func (*AudioUnitBus) Description ¶ added in v0.17.0
func (aub *AudioUnitBus) Description() string
Description returns the object's -description text.
func (*AudioUnitBus) Format ¶ added in v0.17.0
func (aub *AudioUnitBus) Format() obj.Object
Format returns the audio format and channel layout of audio being transferred on the bus. Bridged to the v2 property kAudioUnitProperty_StreamFormat.
func (*AudioUnitBus) Index ¶ added in v0.17.0
func (aub *AudioUnitBus) Index() int
Index returns the index of this bus in the containing array.
func (*AudioUnitBus) IsEnabled ¶ added in v0.17.0
func (aub *AudioUnitBus) IsEnabled() bool
IsEnabled reports whether the bus is active. Hosts must enable input busses before using them. The reason for this is to allow a unit such as a mixer to be prepared to render a large number of inputs, but avoid the work of preparing to pull inputs which are not in use. Bridged to the v2 properties kAudioUnitProperty_MakeConnection and kAudioUnitProperty_SetRenderCallback.
func (*AudioUnitBus) IsEqual ¶ added in v0.17.0
func (aub *AudioUnitBus) IsEqual(other obj.Object) bool
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*AudioUnitBus) IsKind ¶ added in v0.17.0
func (aub *AudioUnitBus) IsKind(className string) bool
IsKind reports whether the object is an instance of the named class or a subclass.
func (*AudioUnitBus) MaximumChannelCount ¶ added in v0.17.0
func (aub *AudioUnitBus) MaximumChannelCount() uint32
MaximumChannelCount returns the maximum numbers of channels supported for this bus. If supportedChannelCounts is set, then this value is derived from supportedChannelCounts. If setting maximumChannelCount makes the current format unsupported, then format will be set to nil. The default value is UINT_MAX.
func (*AudioUnitBus) Name ¶ added in v0.17.0
func (aub *AudioUnitBus) Name() string
Name returns a name for the bus. Can be set by host.
func (*AudioUnitBus) OwnerAudioUnit ¶ added in v0.17.0
func (aub *AudioUnitBus) OwnerAudioUnit() *AudioUnit
OwnerAudioUnit returns the audio unit that owns the bus.
func (*AudioUnitBus) SetFormat ¶ added in v0.17.0
func (aub *AudioUnitBus) SetFormat(format obj.Object) error
SetFormat sets the bus’s audio format.
func (*AudioUnitBus) ShouldAllocateBuffer ¶ added in v0.17.0
func (aub *AudioUnitBus) ShouldAllocateBuffer() bool
ShouldAllocateBuffer reports whether controls the audio unit's allocation strategy for a bus. Hosts can set this flag to communicate whether an audio unit should allocate its own buffer. By default this flag is set to true. On the output side, shouldAllocateBuffer=false means the AU can assume that it will be called with non-null output buffers. If shouldAllocateBuffer=true (the default), the AU must be prepared to be called with null pointers and replace them with pointers to its internally allocated buffer. On the input side, shouldAllocateBuffer=false means the AU can pull for input using a buffer list with null buffer pointers, and assume that the pull input block will provide pointers. If shouldAllocateBuffer=true (the default), the AU must pull with non-null pointers while still being prepared for the source to replace them with pointers of its own. Bridged to the v2 property kAudioUnitProperty_ShouldAllocateBuffer.
func (*AudioUnitBus) String ¶ added in v0.17.0
func (aub *AudioUnitBus) String() string
String returns the object's -description text, so a wrapper prints usefully under fmt.
func (*AudioUnitBus) SupportedChannelCounts ¶ added in v0.17.0
func (aub *AudioUnitBus) SupportedChannelCounts() []obj.Object
SupportedChannelCounts returns an array of numbers giving the supported numbers of channels for this bus. If supportedChannelCounts is nil, then any number less than or equal to maximumChannelCount is supported. If setting supportedChannelCounts makes the current format unsupported, then format will be set to nil. The default value is nil.
SupportedChannelCounts returns the collection as a Go slice.
func (*AudioUnitBus) SupportedChannelLayoutTags ¶ added in v0.17.0
func (aub *AudioUnitBus) SupportedChannelLayoutTags() []obj.Object
SupportedChannelLayoutTags returns this is an array of NSNumbers representing AudioChannelLayoutTag.
SupportedChannelLayoutTags returns the collection as a Go slice.
func (*AudioUnitBus) WithContextPresentationLatency ¶ added in v0.17.0
func (aub *AudioUnitBus) WithContextPresentationLatency(contextPresentationLatency float64) *AudioUnitBus
WithContextPresentationLatency sets information about latency in the audio unit’s processing context.
func (*AudioUnitBus) WithEnabled ¶ added in v0.17.0
func (aub *AudioUnitBus) WithEnabled(enabled bool) *AudioUnitBus
WithEnabled sets determines whether the bus is active.
func (*AudioUnitBus) WithMaximumChannelCount ¶ added in v0.17.0
func (aub *AudioUnitBus) WithMaximumChannelCount(maximumChannelCount uint32) *AudioUnitBus
WithMaximumChannelCount sets the maximum number of channels supported for this bus.
func (*AudioUnitBus) WithName ¶ added in v0.17.0
func (aub *AudioUnitBus) WithName(name string) *AudioUnitBus
WithName sets a name for the bus.
func (*AudioUnitBus) WithShouldAllocateBuffer ¶ added in v0.17.0
func (aub *AudioUnitBus) WithShouldAllocateBuffer(shouldAllocateBuffer bool) *AudioUnitBus
WithShouldAllocateBuffer sets controls the audio unit's allocation strategy for a bus. Hosts can set this flag to communicate whether an audio unit should allocate its own buffer. By default this flag is set to true. On the output side, shouldAllocateBuffer=false means the AU can assume that it will be called with non-null output buffers. If shouldAllocateBuffer=true (the default), the AU must be prepared to be called with null pointers and replace them with pointers to its internally allocated buffer. On the input side, shouldAllocateBuffer=false means the AU can pull for input using a buffer list with null buffer pointers, and assume that the pull input block will provide pointers. If shouldAllocateBuffer=true (the default), the AU must pull with non-null pointers while still being prepared for the source to replace them with pointers of its own. Bridged to the v2 property kAudioUnitProperty_ShouldAllocateBuffer.
func (*AudioUnitBus) WithSupportedChannelCounts ¶ added in v0.17.0
func (aub *AudioUnitBus) WithSupportedChannelCounts(items ...obj.Object) *AudioUnitBus
WithSupportedChannelCounts sets an array of numbers indicating the supported number of channels for this bus.
type AudioUnitBusArray ¶ added in v0.17.0
AudioUnitBusArray is an idiomatic wrapper over the Objective-C class AUAudioUnitBusArray.
A class that defines a container for an audio unit’s input or output busses.
func AudioUnitBusArrayFromID ¶ added in v0.17.0
func AudioUnitBusArrayFromID(id objc.ID) *AudioUnitBusArray
AudioUnitBusArrayFromID adopts an existing Objective-C object as a AudioUnitBusArray (nil for 0), retaining it and registering a release finalizer.
func NewAudioUnitBusArrayWithAudioUnitBusType ¶ added in v0.17.0
func NewAudioUnitBusArrayWithAudioUnitBusType(owner *AudioUnit, busType AudioUnitBusType) *AudioUnitBusArray
NewAudioUnitBusArrayWithAudioUnitBusType initializes an empty bus array.
func NewAudioUnitBusArrayWithAudioUnitBusTypeBusses ¶ added in v0.17.0
func NewAudioUnitBusArrayWithAudioUnitBusTypeBusses(owner *AudioUnit, busType AudioUnitBusType, busArray []*AudioUnitBus) *AudioUnitBusArray
NewAudioUnitBusArrayWithAudioUnitBusTypeBusses initializes a bus array by making a copy of the supplied busses.
func (*AudioUnitBusArray) BusType ¶ added in v0.17.0
func (auba *AudioUnitBusArray) BusType() AudioUnitBusType
BusType returns which bus array this is (input or output).
func (*AudioUnitBusArray) Count ¶ added in v0.17.0
func (auba *AudioUnitBusArray) Count() int
Count returns the count.
func (*AudioUnitBusArray) Description ¶ added in v0.17.0
func (auba *AudioUnitBusArray) Description() string
Description returns the object's -description text.
func (*AudioUnitBusArray) IsCountChangeable ¶ added in v0.17.0
func (auba *AudioUnitBusArray) IsCountChangeable() bool
IsCountChangeable reports whether the array can have a variable number of busses. The base implementation returns false.
func (*AudioUnitBusArray) IsEqual ¶ added in v0.17.0
func (auba *AudioUnitBusArray) IsEqual(other obj.Object) bool
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*AudioUnitBusArray) IsKind ¶ added in v0.17.0
func (auba *AudioUnitBusArray) IsKind(className string) bool
IsKind reports whether the object is an instance of the named class or a subclass.
func (*AudioUnitBusArray) ObjectAtIndexedSubscript ¶ added in v0.17.0
func (auba *AudioUnitBusArray) ObjectAtIndexedSubscript(index int) *AudioUnitBus
ObjectAtIndexedSubscript returns the bus at the specified index.
func (*AudioUnitBusArray) OwnerAudioUnit ¶ added in v0.17.0
func (auba *AudioUnitBusArray) OwnerAudioUnit() *AudioUnit
OwnerAudioUnit returns the audio unit that owns the bus.
func (*AudioUnitBusArray) RemoveObserverFromAllBussesForKeyPathContext ¶ added in v0.17.0
func (auba *AudioUnitBusArray) RemoveObserverFromAllBussesForKeyPathContext(observer obj.Object, keyPath string, context_ unsafe.Pointer)
RemoveObserverFromAllBussesForKeyPathContext removes a KVO observer for a given property on all busses in the array.
func (*AudioUnitBusArray) ReplaceBusses ¶ added in v0.17.0
func (auba *AudioUnitBusArray) ReplaceBusses(busArray []*AudioUnitBus)
ReplaceBusses replaces the current bus array with a copy of the supplied bus array.
func (*AudioUnitBusArray) SetBusCount ¶ added in v0.17.0
func (auba *AudioUnitBusArray) SetBusCount(count int) error
SetBusCount changes the number of busses in the array.
func (*AudioUnitBusArray) String ¶ added in v0.17.0
func (auba *AudioUnitBusArray) String() string
String returns the object's -description text, so a wrapper prints usefully under fmt.
type AudioUnitBusType ¶ added in v0.17.0
type AudioUnitBusType int64
const ( // An input bus. AudioUnitBusTypeInput AudioUnitBusType = 1 // An output bus. AudioUnitBusTypeOutput AudioUnitBusType = 2 )
func (AudioUnitBusType) String ¶ added in v0.17.0
func (e AudioUnitBusType) String() string
String returns the AudioUnitBusType constant's name, or its numeric form when the value is not a known constant.
type AudioUnitCocoaViewInfo ¶
type AudioUnitCocoaViewInfo struct {
MCocoaAUViewBundleLocation unsafe.Pointer
MCocoaAUViewClass unsafe.Pointer
}
The name and number of custom Cocoa views for an audio unit.
type AudioUnitConnection ¶
type AudioUnitConnection struct {
SourceAudioUnit unsafe.Pointer
SourceOutputNumber uint32
DestInputNumber uint32
}
An audio unit source-to-destination connection specification.
type AudioUnitEvent ¶
type AudioUnitEvent struct {
MEventType AudioUnitEventType
MArgument unsafe.Pointer
}
Describes a change to an Audio Unit's state.
type AudioUnitEventType ¶
type AudioUnitEventType uint32
const ( KAudioUnitEvent_ParameterValueChange AudioUnitEventType = 0 KAudioUnitEvent_BeginParameterChangeGesture AudioUnitEventType = 1 KAudioUnitEvent_EndParameterChangeGesture AudioUnitEventType = 2 KAudioUnitEvent_PropertyChange AudioUnitEventType = 3 )
func (AudioUnitEventType) String ¶
func (e AudioUnitEventType) String() string
String returns the AudioUnitEventType constant's name, or its numeric form when the value is not a known constant.
type AudioUnitExternalBuffer ¶
Allows an audio unit host application to tell an audio unit to use a specified buffer for its input callback.
type AudioUnitFactory ¶ added in v0.17.0
type AudioUnitFactory interface {
CreateAudioUnitWithComponentDescriptionError(desc AudioComponentDescription) *AudioUnit
}
AudioUnitFactory is the Go form of the Objective-C protocol AUAudioUnitFactory.
type AudioUnitFrequencyResponseBin ¶
An audio unit’s audio level at a particular frequency.
type AudioUnitMeterClipping ¶
type AudioUnitMeterClipping struct {
PeakValueSinceLastCall float32
SawInfinity uint8
SawNotANumber uint8
}
Audio clipping that has occurred in a mixer unit.
type AudioUnitNodeConnection ¶
type AudioUnitNodeConnection struct {
SourceNode int32
SourceOutputNumber uint32
DestNode int32
DestInputNumber uint32
}
A connection between two node objects in an audio processing graph.
func AUGraphGetNodeConnections ¶
func AUGraphGetNodeConnections(inGraph AUGraph, inNode int) (result int, outConnections AudioUnitNodeConnection, ioNumConnections int)
AUGraphGetNodeConnections calls the AudioToolbox framework function AUGraphGetNodeConnections.
type AudioUnitOtherPluginDesc ¶
type AudioUnitOtherPluginDesc struct {
// contains filtered or unexported fields
}
The C layout cannot be reproduced as a plain Go value struct, so it is held as its exact-size bytes and read through the typed As* accessors below. It is pointer-only: never pass it by value.
func (*AudioUnitOtherPluginDesc) AsFormat ¶ added in v0.18.0
func (u *AudioUnitOtherPluginDesc) AsFormat() uint32
AsFormat returns the format field, read from the backing bytes at offset 0.
type AudioUnitParameter ¶
type AudioUnitParameter struct {
// contains filtered or unexported fields
}
An adjustable audio unit attribute such as volume, pitch, or filter cutoff frequency. The C layout cannot be reproduced as a plain Go value struct, so it is held as its exact-size bytes and read through the typed As* accessors below. It is pointer-only: never pass it by value.
func (*AudioUnitParameter) AsMElement ¶ added in v0.18.0
func (u *AudioUnitParameter) AsMElement() uint32
AsMElement returns the mElement field, read from the backing bytes at offset 16.
func (*AudioUnitParameter) AsMParameterID ¶ added in v0.18.0
func (u *AudioUnitParameter) AsMParameterID() uint32
AsMParameterID returns the mParameterID field, read from the backing bytes at offset 8.
func (*AudioUnitParameter) AsMScope ¶ added in v0.18.0
func (u *AudioUnitParameter) AsMScope() uint32
AsMScope returns the mScope field, read from the backing bytes at offset 12.
type AudioUnitParameterEvent ¶
type AudioUnitParameterEvent struct {
Scope uint32
Element uint32
Parameter uint32
EventType ParameterEventType
EventValues unsafe.Pointer
}
A scheduled change to an audio unit parameter’s value.
type AudioUnitParameterHistoryInfo ¶
type AudioUnitParameterHistoryInfo struct {
UpdatesPerSecond float32
HistoryDurationInSeconds float32
}
The suggested update rate and history duration for parameters which have the kAudioUnitParameterFlag_PlotHistory flag set.
type AudioUnitParameterIDName ¶
type AudioUnitParameterIDName = AudioUnitParameterNameInfo
AudioUnitParameterIDName is an alias for the AudioUnitParameterNameInfo value type.
type AudioUnitParameterInfo ¶
type AudioUnitParameterNameInfo ¶
A short version of the name for an audio unit parameter.
type AudioUnitParameterOptions ¶
type AudioUnitParameterOptions uint32
Value options for audio unit parameters. Bitmask — values may be combined with |.
const ( // If an audio unit can generate parameter names dynamically, it should set this flag. KAudioUnitParameterFlag_CFNameRelease AudioUnitParameterOptions = 16 KAudioUnitParameterFlag_OmitFromPresets AudioUnitParameterOptions = 8192 // If set, getting the kAudioUnitProperty_ParameterHistoryInfo property fills out the AudioUnitParameterHistoryInfo struct containing the recommended update rate and history duration. KAudioUnitParameterFlag_PlotHistory AudioUnitParameterOptions = 16384 KAudioUnitParameterFlag_MeterReadOnly AudioUnitParameterOptions = 32768 KAudioUnitParameterFlag_DisplayMask AudioUnitParameterOptions = 4653056 KAudioUnitParameterFlag_DisplaySquareRoot AudioUnitParameterOptions = 65536 KAudioUnitParameterFlag_DisplaySquared AudioUnitParameterOptions = 131072 KAudioUnitParameterFlag_DisplayCubed AudioUnitParameterOptions = 196608 KAudioUnitParameterFlag_DisplayCubeRoot AudioUnitParameterOptions = 262144 KAudioUnitParameterFlag_DisplayExponential AudioUnitParameterOptions = 327680 KAudioUnitParameterFlag_HasClump AudioUnitParameterOptions = 1048576 KAudioUnitParameterFlag_ValuesHaveStrings AudioUnitParameterOptions = 2097152 KAudioUnitParameterFlag_DisplayLogarithmic AudioUnitParameterOptions = 4194304 KAudioUnitParameterFlag_IsHighResolution AudioUnitParameterOptions = 8388608 KAudioUnitParameterFlag_NonRealTime AudioUnitParameterOptions = 16777216 KAudioUnitParameterFlag_CanRamp AudioUnitParameterOptions = 33554432 KAudioUnitParameterFlag_ExpertMode AudioUnitParameterOptions = 67108864 KAudioUnitParameterFlag_HasCFNameString AudioUnitParameterOptions = 134217728 KAudioUnitParameterFlag_IsGlobalMeta AudioUnitParameterOptions = 268435456 KAudioUnitParameterFlag_IsElementMeta AudioUnitParameterOptions = 536870912 KAudioUnitParameterFlag_IsReadable AudioUnitParameterOptions = 1073741824 KAudioUnitParameterFlag_IsWritable AudioUnitParameterOptions = 2147483648 )
func GetAudioUnitParameterDisplayType ¶
func GetAudioUnitParameterDisplayType(flags AudioUnitParameterOptions) AudioUnitParameterOptions
GetAudioUnitParameterDisplayType calls the AudioToolbox framework function GetAudioUnitParameterDisplayType.
func SetAudioUnitParameterDisplayType ¶
func SetAudioUnitParameterDisplayType(flags AudioUnitParameterOptions, displayType AudioUnitParameterOptions) AudioUnitParameterOptions
SetAudioUnitParameterDisplayType calls the AudioToolbox framework function SetAudioUnitParameterDisplayType.
func (AudioUnitParameterOptions) String ¶
func (e AudioUnitParameterOptions) String() string
String returns the AudioUnitParameterOptions constant's name, or its numeric form when the value is not a known constant.
type AudioUnitParameterStringFromValue ¶
type AudioUnitParameterStringFromValue struct {
InParamID uint32
InValue unsafe.Pointer
OutString unsafe.Pointer
}
A string representation of a parameter’s value.
type AudioUnitParameterUnit ¶
type AudioUnitParameterUnit uint32
The unit-of-measure for an audio unit parameter.
const ( // A generic unit of measure. KAudioUnitParameterUnit_Generic AudioUnitParameterUnit = 0 // An indexed unit of measure. KAudioUnitParameterUnit_Indexed AudioUnitParameterUnit = 1 // A Boolean-like unit of measure. KAudioUnitParameterUnit_Boolean AudioUnitParameterUnit = 2 // A percentage unit of measure. KAudioUnitParameterUnit_Percent AudioUnitParameterUnit = 3 // A whole-seconds unit of measure, indicating either absolute or relative time. KAudioUnitParameterUnit_Seconds AudioUnitParameterUnit = 4 // A sample-frame-count unit of measure. KAudioUnitParameterUnit_SampleFrames AudioUnitParameterUnit = 5 // An angular degree unit of measure. KAudioUnitParameterUnit_Phase AudioUnitParameterUnit = 6 // A multiplication factor unit of measure. KAudioUnitParameterUnit_Rate AudioUnitParameterUnit = 7 // A hertz unit of measure. KAudioUnitParameterUnit_Hertz AudioUnitParameterUnit = 8 // A logarithmic unit of measure for a musical interval between two notes. KAudioUnitParameterUnit_Cents AudioUnitParameterUnit = 9 // A relative unit of measure for a musical interval between two notes. KAudioUnitParameterUnit_RelativeSemiTones AudioUnitParameterUnit = 10 // A whole-number unit of measure corresponding to audio frequency. KAudioUnitParameterUnit_MIDINoteNumber AudioUnitParameterUnit = 11 // A whole-number unit of measure corresponding to standard MIDI control numbers. KAudioUnitParameterUnit_MIDIController AudioUnitParameterUnit = 12 // A logarithmic unit of measure representing the ratio between two audio levels. KAudioUnitParameterUnit_Decibels AudioUnitParameterUnit = 13 // A linear unit of measure representing the difference between two audio levels. KAudioUnitParameterUnit_LinearGain AudioUnitParameterUnit = 14 // An angular degree unit of measure. KAudioUnitParameterUnit_Degrees AudioUnitParameterUnit = 15 // An audio power unit of measure. KAudioUnitParameterUnit_EqualPowerCrossfade AudioUnitParameterUnit = 16 // An audio power unit of measure. KAudioUnitParameterUnit_MixerFaderCurve1 AudioUnitParameterUnit = 17 // An audio position unit of measure. KAudioUnitParameterUnit_Pan AudioUnitParameterUnit = 18 // A distance unit of measure, corresponding to meters. KAudioUnitParameterUnit_Meters AudioUnitParameterUnit = 19 // An absolute unit of measure for the musical pitch of a note. KAudioUnitParameterUnit_AbsoluteCents AudioUnitParameterUnit = 20 // A relative unit of measure for the musical interval between two notes. KAudioUnitParameterUnit_Octaves AudioUnitParameterUnit = 21 // A whole-number unit of measure for musical tempo, representing beats per minute. KAudioUnitParameterUnit_BPM AudioUnitParameterUnit = 22 // A time unit of measure in musical beats. KAudioUnitParameterUnit_Beats AudioUnitParameterUnit = 23 // A time unit of measure representing milliseconds. KAudioUnitParameterUnit_Milliseconds AudioUnitParameterUnit = 24 // A unitless ratio unit of measure. KAudioUnitParameterUnit_Ratio AudioUnitParameterUnit = 25 // A custom unit of measure. KAudioUnitParameterUnit_CustomUnit AudioUnitParameterUnit = 26 KAudioUnitParameterUnit_MIDI2Controller AudioUnitParameterUnit = 27 )
func (AudioUnitParameterUnit) String ¶
func (e AudioUnitParameterUnit) String() string
String returns the AudioUnitParameterUnit constant's name, or its numeric form when the value is not a known constant.
type AudioUnitParameterValueFromString ¶
type AudioUnitParameterValueFromString struct {
InParamID uint32
InString unsafe.Pointer
OutValue float32
}
A parameter’s value based on a string representation of the value.
type AudioUnitParameterValueTranslation ¶
type AudioUnitParameterValueTranslation struct {
OtherDesc AudioUnitOtherPluginDesc
OtherParamID uint32
OtherValue float32
AuParamID uint32
AuValue float32
}
Used to translate another plug-in's parameter values to audio unit parameter values
type AudioUnitPreset ¶ added in v0.17.0
AudioUnitPreset is an idiomatic wrapper over the Objective-C class AUAudioUnitPreset.
A class that describes an interface for custom parameter settings provided by the audio unit developer.
func AudioUnitPresetFromID ¶ added in v0.17.0
func AudioUnitPresetFromID(id objc.ID) *AudioUnitPreset
AudioUnitPresetFromID adopts an existing Objective-C object as a AudioUnitPreset (nil for 0), retaining it and registering a release finalizer.
func NewAudioUnitPreset ¶ added in v0.17.0
func NewAudioUnitPreset() *AudioUnitPreset
NewAudioUnitPreset creates a new AudioUnitPreset.
func (*AudioUnitPreset) Description ¶ added in v0.17.0
func (aup *AudioUnitPreset) Description() string
Description returns the object's -description text.
func (*AudioUnitPreset) IsEqual ¶ added in v0.17.0
func (aup *AudioUnitPreset) IsEqual(other obj.Object) bool
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*AudioUnitPreset) IsKind ¶ added in v0.17.0
func (aup *AudioUnitPreset) IsKind(className string) bool
IsKind reports whether the object is an instance of the named class or a subclass.
func (*AudioUnitPreset) Name ¶ added in v0.17.0
func (aup *AudioUnitPreset) Name() string
Name returns the preset's name.
func (*AudioUnitPreset) Number ¶ added in v0.17.0
func (aup *AudioUnitPreset) Number() int
Number returns the preset's unique numeric identifier.
func (*AudioUnitPreset) String ¶ added in v0.17.0
func (aup *AudioUnitPreset) String() string
String returns the object's -description text, so a wrapper prints usefully under fmt.
func (*AudioUnitPreset) WithName ¶ added in v0.17.0
func (aup *AudioUnitPreset) WithName(name string) *AudioUnitPreset
WithName sets the preset’s name.
func (*AudioUnitPreset) WithNumber ¶ added in v0.17.0
func (aup *AudioUnitPreset) WithNumber(number int) *AudioUnitPreset
WithNumber sets the preset’s unique numeric identifier.
type AudioUnitPresetMAS_SettingData ¶
type AudioUnitPresetMAS_SettingData struct {
IsStockSetting uint32
SettingID uint32
DataLen uint32
Data [1]uint8
}
AU-MAS specific structs for the data contained in the "masdata" key of an audio unit preset dictionary
type AudioUnitPresetMAS_Settings ¶
type AudioUnitPresetMAS_Settings struct {
ManufacturerID uint32
EffectID uint32
VariantID uint32
SettingsVersion uint32
NumberOfSettings uint32
Settings [1]AudioUnitPresetMAS_SettingData
}
See MAS documentation
type AudioUnitProperty ¶
type AudioUnitProperty struct {
MAudioUnit unsafe.Pointer
MPropertyID uint32
MScope uint32
MElement uint32
}
A key-value pair that declares an attribute or behavior for an audio unit.
type AudioUnitProvider ¶ added in v0.17.0
AudioUnitProvider is accepted wherever a AUAudioUnit (or one of its subclasses) is expected.
type AudioUnitRemoteControlEvent ¶
type AudioUnitRemoteControlEvent uint32
const ( KAudioUnitRemoteControlEvent_TogglePlayPause AudioUnitRemoteControlEvent = 1 KAudioUnitRemoteControlEvent_ToggleRecord AudioUnitRemoteControlEvent = 2 KAudioUnitRemoteControlEvent_Rewind AudioUnitRemoteControlEvent = 3 )
func (AudioUnitRemoteControlEvent) String ¶
func (e AudioUnitRemoteControlEvent) String() string
String returns the AudioUnitRemoteControlEvent constant's name, or its numeric form when the value is not a known constant.
type AudioUnitRenderActionFlags ¶
type AudioUnitRenderActionFlags uint32
Flags for configuring audio unit rendering. Bitmask — values may be combined with |.
const ( // Called on a render notification Proc - which is called either before or after the render operation of the audio unit. If this flag is set, the proc is being called before the render operation is performed. KAudioUnitRenderAction_PreRender AudioUnitRenderActionFlags = 4 // Called on a render notification Proc - which is called either before or after the render operation of the audio unit. If this flag is set, the proc is being called after the render operation is completed. KAudioUnitRenderAction_PostRender AudioUnitRenderActionFlags = 8 // This flag can be set in a render input callback (or in the audio unit’s render operation itself) and is used to indicate that the render buffer contains only silence. It can then be used by the caller as a hint to whether the buffer needs to be processed or not. KAudioUnitRenderAction_OutputIsSilence AudioUnitRenderActionFlags = 16 // This is used with offline audio units (of type 'auol'). It is used when an offline unit is being preflighted, which is performed prior to the actual offline rendering actions are performed. It is used for those cases where the offline process needs it (for example, with an offline unit that normalizes an audio file, it needs to see all of the audio data first before it can perform its normalization). KAudioOfflineUnitRenderAction_Preflight AudioUnitRenderActionFlags = 32 // Once an offline unit has been successfully preflighted, it is then put into its render mode. So this flag is set to indicate to the audio unit that it is now in that state and that it should perform its processing on the input data. KAudioOfflineUnitRenderAction_Render AudioUnitRenderActionFlags = 64 // This flag is set when an offline unit has completed either its preflight or performed render operation. KAudioOfflineUnitRenderAction_Complete AudioUnitRenderActionFlags = 128 // If this flag is set on the post-render call an error was returned by the audio unit’s render operation. In this case, the error can be retrieved through the lastRenderError property and the audio data in ioData handed to the post-render notification will be invalid. KAudioUnitRenderAction_PostRenderError AudioUnitRenderActionFlags = 256 // If this flag is set, then checks that are done on the arguments provided to render are not performed. This can be useful to use to save computation time in situations where you are sure you are providing the correct arguments and structures to the various render calls. KAudioUnitRenderAction_DoNotCheckRenderArgs AudioUnitRenderActionFlags = 512 )
func AudioUnitProcess ¶
func AudioUnitProcess(inUnit *carboncore.ComponentInstanceRecord, inTimeStamp *coreaudiotypes.AudioTimeStamp, inNumberFrames int, ioData unsafe.Pointer) (result int, ioActionFlags AudioUnitRenderActionFlags)
AudioUnitProcess calls the AudioToolbox framework function AudioUnitProcess.
func AudioUnitProcessMultiple ¶
func AudioUnitProcessMultiple(inUnit *carboncore.ComponentInstanceRecord, inTimeStamp *coreaudiotypes.AudioTimeStamp, inNumberFrames int, inNumberInputBufferLists int, inInputBufferLists unsafe.Pointer, inNumberOutputBufferLists int, ioOutputBufferLists unsafe.Pointer) (result int, ioActionFlags AudioUnitRenderActionFlags)
AudioUnitProcessMultiple calls the AudioToolbox framework function AudioUnitProcessMultiple.
func AudioUnitRender ¶
func AudioUnitRender(inUnit *carboncore.ComponentInstanceRecord, inTimeStamp *coreaudiotypes.AudioTimeStamp, inOutputBusNumber int, inNumberFrames int, ioData unsafe.Pointer) (result int, ioActionFlags AudioUnitRenderActionFlags)
AudioUnitRender calls the AudioToolbox framework function AudioUnitRender.
func (AudioUnitRenderActionFlags) String ¶
func (e AudioUnitRenderActionFlags) String() string
String returns the AudioUnitRenderActionFlags constant's name, or its numeric form when the value is not a known constant.
type AudioUnitRenderContext ¶
A structure that contains thread context information for a real-time rendering operation.
type AudioUnitV2Bridge ¶ added in v0.17.0
type AudioUnitV2Bridge struct {
AudioUnit
}
AudioUnitV2Bridge is an idiomatic wrapper over the Objective-C class AUAudioUnitV2Bridge.
It embeds AudioUnit, promoting that type's methods.
A class that wraps a version 2 audio unit as version 3 audio unit.
func AudioUnitV2BridgeFromID ¶ added in v0.17.0
func AudioUnitV2BridgeFromID(id objc.ID) *AudioUnitV2Bridge
AudioUnitV2BridgeFromID adopts an existing Objective-C object as a AudioUnitV2Bridge (nil for 0), retaining it and registering a release finalizer.
func NewAudioUnitV2Bridge ¶ added in v0.17.0
func NewAudioUnitV2Bridge() *AudioUnitV2Bridge
NewAudioUnitV2Bridge creates a new AudioUnitV2Bridge.
func (*AudioUnitV2Bridge) WithChannelMap ¶ added in v0.17.0
func (auvb *AudioUnitV2Bridge) WithChannelMap(items ...obj.Object) *AudioUnitV2Bridge
WithChannelMap sets specify a mapping of input channels to output channels. Converter and input/output audio units may support re-ordering or splitting of input channels to output channels. The number of channels in the channel map is the number of channels of the destination (output format). The channel map entries contain a channel number of the source channel that should be mapped to that destination channel. If -1 is specified, then that destination channel will not contain any channel from the source (so it will be silent). If the property value is nil, then the audio unit does not support this property. Bridged to the v2 property kAudioOutputUnitProperty_ChannelMap.
func (*AudioUnitV2Bridge) WithContextName ¶ added in v0.17.0
func (auvb *AudioUnitV2Bridge) WithContextName(contextName string) *AudioUnitV2Bridge
WithContextName sets information about the host context in which the audio unit is connected, for display in the audio unit’s view.
func (*AudioUnitV2Bridge) WithCurrentPreset ¶ added in v0.17.0
func (auvb *AudioUnitV2Bridge) WithCurrentPreset(currentPreset *AudioUnitPreset) *AudioUnitV2Bridge
WithCurrentPreset sets the audio unit’s last-selected preset.
func (*AudioUnitV2Bridge) WithFullState ¶ added in v0.17.0
func (auvb *AudioUnitV2Bridge) WithFullState(fullState map[string]obj.Object) *AudioUnitV2Bridge
WithFullState sets a persistable snapshot of the audio unit’s properties and parameters, suitable for saving as a user preset.
func (*AudioUnitV2Bridge) WithFullStateForDocument ¶ added in v0.17.0
func (auvb *AudioUnitV2Bridge) WithFullStateForDocument(fullStateForDocument map[string]obj.Object) *AudioUnitV2Bridge
WithFullStateForDocument sets a persistable snapshot of the audio unit’s properties and parameters, suitable for saving in a user’s document.
func (*AudioUnitV2Bridge) WithHostMIDIProtocol ¶ added in v0.17.0
func (auvb *AudioUnitV2Bridge) WithHostMIDIProtocol(hostMIDIProtocol obj.Object) *AudioUnitV2Bridge
WithHostMIDIProtocol sets the MIDI protocol to be used by the host for receiving MIDIEventList data. Hosts should set this property to the protocol they wish to receive MIDIEventList data from the Audio Unit. This should be set prior to initialization, all translatable messages will be converted (if necessary) to this property's protocol prior to delivery to the host. Host should setup in the following order: - Set hostMIDIProtocol - Set MIDIOutputEventListBlock - Call allocateRenderResourcesAndReturnError This is bridged to the v2 API property kAudioUnitProperty_HostMIDIProtocol. Notes: - If overriding this property, subclassers must call [super setHostMIDIProtocol:] - hostMIDIProtocol should be set before attempting to query AudioUnitMIDIProtocol or calling allocateRenderResourcesAndReturnError to allow Audio Units to optionally match their input MIDI protocol to the desired host protocol and prevent protocol conversion.
func (*AudioUnitV2Bridge) WithInputEnabled ¶ added in v0.17.0
func (auvb *AudioUnitV2Bridge) WithInputEnabled(inputEnabled bool) *AudioUnitV2Bridge
WithInputEnabled sets a flag enabling audio input from the unit.
func (*AudioUnitV2Bridge) WithIntendedSpatialExperience ¶ added in v0.17.0
func (auvb *AudioUnitV2Bridge) WithIntendedSpatialExperience(intendedSpatialExperience unsafe.Pointer) *AudioUnitV2Bridge
WithIntendedSpatialExperience sets the AUAudioUnit’s intended spatial experience.
func (*AudioUnitV2Bridge) WithMIDIOutputBufferSizeHint ¶ added in v0.17.0
func (auvb *AudioUnitV2Bridge) WithMIDIOutputBufferSizeHint(midiOutputBufferSizeHint int) *AudioUnitV2Bridge
WithMIDIOutputBufferSizeHint sets hint to control the size of the allocated buffer for outgoing MIDI events. This property allows the plug-in to provide a hint to the framework regarding the size of its outgoing MIDI data buffer. If the plug-in produces more MIDI output data than the default size of the allocated buffer, then the plug-in can provide this property to increase the size of this buffer. The value represents the number of 3-byte Legacy MIDI messages that fit into the buffer or a single MIDIEventList containing 1 MIDIEventPacket of 2 words when using MIDI 2.0 (MIDIEventList based API's). This property is set to the default value by the framework. In case of kAudioUnitErr_MIDIOutputBufferFull errors caused by producing too much MIDI output in one render call, set this property to increase the buffer. This only provides a recommendation to the framework. Bridged to kAudioUnitProperty_MIDIOutputBufferSizeHint.
func (*AudioUnitV2Bridge) WithMIDIOutputEventBlock ¶ added in v0.18.0
func (auvb *AudioUnitV2Bridge) WithMIDIOutputEventBlock(midiOutputEventBlock func(int64, uint8, int, unsafe.Pointer) int) *AudioUnitV2Bridge
WithMIDIOutputEventBlock sets block used by the host to access the MIDI output generated by an Audio Unit. The host can set this block and the plug-in can call it in its renderBlock to provide to the host the MIDI data associated with the current render cycle. All events sent via this block will be delivered to the host in the MIDI protocol returned by the hostMIDIProtocol property. For example, if hostMIDIProtocol is set to kMIDIProtocol_2_0, incoming events will be translated to MIDI 2.0. If hostMIDIProtocol is not set, events will be delivered as legacy MIDI. Note: AUMIDIEventListBlock should be preferred over this block going forward. This is bridged to the v2 API property kAudioUnitProperty_MIDIOutputCallback.
func (*AudioUnitV2Bridge) WithMIDIOutputEventListBlock ¶ added in v0.18.0
func (auvb *AudioUnitV2Bridge) WithMIDIOutputEventListBlock(midiOutputEventListBlock func(int64, uint8, unsafe.Pointer) int) *AudioUnitV2Bridge
WithMIDIOutputEventListBlock sets block used by the host to access the MIDIEventList output generated by an Audio Unit. The host can set this block and the plug-in can call it in its renderBlock to provide to the host the MIDIEventList data associated with the current render cycle. All events sent via this block will be delivered to the host in the MIDI protocol returned by the hostMIDIProtocol property. For example, if hostMIDIProtocol is set to kMIDIProtocol_2_0, incoming events will be translated to MIDI 2.0. If hostMIDIProtocol is not set, events will be delivered as legacy MIDI. Note: This block is cross-compatible with Audio Units using MIDIOutputEventBlock and should be preferred over MIDIOutputEventBlock by hosts going forward. The framework will provide the Audio Unit with both a MIDIOutputEventBlock and MIDIOutputEventListBlock, the Audio Unit is free to call either block as all messages will be translated as described above. Host should setup in the following order: - Set hostMIDIProtocol - Set MIDIOutputEventListBlock - Call allocateRenderResourcesAndReturnError This is bridged to the v2 API property kAudioUnitProperty_MIDIOutputEventListCallback.
func (*AudioUnitV2Bridge) WithMaximumFramesToRender ¶ added in v0.17.0
func (auvb *AudioUnitV2Bridge) WithMaximumFramesToRender(maximumFramesToRender uint32) *AudioUnitV2Bridge
WithMaximumFramesToRender sets the maximum number of frames that the audio unit can render at once.
func (*AudioUnitV2Bridge) WithOutputEnabled ¶ added in v0.17.0
func (auvb *AudioUnitV2Bridge) WithOutputEnabled(outputEnabled bool) *AudioUnitV2Bridge
WithOutputEnabled sets a flag enabling audio output from the unit.
func (*AudioUnitV2Bridge) WithParameterTree ¶ added in v0.17.0
func (auvb *AudioUnitV2Bridge) WithParameterTree(parameterTree *ParameterTree) *AudioUnitV2Bridge
WithParameterTree sets an audio unit’s parameters, organized in a tree hierarchy.
func (*AudioUnitV2Bridge) WithProfileChangedBlock ¶ added in v0.17.0
func (auvb *AudioUnitV2Bridge) WithProfileChangedBlock(profileChangedBlock unsafe.Pointer) *AudioUnitV2Bridge
WithProfileChangedBlock sets a block called when a device notifies that a MIDI-CI profile has been enabled or disabled. Since enabling / disabling MIDI-CI profiles is an asynchronous operation, the host can set this block and the audio unit is expected to call it every time the state of a MIDI-CI profile has changed.
func (*AudioUnitV2Bridge) WithRenderQuality ¶ added in v0.17.0
func (auvb *AudioUnitV2Bridge) WithRenderQuality(renderQuality int) *AudioUnitV2Bridge
WithRenderQuality sets provides a trade-off between rendering quality and CPU load.
func (*AudioUnitV2Bridge) WithRenderResourcesAllocated ¶ added in v0.17.0
func (auvb *AudioUnitV2Bridge) WithRenderResourcesAllocated(renderResourcesAllocated bool) *AudioUnitV2Bridge
WithRenderResourcesAllocated sets determines whether the audio unit has allocated render resources.
func (*AudioUnitV2Bridge) WithRenderingOffline ¶ added in v0.17.0
func (auvb *AudioUnitV2Bridge) WithRenderingOffline(renderingOffline bool) *AudioUnitV2Bridge
WithRenderingOffline sets communicates to an audio unit that it is rendering offline.
func (*AudioUnitV2Bridge) WithShouldBypassEffect ¶ added in v0.17.0
func (auvb *AudioUnitV2Bridge) WithShouldBypassEffect(shouldBypassEffect bool) *AudioUnitV2Bridge
WithShouldBypassEffect sets determines whether an effect should route input directly to output, without any processing.
type CABarBeatTime ¶
type CABarBeatTime struct {
Bar int32
Beat uint16
Subbeat uint16
SubbeatDivisor uint16
Reserved uint16
}
A display representation of a musical time in beats. A clock's internal representation of musical time is in beats based on the beginning of the timeline. Normally, such times should be displayed to the user in terms of bars, beats, and subbeats (sometimes called "units" or "parts per quarter" [PPQ]). This data structure is such a display representation. By convention, bar 1 is the beginning of the sequence. Beat 1 is the first beat of the measure. In 4/4 time, beat will have a value from 1 to 4. Music applications often use beat divisions such as 480 and 960.
type CAClockMessage ¶
type CAClockMessage uint32
const ( KCAClockMessage_StartTimeSet CAClockMessage = 1937009005 KCAClockMessage_Started CAClockMessage = 1937011316 KCAClockMessage_Stopped CAClockMessage = 1937010544 KCAClockMessage_Armed CAClockMessage = 1634889060 KCAClockMessage_Disarmed CAClockMessage = 1684107885 KCAClockMessage_PropertyChanged CAClockMessage = 1885562983 KCAClockMessage_WrongSMPTEFormat CAClockMessage = 1064529264 )
func (CAClockMessage) String ¶
func (e CAClockMessage) String() string
String returns the CAClockMessage constant's name, or its numeric form when the value is not a known constant.
type CAClockPropertyID ¶
type CAClockPropertyID uint32
const ( KCAClockProperty_InternalTimebase CAClockPropertyID = 1768846434 KCAClockProperty_TimebaseSource CAClockPropertyID = 1769235059 KCAClockProperty_SyncMode CAClockPropertyID = 1937337965 KCAClockProperty_SyncSource CAClockPropertyID = 1937337971 KCAClockProperty_SMPTEFormat CAClockPropertyID = 1936552038 KCAClockProperty_SMPTEOffset CAClockPropertyID = 1936552047 KCAClockProperty_MIDIClockDestinations CAClockPropertyID = 1835164516 KCAClockProperty_MTCDestinations CAClockPropertyID = 1836344164 KCAClockProperty_MTCFreewheelTime CAClockPropertyID = 1836344951 KCAClockProperty_TempoMap CAClockPropertyID = 1953329263 KCAClockProperty_MeterTrack CAClockPropertyID = 1835365490 KCAClockProperty_Name CAClockPropertyID = 1851878757 KCAClockProperty_SendMIDISPP CAClockPropertyID = 1836281968 )
func (CAClockPropertyID) String ¶
func (e CAClockPropertyID) String() string
String returns the CAClockPropertyID constant's name, or its numeric form when the value is not a known constant.
type CAClockRef ¶ added in v0.18.0
CAClockRef is a handle for the opaque CAClockRef type.
func (CAClockRef) IsNil ¶ added in v0.18.0
func (h CAClockRef) IsNil() bool
IsNil reports whether CAClockRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type CAClockSyncMode ¶
type CAClockSyncMode uint32
const ( KCAClockSyncMode_Internal CAClockSyncMode = 1768846450 KCAClockSyncMode_MIDIClockTransport CAClockSyncMode = 1835232363 KCAClockSyncMode_MTCTransport CAClockSyncMode = 1835889763 )
func (CAClockSyncMode) String ¶
func (e CAClockSyncMode) String() string
String returns the CAClockSyncMode constant's name, or its numeric form when the value is not a known constant.
type CAClockTime ¶
type CAClockTime struct {
Format CAClockTimeFormat
Reserved uint32
Time unsafe.Pointer
}
Represents a time value using one of several possible units.
type CAClockTimeFormat ¶
type CAClockTimeFormat uint32
const ( KCAClockTimeFormat_HostTime CAClockTimeFormat = 1752134516 KCAClockTimeFormat_Samples CAClockTimeFormat = 1935764848 KCAClockTimeFormat_Beats CAClockTimeFormat = 1650811252 KCAClockTimeFormat_Seconds CAClockTimeFormat = 1936024435 KCAClockTimeFormat_SMPTESeconds CAClockTimeFormat = 1936552051 KCAClockTimeFormat_SMPTETime CAClockTimeFormat = 1936552052 KCAClockTimeFormat_AbsoluteSeconds CAClockTimeFormat = 1634952547 )
func (CAClockTimeFormat) String ¶
func (e CAClockTimeFormat) String() string
String returns the CAClockTimeFormat constant's name, or its numeric form when the value is not a known constant.
type CAClockTimebase ¶
type CAClockTimebase uint32
const ( KCAClockTimebase_HostTime CAClockTimebase = 1752134516 KCAClockTimebase_AudioDevice CAClockTimebase = 1635083369 KCAClockTimebase_AudioOutputUnit CAClockTimebase = 1635086197 )
func (CAClockTimebase) String ¶
func (e CAClockTimebase) String() string
String returns the CAClockTimebase constant's name, or its numeric form when the value is not a known constant.
type CAFAudioDescription ¶
type CAFAudioDescription struct {
// contains filtered or unexported fields
}
The C layout cannot be reproduced as a plain Go value struct, so it is held as its exact-size bytes and read through the typed As* accessors below. It is pointer-only: never pass it by value.
func (*CAFAudioDescription) AsMBitsPerChannel ¶ added in v0.18.0
func (u *CAFAudioDescription) AsMBitsPerChannel() uint32
AsMBitsPerChannel returns the mBitsPerChannel field, read from the backing bytes at offset 28.
func (*CAFAudioDescription) AsMBytesPerPacket ¶ added in v0.18.0
func (u *CAFAudioDescription) AsMBytesPerPacket() uint32
AsMBytesPerPacket returns the mBytesPerPacket field, read from the backing bytes at offset 16.
func (*CAFAudioDescription) AsMChannelsPerFrame ¶ added in v0.18.0
func (u *CAFAudioDescription) AsMChannelsPerFrame() uint32
AsMChannelsPerFrame returns the mChannelsPerFrame field, read from the backing bytes at offset 24.
func (*CAFAudioDescription) AsMFormatID ¶ added in v0.18.0
func (u *CAFAudioDescription) AsMFormatID() uint32
AsMFormatID returns the mFormatID field, read from the backing bytes at offset 8.
func (*CAFAudioDescription) AsMFramesPerPacket ¶ added in v0.18.0
func (u *CAFAudioDescription) AsMFramesPerPacket() uint32
AsMFramesPerPacket returns the mFramesPerPacket field, read from the backing bytes at offset 20.
func (*CAFAudioDescription) AsMSampleRate ¶ added in v0.18.0
func (u *CAFAudioDescription) AsMSampleRate() float64
AsMSampleRate returns the mSampleRate field, read from the backing bytes at offset 0.
type CAFAudioFormatListItem ¶
type CAFAudioFormatListItem struct {
MFormat CAFAudioDescription
MChannelLayoutTag uint32
}
type CAFChunkHeader ¶
type CAFChunkHeader struct {
// contains filtered or unexported fields
}
The C layout cannot be reproduced as a plain Go value struct, so it is held as its exact-size bytes and read through the typed As* accessors below. It is pointer-only: never pass it by value.
func (*CAFChunkHeader) AsMChunkSize ¶ added in v0.18.0
func (u *CAFChunkHeader) AsMChunkSize() int64
AsMChunkSize returns the mChunkSize field, read from the backing bytes at offset 4.
func (*CAFChunkHeader) AsMChunkType ¶ added in v0.18.0
func (u *CAFChunkHeader) AsMChunkType() uint32
AsMChunkType returns the mChunkType field, read from the backing bytes at offset 0.
type CAFDataChunk ¶
type CAFFileHeader ¶
type CAFFormatFlags ¶
type CAFFormatFlags uint32
Bitmask — values may be combined with |.
const ( KCAFLinearPCMFormatFlagIsFloat CAFFormatFlags = 1 KCAFLinearPCMFormatFlagIsLittleEndian CAFFormatFlags = 2 )
func (CAFFormatFlags) String ¶
func (e CAFFormatFlags) String() string
String returns the CAFFormatFlags constant's name, or its numeric form when the value is not a known constant.
type CAFInfoStrings ¶
type CAFInfoStrings struct {
MNumEntries uint32
}
type CAFInstrumentChunk ¶
type CAFMarker ¶
type CAFMarker struct {
// contains filtered or unexported fields
}
The C layout cannot be reproduced as a plain Go value struct, so it is held as its exact-size bytes and read through the typed As* accessors below. It is pointer-only: never pass it by value.
func (*CAFMarker) AsMChannel ¶ added in v0.18.0
AsMChannel returns the mChannel field, read from the backing bytes at offset 24.
func (*CAFMarker) AsMFramePosition ¶ added in v0.18.0
AsMFramePosition returns the mFramePosition field, read from the backing bytes at offset 4.
func (*CAFMarker) AsMMarkerID ¶ added in v0.18.0
AsMMarkerID returns the mMarkerID field, read from the backing bytes at offset 12.
type CAFMarkerChunk ¶
type CAFOverviewChunk ¶
type CAFOverviewChunk struct {
MEditCount uint32
MNumFramesPerOVWSample uint32
MData [1]CAFOverviewSample
}
type CAFOverviewSample ¶
type CAFPacketTableHeader ¶
type CAFPeakChunk ¶
type CAFPeakChunk struct {
MEditCount uint32
MPeaks [1]CAFPositionPeak
}
type CAFPositionPeak ¶
type CAFPositionPeak struct {
// contains filtered or unexported fields
}
The C layout cannot be reproduced as a plain Go value struct, so it is held as its exact-size bytes and read through the typed As* accessors below. It is pointer-only: never pass it by value.
func (*CAFPositionPeak) AsMFrameNumber ¶ added in v0.18.0
func (u *CAFPositionPeak) AsMFrameNumber() uint64
AsMFrameNumber returns the mFrameNumber field, read from the backing bytes at offset 4.
func (*CAFPositionPeak) AsMValue ¶ added in v0.18.0
func (u *CAFPositionPeak) AsMValue() float32
AsMValue returns the mValue field, read from the backing bytes at offset 0.
type CAFRegion ¶
type CAFRegion struct {
// contains filtered or unexported fields
}
The C layout cannot be reproduced as a plain Go value struct, so it is held as its exact-size bytes and read through the typed As* accessors below. It is pointer-only: never pass it by value.
func (*CAFRegion) AsMNumberMarkers ¶ added in v0.18.0
AsMNumberMarkers returns the mNumberMarkers field, read from the backing bytes at offset 8.
func (*CAFRegion) AsMRegionID ¶ added in v0.18.0
AsMRegionID returns the mRegionID field, read from the backing bytes at offset 0.
type CAFRegionChunk ¶
type CAFRegionFlags ¶
type CAFRegionFlags uint32
Bitmask — values may be combined with |.
const ( KCAFRegionFlag_LoopEnable CAFRegionFlags = 1 KCAFRegionFlag_PlayForward CAFRegionFlags = 2 KCAFRegionFlag_PlayBackward CAFRegionFlags = 4 )
func (CAFRegionFlags) String ¶
func (e CAFRegionFlags) String() string
String returns the CAFRegionFlags constant's name, or its numeric form when the value is not a known constant.
type CAFStringID ¶
type CAFStringID struct {
// contains filtered or unexported fields
}
The C layout cannot be reproduced as a plain Go value struct, so it is held as its exact-size bytes and read through the typed As* accessors below. It is pointer-only: never pass it by value.
func (*CAFStringID) AsMStringID ¶ added in v0.18.0
func (u *CAFStringID) AsMStringID() uint32
AsMStringID returns the mStringID field, read from the backing bytes at offset 0.
func (*CAFStringID) AsMStringStartByteOffset ¶ added in v0.18.0
func (u *CAFStringID) AsMStringStartByteOffset() int64
AsMStringStartByteOffset returns the mStringStartByteOffset field, read from the backing bytes at offset 4.
type CAFStrings ¶
type CAFStrings struct {
MNumEntries uint32
MStringsIDs [1]CAFStringID
}
type CAFUMIDChunk ¶
type CAFUMIDChunk struct {
MBytes [64]uint8
}
type CAF_SMPTE_Time ¶
type CAF_UUID_ChunkHeader ¶
type CAF_UUID_ChunkHeader struct {
MHeader CAFChunkHeader
MUUID [16]uint8
}
type CAMeterTrackEntry ¶
A time signature change event. The meter track is used for converting between beats as floating-point numbers (CAClockBeats) and their display representations (CABarBeatTime).
type CATempoMapEntry ¶
A tempo change event. The clock's tempo map defines the correspondence between seconds and musical beats, and is used in conversions between the two.
type ComponentDescription ¶
type ComponentDescription struct{}
type ComponentInstanceRecord ¶
type ComponentInstanceRecord struct{}
type DispatchAutoreleaseFrequency ¶ added in v0.17.0
type DispatchAutoreleaseFrequency uint64
const ( DispatchAutoreleaseFrequencyInherit DispatchAutoreleaseFrequency = 0 DispatchAutoreleaseFrequencyWorkItem DispatchAutoreleaseFrequency = 1 DispatchAutoreleaseFrequencyNever DispatchAutoreleaseFrequency = 2 )
func (DispatchAutoreleaseFrequency) String ¶ added in v0.17.0
func (e DispatchAutoreleaseFrequency) String() string
String returns the DispatchAutoreleaseFrequency constant's name, or its numeric form when the value is not a known constant.
type DispatchBlockFlags ¶ added in v0.17.0
type DispatchBlockFlags uint64
Bitmask — values may be combined with |.
const ( DispatchBlockFlagsBarrier DispatchBlockFlags = 1 DispatchBlockFlagsDetached DispatchBlockFlags = 2 DispatchBlockFlagsAssignCurrent DispatchBlockFlags = 4 DispatchBlockFlagsNoQosClass DispatchBlockFlags = 8 DispatchBlockFlagsInheritQosClass DispatchBlockFlags = 16 DispatchBlockFlagsEnforceQosClass DispatchBlockFlags = 32 )
func (DispatchBlockFlags) String ¶ added in v0.17.0
func (e DispatchBlockFlags) String() string
String returns the DispatchBlockFlags constant's name, or its numeric form when the value is not a known constant.
type ExtAudioFileRef ¶ added in v0.18.0
ExtAudioFileRef is a handle for the opaque ExtAudioFileRef type.
func (ExtAudioFileRef) IsNil ¶ added in v0.18.0
func (h ExtAudioFileRef) IsNil() bool
IsNil reports whether ExtAudioFileRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type ExtendedAudioFormatInfo ¶
type ExtendedAudioFormatInfo struct {
MASBD coreaudiotypes.AudioStreamBasicDescription
MMagicCookie unsafe.Pointer
MMagicCookieSize uint32
MClassDescription coreaudiotypes.AudioClassDescription
}
A specifier for the kAudioFormatProperty_FormatList property, including the codec to use.
type ExtendedControlEvent ¶
type ExtendedNoteOnEvent ¶
type ExtendedNoteOnEvent struct {
InstrumentID uint32
GroupID uint32
Duration float32
ExtendedParams MusicDeviceNoteParams
}
Describes a note-on event with extended parameters.
type ExtendedTempoEvent ¶
type ExtendedTempoEvent struct {
Bpm float64
}
Describes a music track tempo in beats-per-minute.
type FilesecProperty ¶ added in v0.17.0
type FilesecProperty int32
const ( FilesecPropertyOwner FilesecProperty = 1 FilesecPropertyGroup FilesecProperty = 2 FilesecPropertyUUID FilesecProperty = 3 FilesecPropertyMode FilesecProperty = 4 FilesecPropertyACL FilesecProperty = 5 FilesecPropertyGrpuuid FilesecProperty = 6 FilesecPropertyACLRaw FilesecProperty = 100 FilesecPropertyACLAllocsize FilesecProperty = 101 )
func (FilesecProperty) String ¶ added in v0.17.0
func (e FilesecProperty) String() string
String returns the FilesecProperty constant's name, or its numeric form when the value is not a known constant.
type HostCallbackInfo ¶
type HostCallbackInfo struct {
HostUserData unsafe.Pointer
BeatAndTempoProc unsafe.Pointer
MusicalTimeLocationProc unsafe.Pointer
TransportStateProc unsafe.Pointer
TransportStateProc2 unsafe.Pointer
}
The time- and transport-related callback functions for an audio unit.
type HostTransportStateFlags ¶ added in v0.17.0
type HostTransportStateFlags uint64
Bitmask — values may be combined with |.
const ( // Indicates such state changes as start, stop, or seeking to another position in the timeline. Can be active if there was a change to the state of, or discontinuities in, the audio transport since the AUHostTransportStateBlock callback was last called. HostTransportStateChanged HostTransportStateFlags = 1 // Indicates that the audio transport is moving. HostTransportStateMoving HostTransportStateFlags = 2 // Indicates that the host is recording, or is prepared to record. Can be active with or without a moving state. HostTransportStateRecording HostTransportStateFlags = 4 // Indicates that the host is cycling or looping. HostTransportStateCycling HostTransportStateFlags = 8 )
func (HostTransportStateFlags) String ¶ added in v0.17.0
func (e HostTransportStateFlags) String() string
String returns the HostTransportStateFlags constant's name, or its numeric form when the value is not a known constant.
type IpcInfoObjectType ¶ added in v0.17.0
type IpcInfoObjectType uint32
const ( IpcInfoObjectTypeNone IpcInfoObjectType = 0 IpcInfoObjectTypeThreadControl IpcInfoObjectType = 1 IpcInfoObjectTypeTaskControl IpcInfoObjectType = 2 IpcInfoObjectTypeHost IpcInfoObjectType = 3 IpcInfoObjectTypeHostPriv IpcInfoObjectType = 4 IpcInfoObjectTypeProcessor IpcInfoObjectType = 5 IpcInfoObjectTypeProcessorSet IpcInfoObjectType = 6 IpcInfoObjectTypeProcessorSetName IpcInfoObjectType = 7 IpcInfoObjectTypeTimer IpcInfoObjectType = 8 IpcInfoObjectTypePortSubstOnce IpcInfoObjectType = 9 IpcInfoObjectTypeMig IpcInfoObjectType = 10 IpcInfoObjectTypeMemoryObject IpcInfoObjectType = 11 IpcInfoObjectTypeXmmPager IpcInfoObjectType = 12 IpcInfoObjectTypeXmmKernel IpcInfoObjectType = 13 IpcInfoObjectTypeXmmReply IpcInfoObjectType = 14 IpcInfoObjectTypeUndReply IpcInfoObjectType = 15 IpcInfoObjectTypeHostNotify IpcInfoObjectType = 16 IpcInfoObjectTypeHostSecurity IpcInfoObjectType = 17 IpcInfoObjectTypeLedger IpcInfoObjectType = 18 IpcInfoObjectTypeMainDevice IpcInfoObjectType = 19 IpcInfoObjectTypeTaskName IpcInfoObjectType = 20 IpcInfoObjectTypeSubsystem IpcInfoObjectType = 21 IpcInfoObjectTypeIODoneQueue IpcInfoObjectType = 22 IpcInfoObjectTypeSemaphore IpcInfoObjectType = 23 IpcInfoObjectTypeLockSet IpcInfoObjectType = 24 IpcInfoObjectTypeClock IpcInfoObjectType = 25 IpcInfoObjectTypeClockCtrl IpcInfoObjectType = 26 IpcInfoObjectTypeIokitIdent IpcInfoObjectType = 27 IpcInfoObjectTypeNamedEntry IpcInfoObjectType = 28 IpcInfoObjectTypeIokitConnect IpcInfoObjectType = 29 IpcInfoObjectTypeIokitObject IpcInfoObjectType = 30 IpcInfoObjectTypeUpl IpcInfoObjectType = 31 IpcInfoObjectTypeMemObjControl IpcInfoObjectType = 32 IpcInfoObjectTypeAuSessionport IpcInfoObjectType = 33 IpcInfoObjectTypeFileport IpcInfoObjectType = 34 IpcInfoObjectTypeLabelh IpcInfoObjectType = 35 IpcInfoObjectTypeTaskResume IpcInfoObjectType = 36 IpcInfoObjectTypeVoucher IpcInfoObjectType = 37 IpcInfoObjectTypeVoucherAttrControl IpcInfoObjectType = 38 IpcInfoObjectTypeWorkInterval IpcInfoObjectType = 39 IpcInfoObjectTypeUxHandler IpcInfoObjectType = 40 IpcInfoObjectTypeUextObject IpcInfoObjectType = 41 IpcInfoObjectTypeArcadeReg IpcInfoObjectType = 42 IpcInfoObjectTypeEventlink IpcInfoObjectType = 43 IpcInfoObjectTypeTaskInspect IpcInfoObjectType = 44 IpcInfoObjectTypeTaskRead IpcInfoObjectType = 45 IpcInfoObjectTypeThreadInspect IpcInfoObjectType = 46 IpcInfoObjectTypeThreadRead IpcInfoObjectType = 47 IpcInfoObjectTypeSuidCred IpcInfoObjectType = 48 IpcInfoObjectTypeHypervisor IpcInfoObjectType = 49 IpcInfoObjectTypeTaskIDToken IpcInfoObjectType = 50 IpcInfoObjectTypeTaskFatal IpcInfoObjectType = 51 IpcInfoObjectTypeKcdata IpcInfoObjectType = 52 IpcInfoObjectTypeExclavesResource IpcInfoObjectType = 53 IpcInfoObjectTypeThreadResume IpcInfoObjectType = 54 IpcInfoObjectTypeUnknown IpcInfoObjectType = 4294967295 )
func (IpcInfoObjectType) String ¶ added in v0.17.0
func (e IpcInfoObjectType) String() string
String returns the IpcInfoObjectType constant's name, or its numeric form when the value is not a known constant.
type LaunchDataType ¶ added in v0.17.0
type LaunchDataType int32
const ( LaunchDataTypeDictionary LaunchDataType = 1 LaunchDataTypeArray LaunchDataType = 2 LaunchDataTypeFd LaunchDataType = 3 LaunchDataTypeInteger LaunchDataType = 4 LaunchDataTypeReal LaunchDataType = 5 LaunchDataTypeBool LaunchDataType = 6 LaunchDataTypeString LaunchDataType = 7 LaunchDataTypeOpaque LaunchDataType = 8 LaunchDataTypeErrno LaunchDataType = 9 LaunchDataTypeMachport LaunchDataType = 10 )
func (LaunchDataType) String ¶ added in v0.17.0
func (e LaunchDataType) String() string
String returns the LaunchDataType constant's name, or its numeric form when the value is not a known constant.
type MDLabelDomain ¶
type MDLabelDomain int32
These constants are used to specify a domain to MDLabelCreate().
const ( KMDLabelUserDomain MDLabelDomain = 0 KMDLabelLocalDomain MDLabelDomain = 1 )
func (MDLabelDomain) String ¶
func (e MDLabelDomain) String() string
String returns the MDLabelDomain constant's name, or its numeric form when the value is not a known constant.
type MDQueryOptionFlags ¶
type MDQueryOptionFlags int32
const ( KMDQuerySynchronous MDQueryOptionFlags = 1 KMDQueryWantsUpdates MDQueryOptionFlags = 4 KMDQueryAllowFSTranslation MDQueryOptionFlags = 8 )
func (MDQueryOptionFlags) String ¶
func (e MDQueryOptionFlags) String() string
String returns the MDQueryOptionFlags constant's name, or its numeric form when the value is not a known constant.
type MDQuerySortOptionFlags ¶
type MDQuerySortOptionFlags int32
const (
KMDQueryReverseSortOrderFlag MDQuerySortOptionFlags = 1
)
func (MDQuerySortOptionFlags) String ¶
func (e MDQuerySortOptionFlags) String() string
String returns the MDQuerySortOptionFlags constant's name, or its numeric form when the value is not a known constant.
type MIDIChannelMessage ¶
Describes a MIDI channel message.
type MIDIEventList ¶
MIDIEventList is a handle for the opaque MIDIEventList type.
func (MIDIEventList) IsNil ¶ added in v0.18.0
func (h MIDIEventList) IsNil() bool
IsNil reports whether MIDIEventList is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type MIDIMetaEvent ¶
type MIDIMetaEvent struct {
MetaEventType uint8
Unused1 uint8
Unused2 uint8
Unused3 uint8
DataLength uint32
Data [1]uint8
}
Describes a MIDI metaevent such as lyric text, time signature, and so on.
type MIDINoteMessage ¶
type MIDINoteMessage struct {
Channel uint8
Note uint8
Velocity uint8
ReleaseVelocity uint8
Duration float32
}
Describes a MIDI note.
type MIDIPacketList ¶
type MIDIPacketList struct{}
A list of MIDI events the system sends to or receives from an endpoint.
type MIDIRawData ¶
Describes a MIDI system-exclusive (SysEx) message.
type MachVMRangeFlags ¶ added in v0.17.0
type MachVMRangeFlags uint64
Bitmask — values may be combined with |.
const (
MachVMRangeFlagsNone MachVMRangeFlags = 0
)
func (MachVMRangeFlags) String ¶ added in v0.17.0
func (e MachVMRangeFlags) String() string
String returns the MachVMRangeFlags constant's name, or its numeric form when the value is not a known constant.
type MachVMRangeFlavor ¶ added in v0.17.0
type MachVMRangeFlavor uint32
const ( MachVMRangeFlavorInvalid MachVMRangeFlavor = 0 MachVMRangeFlavorV1 MachVMRangeFlavor = 1 )
func (MachVMRangeFlavor) String ¶ added in v0.17.0
func (e MachVMRangeFlavor) String() string
String returns the MachVMRangeFlavor constant's name, or its numeric form when the value is not a known constant.
type MachVMRangeTag ¶ added in v0.17.0
type MachVMRangeTag uint16
const ( MachVMRangeTagDefault MachVMRangeTag = 0 MachVMRangeTagData MachVMRangeTag = 1 MachVMRangeTagFixed MachVMRangeTag = 2 )
func (MachVMRangeTag) String ¶ added in v0.17.0
func (e MachVMRangeTag) String() string
String returns the MachVMRangeTag constant's name, or its numeric form when the value is not a known constant.
type MagicCookieInfo ¶
type MagicCookieInfo = AudioCodecMagicCookieInfo
MagicCookieInfo is an alias for the AudioCodecMagicCookieInfo value type.
type MessageChannel ¶ added in v0.17.0
type MessageChannel interface {
CallHostBlock() obj.Object
SetCallHostBlock(callHostBlock obj.Object)
}
MessageChannel is the Go form of the Objective-C protocol AUMessageChannel.
type MixerDistanceParams ¶
type MpoFlags ¶ added in v0.17.0
type MpoFlags uint32
Bitmask — values may be combined with |.
const ( MpoFlagsPort MpoFlags = 0 MpoFlagsServicePort MpoFlags = 1024 MpoFlagsConnectionPort MpoFlags = 2048 MpoFlagsReplyPort MpoFlags = 4096 MpoFlagsWeakReplyPort MpoFlags = 16384 MpoFlagsNotificationPort MpoFlags = 17408 MpoFlagsExceptionPort MpoFlags = 32768 MpoFlagsConnectionPortWithPortArray MpoFlags = 65536 )
type MusicDeviceNoteParams ¶
type MusicDeviceNoteParams struct {
ArgCount uint32
MPitch float32
MVelocity float32
MControls [1]NoteParamsControlValue
}
Used to hold the value of the inParams parameter for the MusicDeviceStartNote function. The generic version of this structure describes an arg count (which is the number of mControls values + 1 for mPitch and 1 for mVelocity). So, argCount should at least be two. See MusicDeviceStdNoteParams for the common use case, as many audio unit instruments will not respond to control values provided in the start note function
type MusicDeviceStdNoteParams ¶
convenience struct for specifying a note and velocity This struct is the common usage for MusicDeviceStartNote, as most synths that implement this functionality will only allow for the specification of a note number and velocity when starting a new note.
type MusicEventIterator ¶ added in v0.18.0
MusicEventIterator is a handle for the opaque MusicEventIterator type.
func (MusicEventIterator) IsNil ¶ added in v0.18.0
func (h MusicEventIterator) IsNil() bool
IsNil reports whether MusicEventIterator is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type MusicEventUserData ¶
Describes a user-defined event.
type MusicPlayer ¶ added in v0.18.0
MusicPlayer is a handle for the opaque MusicPlayer type.
func (MusicPlayer) IsNil ¶ added in v0.18.0
func (h MusicPlayer) IsNil() bool
IsNil reports whether MusicPlayer is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type MusicSequence ¶ added in v0.18.0
MusicSequence is a handle for the opaque MusicSequence type.
func (MusicSequence) IsNil ¶ added in v0.18.0
func (h MusicSequence) IsNil() bool
IsNil reports whether MusicSequence is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type MusicSequenceFileFlags ¶
type MusicSequenceFileFlags uint32
Flags that configure the behavior of the MusicSequenceFileCreate and MusicSequenceFileCreateData functions. Bitmask — values may be combined with |.
const ( KMusicSequenceFileFlags_Default MusicSequenceFileFlags = 0 // Specifies that an existing file should be erased when creating a new file. KMusicSequenceFileFlags_EraseFile MusicSequenceFileFlags = 1 )
func (MusicSequenceFileFlags) String ¶
func (e MusicSequenceFileFlags) String() string
String returns the MusicSequenceFileFlags constant's name, or its numeric form when the value is not a known constant.
type MusicSequenceFileTypeID ¶
type MusicSequenceFileTypeID uint32
The various types of files that can be parsed by a music sequence.
const ( KMusicSequenceFile_AnyType MusicSequenceFileTypeID = 0 // A MIDI file type KMusicSequenceFile_MIDIType MusicSequenceFileTypeID = 1835623529 // An iMelody file type. KMusicSequenceFile_iMelodyType MusicSequenceFileTypeID = 1768777068 )
func (MusicSequenceFileTypeID) String ¶
func (e MusicSequenceFileTypeID) String() string
String returns the MusicSequenceFileTypeID constant's name, or its numeric form when the value is not a known constant.
type MusicSequenceLoadFlags ¶
type MusicSequenceLoadFlags uint32
Flags used to configure the behavior of the MusicSequenceFileLoad and MusicSequenceFileLoadData functions. Bitmask — values may be combined with |.
const ( KMusicSequenceLoadSMF_PreserveTracks MusicSequenceLoadFlags = 0 // If this flag is set the resultant Sequence will contain a tempo track, 1 track for each MIDI Channel that is found in the SMF, 1 track for SysEx or MetaEvents - and this will be the last track in the sequence after the LoadSMFWithFlags calls. KMusicSequenceLoadSMF_ChannelsToTracks MusicSequenceLoadFlags = 1 )
func (MusicSequenceLoadFlags) String ¶
func (e MusicSequenceLoadFlags) String() string
String returns the MusicSequenceLoadFlags constant's name, or its numeric form when the value is not a known constant.
type MusicSequenceType ¶
type MusicSequenceType uint32
The various types of music sequences.
const ( // Used for a music sequence that corresponds to a normal MIDI file. The tempo track defines the number of beats per second and can have multiple tempo events. KMusicSequenceType_Beats MusicSequenceType = 1650811252 // Used for a music sequence that corresponds to a MIDI file, but employs SMPTE timecode. The tempo track contains a single tempo event that specifies 60 beat-per-minute. KMusicSequenceType_Seconds MusicSequenceType = 1936024435 // Used for audio samples; a music sequence of this type cannot be saved to a MIDI file. The tempo track contains a single tempo event that specifies an audio sample rate in samples-per-second. KMusicSequenceType_Samples MusicSequenceType = 1935764848 )
func MusicSequenceGetSequenceType ¶
func MusicSequenceGetSequenceType(inSequence MusicSequence) (result int, outType MusicSequenceType)
MusicSequenceGetSequenceType calls the AudioToolbox framework function MusicSequenceGetSequenceType.
func (MusicSequenceType) String ¶
func (e MusicSequenceType) String() string
String returns the MusicSequenceType constant's name, or its numeric form when the value is not a known constant.
type MusicTrack ¶ added in v0.18.0
MusicTrack is a handle for the opaque MusicTrack type.
func (MusicTrack) IsNil ¶ added in v0.18.0
func (h MusicTrack) IsNil() bool
IsNil reports whether MusicTrack is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type MusicTrackLoopInfo ¶
Supports control of the looping behavior of a music track.
type NoteParamsControlValue ¶
used to describe a control and value This struct is used to describe a parameterID (a control in MIDI terminology, though it is not limited to MIDI CC specifications) and the value of this parameter.
type OpaqueAudioComponent ¶
type OpaqueAudioComponent struct{}
The type used to represent a class of particular audio components An audio component is usually found through a search and is then uniquely identified by the triple of an audio component's type, subtype and manufacturer. It can have properties associated with it (such as a name, a version). It is then used as a factory (like a class in an object-oriented programming language) from which to create instances. The instances are used to do the actual work. For example: the AudioComponentDescription 'aufx'/'dely'/'appl' describes the delay audio unit effect from Apple, Inc. You can find this component by searching explicitly for the audio component that matches this pattern (this is an unique identifier - there is only one match to this triple ID). Then once found, instances of the Apple delay effect audio unit can be created from its audio component and used to apply that effect to an audio signal. A single component can create any number of component instances.
type OpaqueAudioConverter ¶
type OpaqueAudioConverter struct{}
A reference to an AudioConverter object.
type OpaqueAudioFileStreamID ¶
type OpaqueAudioFileStreamID struct{}
type OpaqueAudioQueue ¶
type OpaqueAudioQueue struct{}
An opaque data type that represents an audio queue.
type OpaqueAudioQueueProcessingTap ¶
type OpaqueAudioQueueProcessingTap struct{}
An object for intercepting and processing audio within an audio queue.
type OpaqueAudioQueueTimeline ¶
type OpaqueAudioQueueTimeline struct{}
An opaque data type that represents an audio queue timeline. You can use this object to observe any overloads in the audio device associated with the audio queue. A timeline object receives notifications of discontinuities in the audio hardware's sample timeline--for instance, a period of silence when sound was expected. Causes of discontinuities include changes in the device state or processing overloads. See Technical Q & A: QA 1467 for a discussion of Core Audio overload warnings. These warnings indicate you are taking too long to process audio data and the system has cut you off. You query a timeline object by passing it as a parameter to AudioQueueGetCurrentTime, which means a discontinuity has occurred.
type OpaqueMusicEventIterator ¶
type OpaqueMusicEventIterator struct{}
type OpaqueMusicPlayer ¶
type OpaqueMusicPlayer struct{}
type OpaqueMusicSequence ¶
type OpaqueMusicSequence struct{}
type OpaqueMusicTrack ¶
type OpaqueMusicTrack struct{}
type Parameter ¶ added in v0.17.0
type Parameter struct {
ParameterNode
}
Parameter is an idiomatic wrapper over the Objective-C class AUParameter.
It embeds ParameterNode, promoting that type's methods.
An object that represents a single audio unit parameter.
func CreateParameterWithIdentifierNameAddressMinMaxUnitUnitNameFlagsValueStringsDependentParameters ¶ added in v0.17.0
func CreateParameterWithIdentifierNameAddressMinMaxUnitUnitNameFlagsValueStringsDependentParameters(identifier string, name string, address uint64, min float32, max float32, unit AudioUnitParameterUnit, unitName string, flags AudioUnitParameterOptions, valueStrings []string, dependentParameters []*foundation.Number) *Parameter
CreateParameterWithIdentifierNameAddressMinMaxUnitUnitNameFlagsValueStringsDependentParameters creates a single parameter object.
func NewParameter ¶ added in v0.17.0
func NewParameter() *Parameter
NewParameter creates a new Parameter.
func ParameterFromID ¶ added in v0.17.0
ParameterFromID adopts an existing Objective-C object as a Parameter (nil for 0), retaining it and registering a release finalizer.
func (*Parameter) DependentParameters ¶ added in v0.17.0
DependentParameters returns parameters whose values may change as a side effect of this parameter's value changing. Each array value is an NSNumber representing AUParameterAddress.
DependentParameters returns the collection as a Go slice.
func (*Parameter) Flags ¶ added in v0.17.0
func (p *Parameter) Flags() AudioUnitParameterOptions
Flags returns various details of the parameter.
func (*Parameter) SetValueOriginator ¶ added in v0.17.0
SetValueOriginator sets the parameter’s value, avoiding redundant notifications to the originator.
func (*Parameter) SetValueOriginatorAtHostTime ¶ added in v0.17.0
func (p *Parameter) SetValueOriginatorAtHostTime(value float32, originator unsafe.Pointer, hostTime uint64)
SetValueOriginatorAtHostTime sets the parameter’s value, preserving the host time of the gesture that initiated the change.
func (*Parameter) SetValueOriginatorAtHostTimeEventType ¶ added in v0.17.0
func (p *Parameter) SetValueOriginatorAtHostTimeEventType(value float32, originator unsafe.Pointer, hostTime uint64, eventType ParameterAutomationEventType)
SetValueOriginatorAtHostTimeEventType set the parameter's value, preserving the host time of the gesture that initiated the change, and associating an event type such as touch/release. In general, this method should only be called from a user interface. It initiates a change to a parameter in a way that captures the gesture such that it can be recorded later -- any AUParameterAutomationObservers will receive the host time and event type associated with the parameter change. From an audio playback engine, a host should schedule automated parameter changes through AUAudioUnit's scheduleParameterBlock. Bridged to the v2 function AudioUnitSetParameter.
func (*Parameter) StringFromValue ¶ added in v0.17.0
StringFromValue gets the string representation of a parameter value.
func (*Parameter) Unit ¶ added in v0.17.0
func (p *Parameter) Unit() AudioUnitParameterUnit
Unit returns the parameter's unit of measurement.
func (*Parameter) UnitName ¶ added in v0.17.0
UnitName returns a localized name for the parameter's unit. Supplied by the AU if kAudioUnitParameterUnit_CustomUnit; else by the framework.
func (*Parameter) ValueFromString ¶ added in v0.17.0
ValueFromString converts a string into a parameter value.
func (*Parameter) ValueStrings ¶ added in v0.17.0
ValueStrings returns for parameters with kAudioUnitParameterUnit_Indexed, localized strings corresponding to the values.
ValueStrings returns the collection as a Go slice.
func (*Parameter) WithImplementorValueFromStringCallback ¶ added in v0.18.0
func (p *Parameter) WithImplementorValueFromStringCallback(implementorValueFromStringCallback func(obj.Object, obj.Object) int) *Parameter
WithImplementorValueFromStringCallback sets the callback for converting a string to a parameter value.
func (*Parameter) WithImplementorValueObserver ¶ added in v0.18.0
func (p *Parameter) WithImplementorValueObserver(implementorValueObserver func(obj.Object, float32)) *Parameter
WithImplementorValueObserver sets the callback for parameter value changes.
type ParameterAutomationEventType ¶ added in v0.17.0
type ParameterAutomationEventType uint32
const ( ParameterAutomationEventTypeValue ParameterAutomationEventType = 0 ParameterAutomationEventTypeTouch ParameterAutomationEventType = 1 ParameterAutomationEventTypeRelease ParameterAutomationEventType = 2 )
func (ParameterAutomationEventType) String ¶ added in v0.17.0
func (e ParameterAutomationEventType) String() string
String returns the ParameterAutomationEventType constant's name, or its numeric form when the value is not a known constant.
type ParameterEvent ¶
Describes an audio unit parameter automation event.
type ParameterEventType ¶ added in v0.17.0
type ParameterEventType uint32
Audio unit parameter event types.
const ( // An immediate change from the parameter’s previous value to a new value. KParameterEvent_Immediate ParameterEventType = 1 // A gradual change from the parameter’s previous value to a new value, applied linearly over a specified period of time KParameterEvent_Ramped ParameterEventType = 2 )
func (ParameterEventType) String ¶ added in v0.17.0
func (e ParameterEventType) String() string
String returns the ParameterEventType constant's name, or its numeric form when the value is not a known constant.
type ParameterGroup ¶ added in v0.17.0
type ParameterGroup struct {
ParameterNode
}
ParameterGroup is an idiomatic wrapper over the Objective-C class AUParameterGroup.
ParameterGroup is an abstract base — you do not construct it directly. Construct one of ParameterTree and pass it where a ParameterGroup is accepted.
A parameter group object represents a group of related audio unit parameters.
func CreateGroupFromTemplateIdentifierNameAddressOffset ¶ added in v0.17.0
func CreateGroupFromTemplateIdentifierNameAddressOffset(templateGroup *ParameterGroup, identifier string, name string, addressOffset uint64) *ParameterGroup
CreateGroupFromTemplateIdentifierNameAddressOffset initializes a group as a copied instance of a template group.
func CreateGroupTemplate ¶ added in v0.17.0
func CreateGroupTemplate(children []*ParameterNode) *ParameterGroup
CreateGroupTemplate creates a template group which may be used as a prototype for further group instances.
func CreateGroupWithIdentifierNameChildren ¶ added in v0.17.0
func CreateGroupWithIdentifierNameChildren(identifier string, name string, children []*ParameterNode) *ParameterGroup
CreateGroupWithIdentifierNameChildren creates a parameter group object.
func ParameterGroupFromID ¶ added in v0.17.0
func ParameterGroupFromID(id objc.ID) *ParameterGroup
ParameterGroupFromID adopts an existing Objective-C object as a ParameterGroup (nil for 0), retaining it and registering a release finalizer.
func (*ParameterGroup) AllParameters ¶ added in v0.17.0
func (pg *ParameterGroup) AllParameters() []*Parameter
AllParameters returns a flat array of all parameters in the group, including those in child groups.
AllParameters returns the collection as a Go slice.
func (*ParameterGroup) Children ¶ added in v0.17.0
func (pg *ParameterGroup) Children() []*ParameterNode
Children returns the group's child nodes (AUParameterGroupNode).
Children returns the collection as a Go slice.
func (*ParameterGroup) WithImplementorValueFromStringCallback ¶ added in v0.18.0
func (pg *ParameterGroup) WithImplementorValueFromStringCallback(implementorValueFromStringCallback func(obj.Object, obj.Object) int) *ParameterGroup
WithImplementorValueFromStringCallback sets the callback for converting a string to a parameter value.
func (*ParameterGroup) WithImplementorValueObserver ¶ added in v0.18.0
func (pg *ParameterGroup) WithImplementorValueObserver(implementorValueObserver func(obj.Object, float32)) *ParameterGroup
WithImplementorValueObserver sets the callback for parameter value changes.
func (*ParameterGroup) WithImplementorValueProvider ¶ added in v0.18.0
func (pg *ParameterGroup) WithImplementorValueProvider(implementorValueProvider func(obj.Object) int) *ParameterGroup
WithImplementorValueProvider sets the callback for refreshing known stale values in a parameter tree.
type ParameterGroupProvider ¶ added in v0.17.0
ParameterGroupProvider is accepted wherever a AUParameterGroup (or one of its subclasses) is expected.
type ParameterMIDIMappingFlags ¶ added in v0.17.0
type ParameterMIDIMappingFlags uint32
Bitmask — values may be combined with |.
const ( KAUParameterMIDIMapping_AnyChannelFlag ParameterMIDIMappingFlags = 1 KAUParameterMIDIMapping_AnyNoteFlag ParameterMIDIMappingFlags = 2 KAUParameterMIDIMapping_SubRange ParameterMIDIMappingFlags = 4 KAUParameterMIDIMapping_Toggle ParameterMIDIMappingFlags = 8 KAUParameterMIDIMapping_Bipolar ParameterMIDIMappingFlags = 16 KAUParameterMIDIMapping_Bipolar_On ParameterMIDIMappingFlags = 32 )
func (ParameterMIDIMappingFlags) String ¶ added in v0.17.0
func (e ParameterMIDIMappingFlags) String() string
String returns the ParameterMIDIMappingFlags constant's name, or its numeric form when the value is not a known constant.
type ParameterNode ¶ added in v0.17.0
ParameterNode is an idiomatic wrapper over the Objective-C class AUParameterNode.
ParameterNode is an abstract base — you do not construct it directly. Construct one of ParameterGroup, Parameter and pass it where a ParameterNode is accepted.
An object that represents a node in an audio unit’s parameter tree.
func ParameterNodeFromID ¶ added in v0.17.0
func ParameterNodeFromID(id objc.ID) *ParameterNode
ParameterNodeFromID adopts an existing Objective-C object as a ParameterNode (nil for 0), retaining it and registering a release finalizer.
func (*ParameterNode) Description ¶ added in v0.17.0
func (pn *ParameterNode) Description() string
Description returns the object's -description text.
func (*ParameterNode) DisplayName ¶ added in v0.17.0
func (pn *ParameterNode) DisplayName() string
DisplayName returns a localized name to display for the parameter.
func (*ParameterNode) DisplayNameWithLength ¶ added in v0.17.0
func (pn *ParameterNode) DisplayNameWithLength(maximumLength int) string
DisplayNameWithLength another version of the display name, possibly truncated to a desired length.
func (*ParameterNode) Identifier ¶ added in v0.17.0
func (pn *ParameterNode) Identifier() string
Identifier returns a non-localized, permanent name for a parameter or group. The identifier must be unique for all child nodes under any given parent. From release to release, an audio unit must not change its parameters' identifiers; this will invalidate any hosts' documents that refer to the parameters.
func (*ParameterNode) IsEqual ¶ added in v0.17.0
func (pn *ParameterNode) IsEqual(other obj.Object) bool
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*ParameterNode) IsKind ¶ added in v0.17.0
func (pn *ParameterNode) IsKind(className string) bool
IsKind reports whether the object is an instance of the named class or a subclass.
func (*ParameterNode) KeyPath ¶ added in v0.17.0
func (pn *ParameterNode) KeyPath() string
KeyPath returns generated by concatenating the identifiers of a node's parents with its own. Unless an audio unit specifically documents that its parameter addresses are stable and persistent, hosts, when recording parameter values, should bind to the keyPath. The individual node identifiers in a key path are separated by periods. (".") Passing a node's keyPath to -[tree valueForKeyPath:] should return the same node.
func (*ParameterNode) RemoveParameterObserver ¶ added in v0.17.0
func (pn *ParameterNode) RemoveParameterObserver(token unsafe.Pointer)
RemoveParameterObserver remove a specific parameter observer.
func (*ParameterNode) String ¶ added in v0.17.0
func (pn *ParameterNode) String() string
String returns the object's -description text, so a wrapper prints usefully under fmt.
func (*ParameterNode) TokenByAddingParameterObserver ¶ added in v0.18.0
func (pn *ParameterNode) TokenByAddingParameterObserver(observer func(uint64, float32)) unsafe.Pointer
TokenByAddingParameterObserver adds an observer for a single parameter or all parameters in a group.
func (*ParameterNode) WithImplementorValueFromStringCallback ¶ added in v0.18.0
func (pn *ParameterNode) WithImplementorValueFromStringCallback(implementorValueFromStringCallback func(obj.Object, obj.Object) int) *ParameterNode
WithImplementorValueFromStringCallback sets the callback for converting a string to a parameter value.
func (*ParameterNode) WithImplementorValueObserver ¶ added in v0.18.0
func (pn *ParameterNode) WithImplementorValueObserver(implementorValueObserver func(obj.Object, float32)) *ParameterNode
WithImplementorValueObserver sets the callback for parameter value changes.
func (*ParameterNode) WithImplementorValueProvider ¶ added in v0.18.0
func (pn *ParameterNode) WithImplementorValueProvider(implementorValueProvider func(obj.Object) int) *ParameterNode
WithImplementorValueProvider sets the callback for refreshing known stale values in a parameter tree.
type ParameterNodeProvider ¶ added in v0.17.0
ParameterNodeProvider is accepted wherever a AUParameterNode (or one of its subclasses) is expected.
type ParameterTree ¶ added in v0.17.0
type ParameterTree struct {
ParameterGroup
}
ParameterTree is an idiomatic wrapper over the Objective-C class AUParameterTree.
It embeds ParameterGroup, promoting that type's methods.
An object that represents a top-level group node that contains all of an audio unit’s parameters.
func CreateTreeWithChildren ¶ added in v0.17.0
func CreateTreeWithChildren(children []*ParameterNode) *ParameterTree
CreateTreeWithChildren creates a parameter tree object.
func NewParameterTree ¶ added in v0.17.0
func NewParameterTree() *ParameterTree
NewParameterTree creates a new ParameterTree.
func ParameterTreeFromID ¶ added in v0.17.0
func ParameterTreeFromID(id objc.ID) *ParameterTree
ParameterTreeFromID adopts an existing Objective-C object as a ParameterTree (nil for 0), retaining it and registering a release finalizer.
func (*ParameterTree) ParameterWithAddress ¶ added in v0.17.0
func (pt *ParameterTree) ParameterWithAddress(address uint64) *Parameter
ParameterWithAddress searches the tree for a parameter with a specific address.
func (*ParameterTree) ParameterWithIDScopeElement ¶ added in v0.17.0
func (pt *ParameterTree) ParameterWithIDScopeElement(paramID int, scope int, element int) *Parameter
ParameterWithIDScopeElement searches the tree for a specific version 2 audio unit parameter.
func (*ParameterTree) WithImplementorValueFromStringCallback ¶ added in v0.18.0
func (pt *ParameterTree) WithImplementorValueFromStringCallback(implementorValueFromStringCallback func(obj.Object, obj.Object) int) *ParameterTree
WithImplementorValueFromStringCallback sets the callback for converting a string to a parameter value.
func (*ParameterTree) WithImplementorValueObserver ¶ added in v0.18.0
func (pt *ParameterTree) WithImplementorValueObserver(implementorValueObserver func(obj.Object, float32)) *ParameterTree
WithImplementorValueObserver sets the callback for parameter value changes.
func (*ParameterTree) WithImplementorValueProvider ¶ added in v0.18.0
func (pt *ParameterTree) WithImplementorValueProvider(implementorValueProvider func(obj.Object) int) *ParameterTree
WithImplementorValueProvider sets the callback for refreshing known stale values in a parameter tree.
type Perm ¶ added in v0.17.0
type Perm int32
const ( PermReadData Perm = 2 PermListDirectory Perm = 2 PermWriteData Perm = 4 PermAddFile Perm = 4 PermExecute Perm = 8 PermSearch Perm = 8 PermDelete Perm = 16 PermAppendData Perm = 32 PermAddSubdirectory Perm = 32 PermDeleteChild Perm = 64 PermReadAttributes Perm = 128 PermWriteAttributes Perm = 256 PermReadExtattributes Perm = 512 PermWriteExtattributes Perm = 1024 PermReadSecurity Perm = 2048 PermWriteSecurity Perm = 4096 PermChangeOwner Perm = 8192 PermSynchronize Perm = 1048576 )
type PtrauthKey ¶ added in v0.17.0
type PtrauthKey int32
const ( Ptrauth_key_none PtrauthKey = -1 Ptrauth_key_asia PtrauthKey = 0 Ptrauth_key_asib PtrauthKey = 1 Ptrauth_key_asda PtrauthKey = 2 Ptrauth_key_asdb PtrauthKey = 3 Ptrauth_key_process_independent_code PtrauthKey = 0 Ptrauth_key_process_dependent_code PtrauthKey = 1 Ptrauth_key_process_independent_data PtrauthKey = 2 Ptrauth_key_process_dependent_data PtrauthKey = 3 Ptrauth_key_return_address PtrauthKey = 1 Ptrauth_key_frame_pointer PtrauthKey = 3 Ptrauth_key_function_pointer PtrauthKey = 0 Ptrauth_key_block_function PtrauthKey = 0 Ptrauth_key_cxx_vtable_pointer PtrauthKey = 2 Ptrauth_key_method_list_pointer PtrauthKey = 2 Ptrauth_key_objc_isa_pointer PtrauthKey = 2 Ptrauth_key_objc_super_pointer PtrauthKey = 2 Ptrauth_key_objc_sel_pointer PtrauthKey = 3 Ptrauth_key_objc_class_ro_pointer PtrauthKey = 2 Ptrauth_key_block_descriptor_pointer PtrauthKey = 2 Ptrauth_key_init_fini_pointer PtrauthKey = 0 )
func (PtrauthKey) String ¶ added in v0.17.0
func (e PtrauthKey) String() string
String returns the PtrauthKey constant's name, or its numeric form when the value is not a known constant.
type RenderEventType ¶ added in v0.17.0
type RenderEventType uint8
const ( // A parameter event. RenderEventParameter RenderEventType = 1 // A ramped parameter event. RenderEventParameterRamp RenderEventType = 2 // A MIDI event. RenderEventMIDI RenderEventType = 8 // A system-exclusive MIDI event. RenderEventMIDISysEx RenderEventType = 9 RenderEventMIDIEventList RenderEventType = 10 )
func (RenderEventType) String ¶ added in v0.17.0
func (e RenderEventType) String() string
String returns the RenderEventType constant's name, or its numeric form when the value is not a known constant.
type ReverbRoomType ¶ added in v0.17.0
type ReverbRoomType uint32
const ( KReverbRoomType_SmallRoom ReverbRoomType = 0 KReverbRoomType_MediumRoom ReverbRoomType = 1 KReverbRoomType_LargeRoom ReverbRoomType = 2 KReverbRoomType_MediumHall ReverbRoomType = 3 KReverbRoomType_LargeHall ReverbRoomType = 4 KReverbRoomType_Plate ReverbRoomType = 5 KReverbRoomType_MediumChamber ReverbRoomType = 6 KReverbRoomType_LargeChamber ReverbRoomType = 7 KReverbRoomType_Cathedral ReverbRoomType = 8 KReverbRoomType_LargeRoom2 ReverbRoomType = 9 KReverbRoomType_MediumHall2 ReverbRoomType = 10 KReverbRoomType_MediumHall3 ReverbRoomType = 11 KReverbRoomType_LargeHall2 ReverbRoomType = 12 )
func (ReverbRoomType) String ¶ added in v0.17.0
func (e ReverbRoomType) String() string
String returns the ReverbRoomType constant's name, or its numeric form when the value is not a known constant.
type ScheduledAudioSlice ¶
type ScheduledAudioSlice struct {
MTimeStamp coreaudiotypes.AudioTimeStamp
MCompletionProc unsafe.Pointer
MCompletionProcUserData unsafe.Pointer
MFlags ScheduledAudioSliceFlags
MReserved uint32
MReserved2 unsafe.Pointer
MNumberFrames uint32
MBufferList unsafe.Pointer
}
type ScheduledAudioSliceFlags ¶ added in v0.17.0
type ScheduledAudioSliceFlags uint32
Bitmask — values may be combined with |.
const ( KScheduledAudioSliceFlag_Complete ScheduledAudioSliceFlags = 1 KScheduledAudioSliceFlag_BeganToRender ScheduledAudioSliceFlags = 2 KScheduledAudioSliceFlag_BeganToRenderLate ScheduledAudioSliceFlags = 4 KScheduledAudioSliceFlag_Loop ScheduledAudioSliceFlags = 8 KScheduledAudioSliceFlag_Interrupt ScheduledAudioSliceFlags = 16 KScheduledAudioSliceFlag_InterruptAtLoop ScheduledAudioSliceFlags = 32 )
func (ScheduledAudioSliceFlags) String ¶ added in v0.17.0
func (e ScheduledAudioSliceFlags) String() string
String returns the ScheduledAudioSliceFlags constant's name, or its numeric form when the value is not a known constant.
type SpatialMixerAttenuationCurve ¶ added in v0.17.0
type SpatialMixerAttenuationCurve uint32
const ( KSpatialMixerAttenuationCurve_Power SpatialMixerAttenuationCurve = 0 KSpatialMixerAttenuationCurve_Exponential SpatialMixerAttenuationCurve = 1 KSpatialMixerAttenuationCurve_Inverse SpatialMixerAttenuationCurve = 2 KSpatialMixerAttenuationCurve_Linear SpatialMixerAttenuationCurve = 3 )
func (SpatialMixerAttenuationCurve) String ¶ added in v0.17.0
func (e SpatialMixerAttenuationCurve) String() string
String returns the SpatialMixerAttenuationCurve constant's name, or its numeric form when the value is not a known constant.
type SpatialMixerOutputType ¶ added in v0.17.0
type SpatialMixerOutputType uint32
const ( KSpatialMixerOutputType_Headphones SpatialMixerOutputType = 1 KSpatialMixerOutputType_BuiltInSpeakers SpatialMixerOutputType = 2 KSpatialMixerOutputType_ExternalSpeakers SpatialMixerOutputType = 3 )
func (SpatialMixerOutputType) String ¶ added in v0.17.0
func (e SpatialMixerOutputType) String() string
String returns the SpatialMixerOutputType constant's name, or its numeric form when the value is not a known constant.
type SpatialMixerPersonalizedHRTFMode ¶ added in v0.17.0
type SpatialMixerPersonalizedHRTFMode uint32
const ( KSpatialMixerPersonalizedHRTFMode_Off SpatialMixerPersonalizedHRTFMode = 0 KSpatialMixerPersonalizedHRTFMode_On SpatialMixerPersonalizedHRTFMode = 1 KSpatialMixerPersonalizedHRTFMode_Auto SpatialMixerPersonalizedHRTFMode = 2 )
func (SpatialMixerPersonalizedHRTFMode) String ¶ added in v0.17.0
func (e SpatialMixerPersonalizedHRTFMode) String() string
String returns the SpatialMixerPersonalizedHRTFMode constant's name, or its numeric form when the value is not a known constant.
type SpatialMixerPointSourceInHeadMode ¶ added in v0.17.0
type SpatialMixerPointSourceInHeadMode uint32
const ( KSpatialMixerPointSourceInHeadMode_Mono SpatialMixerPointSourceInHeadMode = 0 KSpatialMixerPointSourceInHeadMode_Bypass SpatialMixerPointSourceInHeadMode = 1 )
func (SpatialMixerPointSourceInHeadMode) String ¶ added in v0.17.0
func (e SpatialMixerPointSourceInHeadMode) String() string
String returns the SpatialMixerPointSourceInHeadMode constant's name, or its numeric form when the value is not a known constant.
type SpatialMixerRenderingFlags ¶ added in v0.17.0
type SpatialMixerRenderingFlags uint32
Bitmask — values may be combined with |.
const ( KSpatialMixerRenderingFlags_InterAuralDelay SpatialMixerRenderingFlags = 1 KSpatialMixerRenderingFlags_DistanceAttenuation SpatialMixerRenderingFlags = 4 )
func (SpatialMixerRenderingFlags) String ¶ added in v0.17.0
func (e SpatialMixerRenderingFlags) String() string
String returns the SpatialMixerRenderingFlags constant's name, or its numeric form when the value is not a known constant.
type SpatialMixerSourceMode ¶ added in v0.17.0
type SpatialMixerSourceMode uint32
const ( KSpatialMixerSourceMode_SpatializeIfMono SpatialMixerSourceMode = 0 KSpatialMixerSourceMode_Bypass SpatialMixerSourceMode = 1 KSpatialMixerSourceMode_PointSource SpatialMixerSourceMode = 2 KSpatialMixerSourceMode_AmbienceBed SpatialMixerSourceMode = 3 )
func (SpatialMixerSourceMode) String ¶ added in v0.17.0
func (e SpatialMixerSourceMode) String() string
String returns the SpatialMixerSourceMode constant's name, or its numeric form when the value is not a known constant.
type SpatializationAlgorithm ¶ added in v0.17.0
type SpatializationAlgorithm uint32
const ( KSpatializationAlgorithm_EqualPowerPanning SpatializationAlgorithm = 0 KSpatializationAlgorithm_SphericalHead SpatializationAlgorithm = 1 KSpatializationAlgorithm_HRTF SpatializationAlgorithm = 2 KSpatializationAlgorithm_SoundField SpatializationAlgorithm = 3 KSpatializationAlgorithm_VectorBasedPanning SpatializationAlgorithm = 4 KSpatializationAlgorithm_StereoPassThrough SpatializationAlgorithm = 5 KSpatializationAlgorithm_HRTFHQ SpatializationAlgorithm = 6 KSpatializationAlgorithm_UseOutputType SpatializationAlgorithm = 7 )
func (SpatializationAlgorithm) String ¶ added in v0.17.0
func (e SpatializationAlgorithm) String() string
String returns the SpatializationAlgorithm constant's name, or its numeric form when the value is not a known constant.
type VirtualMemoryGuardExceptionCode ¶ added in v0.17.0
type VirtualMemoryGuardExceptionCode uint32
const ( KGUARD_EXC_DEALLOC_GAP VirtualMemoryGuardExceptionCode = 1 KGUARD_EXC_RECLAIM_COPYIO_FAILURE VirtualMemoryGuardExceptionCode = 2 KGUARD_EXC_RECLAIM_INDEX_FAILURE VirtualMemoryGuardExceptionCode = 4 KGUARD_EXC_RECLAIM_DEALLOCATE_FAILURE VirtualMemoryGuardExceptionCode = 8 KGUARD_EXC_RECLAIM_ACCOUNTING_FAILURE VirtualMemoryGuardExceptionCode = 9 KGUARD_EXC_SEC_IOPL_ON_EXEC_PAGE VirtualMemoryGuardExceptionCode = 10 KGUARD_EXC_SEC_EXEC_ON_IOPL_PAGE VirtualMemoryGuardExceptionCode = 11 KGUARD_EXC_SEC_UPL_WRITE_ON_EXEC_REGION VirtualMemoryGuardExceptionCode = 12 KGUARD_EXC_LARGE_ALLOCATION_TELEMETRY VirtualMemoryGuardExceptionCode = 13 KGUARD_EXC_SEC_ACCESS_FAULT VirtualMemoryGuardExceptionCode = 98 KGUARD_EXC_SEC_ASYNC_ACCESS_FAULT VirtualMemoryGuardExceptionCode = 99 KGUARD_EXC_SEC_COPY_DENIED VirtualMemoryGuardExceptionCode = 100 KGUARD_EXC_SEC_SHARING_DENIED VirtualMemoryGuardExceptionCode = 101 KGUARD_EXC_MTE_SYNC_FAULT VirtualMemoryGuardExceptionCode = 200 KGUARD_EXC_MTE_ASYNC_USER_FAULT VirtualMemoryGuardExceptionCode = 201 KGUARD_EXC_MTE_ASYNC_KERN_FAULT VirtualMemoryGuardExceptionCode = 202 KGUARD_EXC_GUARD_OBJECT_ASYNC_USER_FAULT VirtualMemoryGuardExceptionCode = 203 KGUARD_EXC_GUARD_OBJECT_ASYNC_KERN_FAULT VirtualMemoryGuardExceptionCode = 204 )
func (VirtualMemoryGuardExceptionCode) String ¶ added in v0.17.0
func (e VirtualMemoryGuardExceptionCode) String() string
String returns the VirtualMemoryGuardExceptionCode constant's name, or its numeric form when the value is not a known constant.
type VoiceIOOtherAudioDuckingLevel ¶ added in v0.17.0
type VoiceIOOtherAudioDuckingLevel uint32
The ducking level to apply to other non-voice audio.
const ( // The default ducking level of other non-voice audio in a typical voice chat. KAUVoiceIOOtherAudioDuckingLevelDefault VoiceIOOtherAudioDuckingLevel = 0 // The minimum ducking level of other non-voice audio. KAUVoiceIOOtherAudioDuckingLevelMin VoiceIOOtherAudioDuckingLevel = 10 // A medium ducking level of other non-voice audio. KAUVoiceIOOtherAudioDuckingLevelMid VoiceIOOtherAudioDuckingLevel = 20 // The maximum ducking level of other non-voice audio. KAUVoiceIOOtherAudioDuckingLevelMax VoiceIOOtherAudioDuckingLevel = 30 )
func (VoiceIOOtherAudioDuckingLevel) String ¶ added in v0.17.0
func (e VoiceIOOtherAudioDuckingLevel) String() string
String returns the VoiceIOOtherAudioDuckingLevel constant's name, or its numeric form when the value is not a known constant.
type VoiceIOSpeechActivityEvent ¶ added in v0.17.0
type VoiceIOSpeechActivityEvent uint32
Constants that indicate the state of muted speech.
const ( // A state that indicates speech started. KAUVoiceIOSpeechActivityHasStarted VoiceIOSpeechActivityEvent = 0 // A state that indicates speech ended. KAUVoiceIOSpeechActivityHasEnded VoiceIOSpeechActivityEvent = 1 )
func (VoiceIOSpeechActivityEvent) String ¶ added in v0.17.0
func (e VoiceIOSpeechActivityEvent) String() string
String returns the VoiceIOSpeechActivityEvent constant's name, or its numeric form when the value is not a known constant.
type XpcListenerCreateFlags ¶ added in v0.17.0
type XpcListenerCreateFlags uint64
Bitmask — values may be combined with |.
const ( XpcListenerCreateFlagsNone XpcListenerCreateFlags = 0 XpcListenerCreateFlagsInactive XpcListenerCreateFlags = 1 XpcListenerCreateFlagsForceMach XpcListenerCreateFlags = 2 XpcListenerCreateFlagsForceXpcservice XpcListenerCreateFlags = 4 )
func (XpcListenerCreateFlags) String ¶ added in v0.17.0
func (e XpcListenerCreateFlags) String() string
String returns the XpcListenerCreateFlags constant's name, or its numeric form when the value is not a known constant.
type XpcSessionCreateFlags ¶ added in v0.17.0
type XpcSessionCreateFlags uint64
Bitmask — values may be combined with |.
const ( XpcSessionCreateFlagsNone XpcSessionCreateFlags = 0 XpcSessionCreateFlagsInactive XpcSessionCreateFlags = 1 XpcSessionCreateFlagsMachPrivileged XpcSessionCreateFlags = 2 )
func (XpcSessionCreateFlags) String ¶ added in v0.17.0
func (e XpcSessionCreateFlags) String() string
String returns the XpcSessionCreateFlags constant's name, or its numeric form when the value is not a known constant.
Source Files
¶
- AUAudioUnitBusArray_generated.go
- AUAudioUnitBus_generated.go
- AUAudioUnitPreset_generated.go
- AUAudioUnitV2Bridge_generated.go
- AUAudioUnit_generated.go
- AUParameterGroup_generated.go
- AUParameterNode_generated.go
- AUParameterTree_generated.go
- AUParameter_generated.go
- audiotoolbox_cffunctions_generated.go
- audiotoolbox_cfunctions_generated.go
- audiotoolbox_classmethods_generated.go
- audiotoolbox_constants_generated.go
- audiotoolbox_enums_generated.go
- audiotoolbox_protocols_generated.go
- audiotoolbox_providers_generated.go
- audiotoolbox_runtime_generated.go
- audiotoolbox_structs_generated.go
- doc.go