Documentation
¶
Overview ¶
Package audiotoolbox provides purego-based Go bindings for the macOS AudioToolbox framework.
Apple documentation: https://developer.apple.com/documentation/audiotoolbox
Index ¶
- Constants
- func AUAudioUnitInstantiateWithComponentDescriptionOptionsCompletionHandler(componentDescription AudioComponentDescription, ...)
- func AUAudioUnitRegisterSubclassAsComponentDescriptionNameVersion(cls objc.Class, componentDescription AudioComponentDescription, ...)
- func AUEventListenerAddEventType(inListener unsafe.Pointer, inObject unsafe.Pointer, inEvent *AudioUnitEvent) int
- func AUEventListenerCreate(inProc unsafe.Pointer, inUserData unsafe.Pointer, inRunLoop unsafe.Pointer, ...) int
- 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 *AudioUnitEvent) int
- func AUGraphAddNode(inGraph unsafe.Pointer, inDescription *AudioComponentDescription, outNode *int) int
- func AUGraphAddRenderNotify(inGraph unsafe.Pointer, inCallback unsafe.Pointer, inRefCon unsafe.Pointer) int
- func AUGraphClearConnections(inGraph unsafe.Pointer) int
- func AUGraphClose(inGraph unsafe.Pointer) int
- func AUGraphConnectNodeInput(inGraph unsafe.Pointer, inSourceNode int, inSourceOutputNumber uint, ...) int
- func AUGraphCountNodeConnections(inGraph unsafe.Pointer, inNode int, outNumConnections *uint) intdeprecated
- func AUGraphCountNodeInteractions(inGraph unsafe.Pointer, inNode int, outNumInteractions *uint) int
- func AUGraphDisconnectNodeInput(inGraph unsafe.Pointer, inDestNode int, inDestInputNumber uint) int
- func AUGraphGetCPULoad(inGraph unsafe.Pointer, outAverageCPULoad *float32) int
- func AUGraphGetConnectionInfo(inGraph unsafe.Pointer, inConnectionIndex uint, outSourceNode *int, ...) intdeprecated
- func AUGraphGetIndNode(inGraph unsafe.Pointer, inIndex uint, outNode *int) int
- func AUGraphGetInteractionInfo(inGraph unsafe.Pointer, inInteractionIndex uint, ...) int
- func AUGraphGetMaxCPULoad(inGraph unsafe.Pointer, outMaxLoad *float32) int
- func AUGraphGetNodeConnections(inGraph unsafe.Pointer, inNode int, outConnections *AudioUnitNodeConnection, ...) intdeprecated
- func AUGraphGetNodeCount(inGraph unsafe.Pointer, outNumberOfNodes *uint) int
- func AUGraphGetNodeInfo(inGraph unsafe.Pointer, inNode int, ...) intdeprecated
- func AUGraphGetNodeInfoSubGraph(inGraph unsafe.Pointer, inNode int, outSubGraph unsafe.Pointer) intdeprecated
- func AUGraphGetNodeInteractions(inGraph unsafe.Pointer, inNode int, ioNumInteractions *uint, ...) int
- func AUGraphGetNumberOfConnections(inGraph unsafe.Pointer, outNumConnections *uint) intdeprecated
- func AUGraphGetNumberOfInteractions(inGraph unsafe.Pointer, outNumInteractions *uint) int
- func AUGraphInitialize(inGraph unsafe.Pointer) int
- func AUGraphIsInitialized(inGraph unsafe.Pointer, outIsInitialized *uint8) int
- func AUGraphIsNodeSubGraph(inGraph unsafe.Pointer, inNode int, outFlag *uint8) intdeprecated
- func AUGraphIsOpen(inGraph unsafe.Pointer, outIsOpen *uint8) int
- func AUGraphIsRunning(inGraph unsafe.Pointer, outIsRunning *uint8) int
- func AUGraphNewNode(inGraph unsafe.Pointer, inDescription *carboncore.ComponentDescription, ...) intdeprecated
- func AUGraphNewNodeSubGraph(inGraph unsafe.Pointer, outNode *int) intdeprecated
- func AUGraphNodeInfo(inGraph unsafe.Pointer, inNode int, outDescription *AudioComponentDescription, ...) int
- func AUGraphOpen(inGraph unsafe.Pointer) int
- func AUGraphRemoveNode(inGraph unsafe.Pointer, inNode int) int
- func AUGraphRemoveRenderNotify(inGraph unsafe.Pointer, inCallback unsafe.Pointer, inRefCon unsafe.Pointer) int
- func AUGraphSetNodeInputCallback(inGraph unsafe.Pointer, inDestNode int, inDestInputNumber uint, ...) int
- func AUGraphStart(inGraph unsafe.Pointer) int
- func AUGraphStop(inGraph unsafe.Pointer) int
- func AUGraphUninitialize(inGraph unsafe.Pointer) int
- func AUGraphUpdate(inGraph unsafe.Pointer, outIsUpdated *uint8) int
- func AUListenerAddParameter(inListener unsafe.Pointer, inObject unsafe.Pointer, ...) int
- func AUListenerCreate(inProc unsafe.Pointer, inUserData unsafe.Pointer, inRunLoop unsafe.Pointer, ...) int
- func AUListenerCreateWithDispatchQueue(outListener unsafe.Pointer, inNotificationInterval float32, ...) int
- func AUListenerDispose(inListener unsafe.Pointer) int
- func AUListenerRemoveParameter(inListener unsafe.Pointer, inObject unsafe.Pointer, ...) int
- func AUParameterFormatValue(inParameterValue float64, inParameter *AudioUnitParameter, inTextBuffer string, ...) string
- func AUParameterListenerNotify(inSendingListener unsafe.Pointer, inSendingObject unsafe.Pointer, ...) int
- func AUParameterSet(inSendingListener unsafe.Pointer, inSendingObject unsafe.Pointer, ...) int
- func AUParameterValueFromLinear(inLinearValue float32, inParameter *AudioUnitParameter) float32
- func AUParameterValueToLinear(inParameterValue float32, inParameter *AudioUnitParameter) float32
- func AudioCodecAppendInputBufferList(inCodec *carboncore.ComponentInstanceRecord, ...) int
- func AudioCodecAppendInputData(inCodec *carboncore.ComponentInstanceRecord, inInputData unsafe.Pointer, ...) int
- func AudioCodecGetProperty(inCodec *carboncore.ComponentInstanceRecord, inPropertyID uint, ...) int
- func AudioCodecGetPropertyInfo(inCodec *carboncore.ComponentInstanceRecord, inPropertyID uint, outSize *uint, ...) int
- func AudioCodecInitialize(inCodec *carboncore.ComponentInstanceRecord, ...) int
- func AudioCodecProduceOutputBufferList(inCodec *carboncore.ComponentInstanceRecord, ...) int
- func AudioCodecProduceOutputPackets(inCodec *carboncore.ComponentInstanceRecord, outOutputData unsafe.Pointer, ...) int
- func AudioCodecReset(inCodec *carboncore.ComponentInstanceRecord) int
- func AudioCodecSetProperty(inCodec *carboncore.ComponentInstanceRecord, inPropertyID uint, ...) int
- func AudioCodecUninitialize(inCodec *carboncore.ComponentInstanceRecord) int
- func AudioComponentCopyConfigurationInfo(inComponent unsafe.Pointer, outConfigurationInfo unsafe.Pointer) int
- func AudioComponentCopyIcon(comp unsafe.Pointer) unsafe.Pointer
- func AudioComponentCopyName(inComponent unsafe.Pointer, outName unsafe.Pointer) int
- func AudioComponentCount(inDesc *AudioComponentDescription) uint
- func AudioComponentFindNext(inComponent unsafe.Pointer, inDesc *AudioComponentDescription) unsafe.Pointer
- func AudioComponentGetDescription(inComponent unsafe.Pointer, outDesc *AudioComponentDescription) int
- func AudioComponentGetIcon(comp unsafe.Pointer) *appkit.NSImagedeprecated
- func AudioComponentGetVersion(inComponent unsafe.Pointer, outVersion *uint) int
- func AudioComponentInstanceCanDo(inInstance *carboncore.ComponentInstanceRecord, inSelectorID int16) uint8
- func AudioComponentInstanceDispose(inInstance *carboncore.ComponentInstanceRecord) int
- func AudioComponentInstanceGetComponent(inInstance *carboncore.ComponentInstanceRecord) unsafe.Pointer
- func AudioComponentInstanceNew(inComponent unsafe.Pointer, outInstance **carboncore.ComponentInstanceRecord) int
- func AudioComponentInstantiate(inComponent unsafe.Pointer, inOptions AudioComponentInstantiationOptions, ...)
- func AudioComponentRegister(inDesc *AudioComponentDescription, inName unsafe.Pointer, inVersion uint, ...) unsafe.Pointer
- func AudioComponentValidate(inComponent unsafe.Pointer, inValidationParameters unsafe.Pointer, ...) int
- func AudioComponentValidateWithResults(inComponent unsafe.Pointer, inValidationParameters unsafe.Pointer, ...) int
- func AudioConverterConvertBuffer(inAudioConverter unsafe.Pointer, inInputDataSize uint, ...) int
- func AudioConverterConvertComplexBuffer(inAudioConverter unsafe.Pointer, inNumberPCMFrames uint, ...) int
- func AudioConverterDispose(inAudioConverter unsafe.Pointer) int
- func AudioConverterFillBuffer(inAudioConverter unsafe.Pointer, inInputDataProc unsafe.Pointer, ...) intdeprecated
- func AudioConverterFillComplexBuffer(inAudioConverter unsafe.Pointer, inInputDataProc unsafe.Pointer, ...) int
- func AudioConverterFillComplexBufferRealtimeSafe(inAudioConverter unsafe.Pointer, inInputDataProc unsafe.Pointer, ...) int
- func AudioConverterFillComplexBufferWithPacketDependencies(inAudioConverter unsafe.Pointer, inInputDataProc unsafe.Pointer, ...) int
- func AudioConverterGetProperty(inAudioConverter unsafe.Pointer, inPropertyID uint, ioPropertyDataSize *uint, ...) int
- func AudioConverterGetPropertyInfo(inAudioConverter unsafe.Pointer, inPropertyID uint, outSize *uint, ...) int
- func AudioConverterNew(inSourceFormat *coreaudiotypes.AudioStreamBasicDescription, ...) int
- func AudioConverterNewSpecific(inSourceFormat *coreaudiotypes.AudioStreamBasicDescription, ...) int
- func AudioConverterNewWithOptions(inSourceFormat *coreaudiotypes.AudioStreamBasicDescription, ...) int
- func AudioConverterPrepare(inFlags uint, ioReserved unsafe.Pointer, inCompletionBlock func(int))
- func AudioConverterReset(inAudioConverter unsafe.Pointer) int
- func AudioConverterSetProperty(inAudioConverter unsafe.Pointer, inPropertyID uint, inPropertyDataSize uint, ...) int
- func AudioFileClose(inAudioFile unsafe.Pointer) int
- func AudioFileComponentCloseFile(inComponent *carboncore.ComponentInstanceRecord) int
- func AudioFileComponentCountUserData(inComponent *carboncore.ComponentInstanceRecord, inUserDataID uint, ...) int
- func AudioFileComponentCreate(inComponent *carboncore.ComponentInstanceRecord, inParentRef *carboncore.FSRef, ...) intdeprecated
- func AudioFileComponentCreateURL(inComponent *carboncore.ComponentInstanceRecord, inFileRef unsafe.Pointer, ...) int
- func AudioFileComponentDataIsThisFormat(inComponent *carboncore.ComponentInstanceRecord, inClientData unsafe.Pointer, ...) intdeprecated
- func AudioFileComponentExtensionIsThisFormat(inComponent *carboncore.ComponentInstanceRecord, inExtension unsafe.Pointer, ...) int
- func AudioFileComponentFileDataIsThisFormat(inComponent *carboncore.ComponentInstanceRecord, inDataByteSize uint, ...) int
- func AudioFileComponentFileIsThisFormat(inComponent *carboncore.ComponentInstanceRecord, inFileRefNum int16, ...) intdeprecated
- func AudioFileComponentGetGlobalInfo(inComponent *carboncore.ComponentInstanceRecord, inPropertyID uint, ...) int
- func AudioFileComponentGetGlobalInfoSize(inComponent *carboncore.ComponentInstanceRecord, inPropertyID uint, ...) int
- func AudioFileComponentGetProperty(inComponent *carboncore.ComponentInstanceRecord, inPropertyID uint, ...) int
- func AudioFileComponentGetPropertyInfo(inComponent *carboncore.ComponentInstanceRecord, inPropertyID uint, ...) int
- func AudioFileComponentGetUserData(inComponent *carboncore.ComponentInstanceRecord, inUserDataID uint, ...) int
- func AudioFileComponentGetUserDataAtOffset(inComponent *carboncore.ComponentInstanceRecord, inUserDataID uint, ...) int
- func AudioFileComponentGetUserDataSize(inComponent *carboncore.ComponentInstanceRecord, inUserDataID uint, ...) int
- func AudioFileComponentGetUserDataSize64(inComponent *carboncore.ComponentInstanceRecord, inUserDataID uint, ...) int
- func AudioFileComponentInitialize(inComponent *carboncore.ComponentInstanceRecord, inFileRef *carboncore.FSRef, ...) intdeprecated
- func AudioFileComponentInitializeWithCallbacks(inComponent *carboncore.ComponentInstanceRecord, inClientData unsafe.Pointer, ...) int
- func AudioFileComponentOpenFile(inComponent *carboncore.ComponentInstanceRecord, inFileRef *carboncore.FSRef, ...) intdeprecated
- func AudioFileComponentOpenURL(inComponent *carboncore.ComponentInstanceRecord, inFileRef unsafe.Pointer, ...) int
- func AudioFileComponentOpenWithCallbacks(inComponent *carboncore.ComponentInstanceRecord, inClientData unsafe.Pointer, ...) int
- func AudioFileComponentOptimize(inComponent *carboncore.ComponentInstanceRecord) int
- func AudioFileComponentReadBytes(inComponent *carboncore.ComponentInstanceRecord, inUseCache uint8, ...) int
- func AudioFileComponentReadPacketData(inComponent *carboncore.ComponentInstanceRecord, inUseCache uint8, ...) int
- func AudioFileComponentReadPackets(inComponent *carboncore.ComponentInstanceRecord, inUseCache uint8, ...) int
- func AudioFileComponentRemoveUserData(inComponent *carboncore.ComponentInstanceRecord, inUserDataID uint, ...) int
- func AudioFileComponentSetProperty(inComponent *carboncore.ComponentInstanceRecord, inPropertyID uint, ...) int
- func AudioFileComponentSetUserData(inComponent *carboncore.ComponentInstanceRecord, inUserDataID uint, ...) int
- func AudioFileComponentWriteBytes(inComponent *carboncore.ComponentInstanceRecord, inUseCache uint8, ...) int
- func AudioFileComponentWritePackets(inComponent *carboncore.ComponentInstanceRecord, inUseCache uint8, ...) int
- func AudioFileCountUserData(inAudioFile unsafe.Pointer, inUserDataID uint, outNumberItems *uint) int
- func AudioFileCreate(inParentRef *carboncore.FSRef, inFileName unsafe.Pointer, inFileType uint, ...) intdeprecated
- func AudioFileCreateWithURL(inFileRef unsafe.Pointer, inFileType uint, ...) int
- func AudioFileGetGlobalInfo(inPropertyID uint, inSpecifierSize uint, inSpecifier unsafe.Pointer, ...) int
- func AudioFileGetGlobalInfoSize(inPropertyID uint, inSpecifierSize uint, inSpecifier unsafe.Pointer, ...) int
- func AudioFileGetProperty(inAudioFile unsafe.Pointer, inPropertyID uint, ioDataSize *uint, ...) int
- func AudioFileGetPropertyInfo(inAudioFile unsafe.Pointer, inPropertyID uint, outDataSize *uint, ...) int
- func AudioFileGetUserData(inAudioFile unsafe.Pointer, inUserDataID uint, inIndex uint, ...) int
- func AudioFileGetUserDataAtOffset(inAudioFile unsafe.Pointer, inUserDataID uint, inIndex uint, inOffset int64, ...) int
- func AudioFileGetUserDataSize(inAudioFile unsafe.Pointer, inUserDataID uint, inIndex uint, ...) int
- func AudioFileGetUserDataSize64(inAudioFile unsafe.Pointer, inUserDataID uint, inIndex uint, ...) int
- func AudioFileInitialize(inFileRef *carboncore.FSRef, inFileType uint, ...) intdeprecated
- func AudioFileInitializeWithCallbacks(inClientData unsafe.Pointer, inReadFunc unsafe.Pointer, ...) int
- func AudioFileOpen(inFileRef *carboncore.FSRef, inPermissions AudioFilePermissions, ...) intdeprecated
- func AudioFileOpenURL(inFileRef unsafe.Pointer, inPermissions AudioFilePermissions, ...) int
- func AudioFileOpenWithCallbacks(inClientData unsafe.Pointer, inReadFunc unsafe.Pointer, ...) int
- func AudioFileOptimize(inAudioFile unsafe.Pointer) int
- func AudioFileReadBytes(inAudioFile unsafe.Pointer, inUseCache uint8, inStartingByte int64, ...) int
- func AudioFileReadPacketData(inAudioFile unsafe.Pointer, inUseCache uint8, ioNumBytes *uint, ...) int
- func AudioFileReadPackets(inAudioFile unsafe.Pointer, inUseCache uint8, outNumBytes *uint, ...) intdeprecated
- func AudioFileRemoveUserData(inAudioFile unsafe.Pointer, inUserDataID uint, inIndex uint) int
- func AudioFileSetProperty(inAudioFile unsafe.Pointer, inPropertyID uint, inDataSize uint, ...) int
- func AudioFileSetUserData(inAudioFile unsafe.Pointer, inUserDataID uint, inIndex uint, ...) int
- func AudioFileStreamClose(inAudioFileStream unsafe.Pointer) int
- func AudioFileStreamGetProperty(inAudioFileStream unsafe.Pointer, inPropertyID uint, ioPropertyDataSize *uint, ...) int
- func AudioFileStreamGetPropertyInfo(inAudioFileStream unsafe.Pointer, inPropertyID uint, outPropertyDataSize *uint, ...) int
- func AudioFileStreamOpen(inClientData unsafe.Pointer, inPropertyListenerProc unsafe.Pointer, ...) int
- func AudioFileStreamParseBytes(inAudioFileStream unsafe.Pointer, inDataByteSize uint, inData unsafe.Pointer, ...) int
- func AudioFileStreamSeek(inAudioFileStream unsafe.Pointer, inPacketOffset int64, ...) int
- func AudioFileStreamSetProperty(inAudioFileStream unsafe.Pointer, inPropertyID uint, inPropertyDataSize uint, ...) int
- func AudioFileWriteBytes(inAudioFile unsafe.Pointer, inUseCache uint8, inStartingByte int64, ...) int
- func AudioFileWritePackets(inAudioFile unsafe.Pointer, inUseCache uint8, inNumBytes uint, ...) int
- func AudioFileWritePacketsWithDependencies(inAudioFile unsafe.Pointer, inUseCache uint8, inNumBytes uint, ...) int
- func AudioFormatGetProperty(inPropertyID uint, inSpecifierSize uint, inSpecifier unsafe.Pointer, ...) int
- func AudioFormatGetPropertyInfo(inPropertyID uint, inSpecifierSize uint, inSpecifier unsafe.Pointer, ...) int
- func AudioHardwareServiceAddPropertyListener(inObjectID uint, inAddress *coreaudio.AudioObjectPropertyAddress, ...) intdeprecated
- func AudioHardwareServiceGetPropertyData(inObjectID uint, inAddress *coreaudio.AudioObjectPropertyAddress, ...) intdeprecated
- func AudioHardwareServiceGetPropertyDataSize(inObjectID uint, inAddress *coreaudio.AudioObjectPropertyAddress, ...) intdeprecated
- func AudioHardwareServiceHasProperty(inObjectID uint, inAddress *coreaudio.AudioObjectPropertyAddress) uint8deprecated
- func AudioHardwareServiceIsPropertySettable(inObjectID uint, inAddress *coreaudio.AudioObjectPropertyAddress, ...) intdeprecated
- func AudioHardwareServiceRemovePropertyListener(inObjectID uint, inAddress *coreaudio.AudioObjectPropertyAddress, ...) intdeprecated
- func AudioHardwareServiceSetPropertyData(inObjectID uint, inAddress *coreaudio.AudioObjectPropertyAddress, ...) intdeprecated
- func AudioOutputUnitStart(ci *carboncore.ComponentInstanceRecord) int
- func AudioOutputUnitStop(ci *carboncore.ComponentInstanceRecord) int
- func AudioQueueAddPropertyListener(inAQ unsafe.Pointer, inID uint, inProc unsafe.Pointer, ...) int
- func AudioQueueAllocateBuffer(inAQ unsafe.Pointer, inBufferByteSize uint, outBuffer **AudioQueueBuffer) int
- func AudioQueueAllocateBufferWithPacketDescriptions(inAQ unsafe.Pointer, inBufferByteSize uint, inNumberPacketDescriptions uint, ...) int
- func AudioQueueCreateTimeline(inAQ unsafe.Pointer, outTimeline unsafe.Pointer) int
- func AudioQueueDeviceGetCurrentTime(inAQ unsafe.Pointer, outTimeStamp *coreaudiotypes.AudioTimeStamp) int
- func AudioQueueDeviceGetNearestStartTime(inAQ unsafe.Pointer, ioRequestedStartTime *coreaudiotypes.AudioTimeStamp, ...) int
- func AudioQueueDeviceTranslateTime(inAQ unsafe.Pointer, inTime *coreaudiotypes.AudioTimeStamp, ...) int
- func AudioQueueDispose(inAQ unsafe.Pointer, inImmediate uint8) int
- func AudioQueueDisposeTimeline(inAQ unsafe.Pointer, inTimeline unsafe.Pointer) int
- func AudioQueueEnqueueBuffer(inAQ unsafe.Pointer, inBuffer *AudioQueueBuffer, inNumPacketDescs uint, ...) int
- func AudioQueueEnqueueBufferWithParameters(inAQ unsafe.Pointer, inBuffer *AudioQueueBuffer, inNumPacketDescs uint, ...) int
- func AudioQueueFlush(inAQ unsafe.Pointer) int
- func AudioQueueFreeBuffer(inAQ unsafe.Pointer, inBuffer *AudioQueueBuffer) int
- func AudioQueueGetCurrentTime(inAQ unsafe.Pointer, inTimeline unsafe.Pointer, ...) int
- func AudioQueueGetParameter(inAQ unsafe.Pointer, inParamID uint, outValue *float32) int
- func AudioQueueGetProperty(inAQ unsafe.Pointer, inID uint, outData unsafe.Pointer, ioDataSize *uint) int
- func AudioQueueGetPropertySize(inAQ unsafe.Pointer, inID uint, outDataSize *uint) int
- func AudioQueueNewInput(inFormat *coreaudiotypes.AudioStreamBasicDescription, ...) int
- func AudioQueueNewInputWithDispatchQueue(outAQ unsafe.Pointer, inFormat *coreaudiotypes.AudioStreamBasicDescription, ...) int
- func AudioQueueNewOutput(inFormat *coreaudiotypes.AudioStreamBasicDescription, ...) int
- func AudioQueueNewOutputWithDispatchQueue(outAQ unsafe.Pointer, inFormat *coreaudiotypes.AudioStreamBasicDescription, ...) int
- func AudioQueueOfflineRender(inAQ unsafe.Pointer, inTimestamp *coreaudiotypes.AudioTimeStamp, ...) int
- func AudioQueuePause(inAQ unsafe.Pointer) int
- func AudioQueuePrime(inAQ unsafe.Pointer, inNumberOfFramesToPrepare uint, ...) int
- func AudioQueueProcessingTapDispose(inAQTap unsafe.Pointer) int
- func AudioQueueProcessingTapGetQueueTime(inAQTap unsafe.Pointer, outQueueSampleTime *float64, outQueueFrameCount *uint) int
- func AudioQueueProcessingTapGetSourceAudio(inAQTap unsafe.Pointer, inNumberFrames uint, ...) int
- func AudioQueueProcessingTapNew(inAQ unsafe.Pointer, inCallback unsafe.Pointer, inClientData unsafe.Pointer, ...) int
- func AudioQueueRemovePropertyListener(inAQ unsafe.Pointer, inID uint, inProc unsafe.Pointer, ...) int
- func AudioQueueReset(inAQ unsafe.Pointer) int
- func AudioQueueSetOfflineRenderFormat(inAQ unsafe.Pointer, inFormat *coreaudiotypes.AudioStreamBasicDescription, ...) int
- func AudioQueueSetParameter(inAQ unsafe.Pointer, inParamID uint, inValue float32) int
- func AudioQueueSetProperty(inAQ unsafe.Pointer, inID uint, inData unsafe.Pointer, inDataSize uint) int
- func AudioQueueStart(inAQ unsafe.Pointer, inStartTime *coreaudiotypes.AudioTimeStamp) int
- func AudioQueueStop(inAQ unsafe.Pointer, inImmediate uint8) int
- func AudioServicesAddSystemSoundCompletion(inSystemSoundID uint, inRunLoop unsafe.Pointer, inRunLoopMode unsafe.Pointer, ...) int
- func AudioServicesCreateSystemSoundID(inFileURL unsafe.Pointer, outSystemSoundID *uint) int
- func AudioServicesDisposeSystemSoundID(inSystemSoundID uint) int
- func AudioServicesGetProperty(inPropertyID uint, inSpecifierSize uint, inSpecifier unsafe.Pointer, ...) int
- func AudioServicesGetPropertyInfo(inPropertyID uint, inSpecifierSize uint, inSpecifier unsafe.Pointer, ...) int
- func AudioServicesPlayAlertSound(inSystemSoundID uint)
- func AudioServicesPlayAlertSoundWithCompletion(inSystemSoundID uint, inCompletionBlock func())
- func AudioServicesPlaySystemSound(inSystemSoundID uint)
- func AudioServicesPlaySystemSoundWithCompletion(inSystemSoundID uint, inCompletionBlock func())
- func AudioServicesRemoveSystemSoundCompletion(inSystemSoundID uint)
- func AudioServicesSetProperty(inPropertyID uint, inSpecifierSize uint, inSpecifier unsafe.Pointer, ...) int
- func AudioUnitAddPropertyListener(inUnit *carboncore.ComponentInstanceRecord, inID uint, inProc unsafe.Pointer, ...) int
- func AudioUnitAddRenderNotify(inUnit *carboncore.ComponentInstanceRecord, inProc unsafe.Pointer, ...) int
- func AudioUnitExtensionCopyComponentList(extensionIdentifier unsafe.Pointer) unsafe.Pointer
- func AudioUnitExtensionSetComponentList(extensionIdentifier unsafe.Pointer, audioComponentInfo unsafe.Pointer) int
- func AudioUnitGetParameter(inUnit *carboncore.ComponentInstanceRecord, inID uint, inScope uint, ...) int
- func AudioUnitGetProperty(inUnit *carboncore.ComponentInstanceRecord, inID uint, inScope uint, ...) int
- func AudioUnitGetPropertyInfo(inUnit *carboncore.ComponentInstanceRecord, inID uint, inScope uint, ...) int
- func AudioUnitInitialize(inUnit *carboncore.ComponentInstanceRecord) int
- func AudioUnitProcess(inUnit *carboncore.ComponentInstanceRecord, ...) int
- func AudioUnitProcessMultiple(inUnit *carboncore.ComponentInstanceRecord, ...) int
- func AudioUnitRemovePropertyListenerWithUserData(inUnit *carboncore.ComponentInstanceRecord, inID uint, inProc unsafe.Pointer, ...) int
- func AudioUnitRemoveRenderNotify(inUnit *carboncore.ComponentInstanceRecord, inProc unsafe.Pointer, ...) int
- func AudioUnitRender(inUnit *carboncore.ComponentInstanceRecord, ...) int
- func AudioUnitReset(inUnit *carboncore.ComponentInstanceRecord, inScope uint, inElement uint) int
- func AudioUnitScheduleParameters(inUnit *carboncore.ComponentInstanceRecord, ...) int
- func AudioUnitSetParameter(inUnit *carboncore.ComponentInstanceRecord, inID uint, inScope uint, ...) int
- func AudioUnitSetProperty(inUnit *carboncore.ComponentInstanceRecord, inID uint, inScope uint, ...) int
- func AudioUnitUninitialize(inUnit *carboncore.ComponentInstanceRecord) int
- func AudioWorkIntervalCreate(name string, clock accelerate.Os_clockid_t, attr unsafe.Pointer) unsafe.Pointer
- func CAClockAddListener(inCAClock unsafe.Pointer, inListenerProc unsafe.Pointer, ...) int
- func CAClockArm(inCAClock unsafe.Pointer) int
- func CAClockBarBeatTimeToBeats(inCAClock unsafe.Pointer, inBarBeatTime *CABarBeatTime, outBeats *float64) int
- func CAClockBeatsToBarBeatTime(inCAClock unsafe.Pointer, inBeats float64, inSubbeatDivisor uint16, ...) int
- func CAClockDisarm(inCAClock unsafe.Pointer) int
- func CAClockDispose(inCAClock unsafe.Pointer) int
- func CAClockGetCurrentTempo(inCAClock unsafe.Pointer, outTempo *float64, outTimestamp *CAClockTime) int
- func CAClockGetCurrentTime(inCAClock unsafe.Pointer, inTimeFormat CAClockTimeFormat, outTime *CAClockTime) int
- func CAClockGetPlayRate(inCAClock unsafe.Pointer, outPlayRate *float64) int
- func CAClockGetProperty(inCAClock unsafe.Pointer, inPropertyID CAClockPropertyID, ...) int
- func CAClockGetPropertyInfo(inCAClock unsafe.Pointer, inPropertyID CAClockPropertyID, outSize *uint, ...) int
- func CAClockGetStartTime(inCAClock unsafe.Pointer, inTimeFormat CAClockTimeFormat, outTime *CAClockTime) int
- func CAClockNew(inReservedFlags uint, outCAClock unsafe.Pointer) int
- func CAClockParseMIDI(inCAClock unsafe.Pointer, inMIDIPacketList objc.ID) int
- func CAClockRemoveListener(inCAClock unsafe.Pointer, inListenerProc unsafe.Pointer, ...) int
- func CAClockSMPTETimeToSeconds(inCAClock unsafe.Pointer, inSMPTETime *coreaudiotypes.SMPTETime, ...) int
- func CAClockSecondsToSMPTETime(inCAClock unsafe.Pointer, inSeconds float64, inSubframeDivisor uint16, ...) int
- func CAClockSetCurrentTempo(inCAClock unsafe.Pointer, inTempo float64, inTimestamp *CAClockTime) int
- func CAClockSetCurrentTime(inCAClock unsafe.Pointer, inTime *CAClockTime) int
- func CAClockSetPlayRate(inCAClock unsafe.Pointer, inPlayRate float64) int
- func CAClockSetProperty(inCAClock unsafe.Pointer, inPropertyID CAClockPropertyID, ...) int
- func CAClockStart(inCAClock unsafe.Pointer) int
- func CAClockStop(inCAClock unsafe.Pointer) int
- func CAClockTranslateTime(inCAClock unsafe.Pointer, inTime *CAClockTime, ...) int
- func CAShow(inObject unsafe.Pointer)
- func CAShowFile(inObject unsafe.Pointer, inFile unsafe.Pointer)
- func CopyInstrumentInfoFromSoundBank(inURL unsafe.Pointer, outInstrumentInfo unsafe.Pointer) int
- func CopyNameFromSoundBank(inURL unsafe.Pointer, outName unsafe.Pointer) int
- func DisposeAUGraph(inGraph unsafe.Pointer) int
- func DisposeMusicEventIterator(inIterator unsafe.Pointer) int
- func DisposeMusicPlayer(inPlayer unsafe.Pointer) int
- func DisposeMusicSequence(inSequence unsafe.Pointer) int
- func ExtAudioFileCreateNew(inParentDir *carboncore.FSRef, inFileName unsafe.Pointer, inFileType uint, ...) intdeprecated
- func ExtAudioFileCreateWithURL(inURL unsafe.Pointer, inFileType uint, ...) int
- func ExtAudioFileDispose(inExtAudioFile unsafe.Pointer) int
- func ExtAudioFileGetProperty(inExtAudioFile unsafe.Pointer, inPropertyID uint, ioPropertyDataSize *uint, ...) int
- func ExtAudioFileGetPropertyInfo(inExtAudioFile unsafe.Pointer, inPropertyID uint, outSize *uint, ...) int
- func ExtAudioFileOpen(inFSRef *carboncore.FSRef, outExtAudioFile unsafe.Pointer) intdeprecated
- func ExtAudioFileOpenURL(inURL unsafe.Pointer, outExtAudioFile unsafe.Pointer) int
- func ExtAudioFileRead(inExtAudioFile unsafe.Pointer, ioNumberFrames *uint, ...) int
- func ExtAudioFileSeek(inExtAudioFile unsafe.Pointer, inFrameOffset int64) int
- func ExtAudioFileSetProperty(inExtAudioFile unsafe.Pointer, inPropertyID uint, inPropertyDataSize uint, ...) int
- func ExtAudioFileTell(inExtAudioFile unsafe.Pointer, outFrameOffset *int64) int
- func ExtAudioFileWrapAudioFileID(inFileID unsafe.Pointer, inForWriting uint8, outExtAudioFile unsafe.Pointer) int
- func ExtAudioFileWrite(inExtAudioFile unsafe.Pointer, inNumberFrames uint, ...) int
- func ExtAudioFileWriteAsync(inExtAudioFile unsafe.Pointer, inNumberFrames uint, ...) int
- func GetNameFromSoundBank(inSoundBankRef *carboncore.FSRef, outName unsafe.Pointer) intdeprecated
- func KAudioComponentInstanceInvalidationNotification() uintptr
- func KAudioComponentRegistrationsChangedNotification() uintptr
- func MusicDeviceMIDIEvent(inUnit *carboncore.ComponentInstanceRecord, inStatus uint, inData1 uint, ...) int
- func MusicDeviceMIDIEventList(inUnit *carboncore.ComponentInstanceRecord, inOffsetSampleFrame uint, ...) int
- func MusicDevicePrepareInstrument(inUnit *carboncore.ComponentInstanceRecord, inInstrument uint) intdeprecated
- func MusicDeviceReleaseInstrument(inUnit *carboncore.ComponentInstanceRecord, inInstrument uint) intdeprecated
- func MusicDeviceStartNote(inUnit *carboncore.ComponentInstanceRecord, inInstrument uint, inGroupID uint, ...) int
- func MusicDeviceStopNote(inUnit *carboncore.ComponentInstanceRecord, inGroupID uint, ...) int
- func MusicDeviceSysEx(inUnit *carboncore.ComponentInstanceRecord, inData *uint8, inLength uint) int
- func MusicEventIteratorDeleteEvent(inIterator unsafe.Pointer) int
- func MusicEventIteratorGetEventInfo(inIterator unsafe.Pointer, outTimeStamp *float64, outEventType *uint, ...) int
- func MusicEventIteratorHasCurrentEvent(inIterator unsafe.Pointer, outHasCurEvent *uint8) int
- func MusicEventIteratorHasNextEvent(inIterator unsafe.Pointer, outHasNextEvent *uint8) int
- func MusicEventIteratorHasPreviousEvent(inIterator unsafe.Pointer, outHasPrevEvent *uint8) int
- func MusicEventIteratorNextEvent(inIterator unsafe.Pointer) int
- func MusicEventIteratorPreviousEvent(inIterator unsafe.Pointer) int
- func MusicEventIteratorSeek(inIterator unsafe.Pointer, inTimeStamp float64) int
- func MusicEventIteratorSetEventInfo(inIterator unsafe.Pointer, inEventType uint, inEventData unsafe.Pointer) int
- func MusicEventIteratorSetEventTime(inIterator unsafe.Pointer, inTimeStamp float64) int
- func MusicPlayerGetBeatsForHostTime(inPlayer unsafe.Pointer, inHostTime uint64, outBeats *float64) int
- func MusicPlayerGetHostTimeForBeats(inPlayer unsafe.Pointer, inBeats float64, outHostTime *uint64) int
- func MusicPlayerGetPlayRateScalar(inPlayer unsafe.Pointer, outScaleRate *float64) int
- func MusicPlayerGetSequence(inPlayer unsafe.Pointer, outSequence unsafe.Pointer) int
- func MusicPlayerGetTime(inPlayer unsafe.Pointer, outTime *float64) int
- func MusicPlayerIsPlaying(inPlayer unsafe.Pointer, outIsPlaying *uint8) int
- func MusicPlayerPreroll(inPlayer unsafe.Pointer) int
- func MusicPlayerSetPlayRateScalar(inPlayer unsafe.Pointer, inScaleRate float64) int
- func MusicPlayerSetSequence(inPlayer unsafe.Pointer, inSequence unsafe.Pointer) int
- func MusicPlayerSetTime(inPlayer unsafe.Pointer, inTime float64) int
- func MusicPlayerStart(inPlayer unsafe.Pointer) int
- func MusicPlayerStop(inPlayer unsafe.Pointer) int
- func MusicSequenceBarBeatTimeToBeats(inSequence unsafe.Pointer, inBarBeatTime *CABarBeatTime, outBeats *float64) int
- func MusicSequenceBeatsToBarBeatTime(inSequence unsafe.Pointer, inBeats float64, inSubbeatDivisor uint, ...) int
- func MusicSequenceDisposeTrack(inSequence unsafe.Pointer, inTrack unsafe.Pointer) int
- func MusicSequenceFileCreate(inSequence unsafe.Pointer, inFileRef unsafe.Pointer, ...) int
- func MusicSequenceFileCreateData(inSequence unsafe.Pointer, inFileType MusicSequenceFileTypeID, ...) int
- func MusicSequenceFileLoad(inSequence unsafe.Pointer, inFileRef unsafe.Pointer, ...) int
- func MusicSequenceFileLoadData(inSequence unsafe.Pointer, inData unsafe.Pointer, ...) int
- func MusicSequenceGetAUGraph(inSequence unsafe.Pointer, outGraph unsafe.Pointer) int
- func MusicSequenceGetBeatsForSeconds(inSequence unsafe.Pointer, inSeconds float64, outBeats *float64) int
- func MusicSequenceGetIndTrack(inSequence unsafe.Pointer, inTrackIndex uint, outTrack unsafe.Pointer) int
- func MusicSequenceGetInfoDictionary(inSequence unsafe.Pointer) unsafe.Pointer
- func MusicSequenceGetSMPTEResolution(inRes int16, fps *int8, ticks *uint8)
- func MusicSequenceGetSecondsForBeats(inSequence unsafe.Pointer, inBeats float64, outSeconds *float64) int
- func MusicSequenceGetSequenceType(inSequence unsafe.Pointer, outType *MusicSequenceType) int
- func MusicSequenceGetTempoTrack(inSequence unsafe.Pointer, outTrack unsafe.Pointer) int
- func MusicSequenceGetTrackCount(inSequence unsafe.Pointer, outNumberOfTracks *uint) int
- func MusicSequenceGetTrackIndex(inSequence unsafe.Pointer, inTrack unsafe.Pointer, outTrackIndex *uint) int
- func MusicSequenceLoadSMFDataWithFlags(inSequence unsafe.Pointer, inData unsafe.Pointer, ...) intdeprecated
- func MusicSequenceLoadSMFWithFlags(inSequence unsafe.Pointer, inFileRef *carboncore.FSRef, ...) intdeprecated
- func MusicSequenceNewTrack(inSequence unsafe.Pointer, outTrack unsafe.Pointer) int
- func MusicSequenceReverse(inSequence unsafe.Pointer) int
- func MusicSequenceSaveMIDIFile(inSequence unsafe.Pointer, inParentDirectory *carboncore.FSRef, ...) intdeprecated
- func MusicSequenceSaveSMFData(inSequence unsafe.Pointer, outData unsafe.Pointer, inResolution uint16) intdeprecated
- func MusicSequenceSetAUGraph(inSequence unsafe.Pointer, inGraph unsafe.Pointer) int
- func MusicSequenceSetMIDIEndpoint(inSequence unsafe.Pointer, inEndpoint uint) int
- func MusicSequenceSetSMPTEResolution(fps int8, ticks uint8) int16
- func MusicSequenceSetSequenceType(inSequence unsafe.Pointer, inType MusicSequenceType) int
- func MusicSequenceSetUserCallback(inSequence unsafe.Pointer, inCallback unsafe.Pointer, ...) int
- func MusicTrackClear(inTrack unsafe.Pointer, inStartTime float64, inEndTime float64) int
- func MusicTrackCopyInsert(inSourceTrack unsafe.Pointer, inSourceStartTime float64, ...) int
- func MusicTrackCut(inTrack unsafe.Pointer, inStartTime float64, inEndTime float64) int
- func MusicTrackGetDestMIDIEndpoint(inTrack unsafe.Pointer, outEndpoint *uint) int
- func MusicTrackGetDestNode(inTrack unsafe.Pointer, outNode *int) int
- func MusicTrackGetProperty(inTrack unsafe.Pointer, inPropertyID uint, outData unsafe.Pointer, ...) int
- func MusicTrackGetSequence(inTrack unsafe.Pointer, outSequence unsafe.Pointer) int
- func MusicTrackMerge(inSourceTrack unsafe.Pointer, inSourceStartTime float64, ...) int
- func MusicTrackMoveEvents(inTrack unsafe.Pointer, inStartTime float64, inEndTime float64, ...) int
- func MusicTrackNewAUPresetEvent(inTrack unsafe.Pointer, inTimeStamp float64, inPresetEvent *AUPresetEvent) int
- func MusicTrackNewExtendedControlEvent(inTrack unsafe.Pointer, inTimeStamp float64, inInfo *ExtendedControlEvent) intdeprecated
- func MusicTrackNewExtendedNoteEvent(inTrack unsafe.Pointer, inTimeStamp float64, inInfo *ExtendedNoteOnEvent) int
- func MusicTrackNewExtendedTempoEvent(inTrack unsafe.Pointer, inTimeStamp float64, inBPM float64) int
- func MusicTrackNewMIDIChannelEvent(inTrack unsafe.Pointer, inTimeStamp float64, inMessage *MIDIChannelMessage) int
- func MusicTrackNewMIDINoteEvent(inTrack unsafe.Pointer, inTimeStamp float64, inMessage *MIDINoteMessage) int
- func MusicTrackNewMIDIRawDataEvent(inTrack unsafe.Pointer, inTimeStamp float64, inRawData *MIDIRawData) int
- func MusicTrackNewMetaEvent(inTrack unsafe.Pointer, inTimeStamp float64, inMetaEvent *MIDIMetaEvent) int
- func MusicTrackNewParameterEvent(inTrack unsafe.Pointer, inTimeStamp float64, inInfo *ParameterEvent) int
- func MusicTrackNewUserEvent(inTrack unsafe.Pointer, inTimeStamp float64, inUserData *MusicEventUserData) int
- func MusicTrackSetDestMIDIEndpoint(inTrack unsafe.Pointer, inEndpoint uint) int
- func MusicTrackSetDestNode(inTrack unsafe.Pointer, inNode int) int
- func MusicTrackSetProperty(inTrack unsafe.Pointer, inPropertyID uint, inData unsafe.Pointer, ...) int
- func NewAUGraph(outGraph unsafe.Pointer) int
- func NewMusicEventIterator(inTrack unsafe.Pointer, outIterator unsafe.Pointer) int
- func NewMusicPlayer(outPlayer unsafe.Pointer) int
- func NewMusicSequence(outSequence unsafe.Pointer) int
- func NewMusicTrackFrom(inSourceTrack unsafe.Pointer, inSourceStartTime float64, ...) intdeprecated
- func NumAudioFileMarkersToNumBytes(inNumMarkers uint) uint
- func NumBytesToNumAudioFileMarkers(inNumBytes uint) uint
- func SymbolAvailable(symbol string) bool
- type AU3DMixerAttenuationCurve
- type AU3DMixerRenderingFlags
- type AUAudioMixRenderingStyle
- type AUAudioUnit
- func (o *AUAudioUnit) AllParameterValues() bool
- func (o *AUAudioUnit) AllocateRenderResourcesAndReturnError() (bool, error)
- func (o *AUAudioUnit) AudioUnitMIDIProtocol() objc.ID
- func (o *AUAudioUnit) AudioUnitName() *foundation.NSString
- func (o *AUAudioUnit) AudioUnitShortName() *foundation.NSString
- func (o *AUAudioUnit) CanPerformInput() bool
- func (o *AUAudioUnit) CanPerformOutput() bool
- func (o *AUAudioUnit) CanProcessInPlace() bool
- func (o *AUAudioUnit) ChannelCapabilities() *foundation.NSArray[*foundation.NSNumber]
- func (o *AUAudioUnit) ChannelMap() *foundation.NSArray[*foundation.NSNumber]
- func (o *AUAudioUnit) Component() unsafe.Pointer
- func (o *AUAudioUnit) ComponentDescription() AudioComponentDescription
- func (o *AUAudioUnit) ComponentName() *foundation.NSString
- func (o *AUAudioUnit) ComponentVersion() uint32
- func (o *AUAudioUnit) ContextName() *foundation.NSString
- func (o *AUAudioUnit) CurrentPreset() *AUAudioUnitPreset
- func (o *AUAudioUnit) DeallocateRenderResources()
- func (o *AUAudioUnit) DeleteUserPresetError(userPreset *AUAudioUnitPreset) (bool, error)
- func (o *AUAudioUnit) DeviceID() uint
- func (o *AUAudioUnit) DeviceInputLatency() float64
- func (o *AUAudioUnit) DeviceOutputLatency() float64
- func (o *AUAudioUnit) DisableProfileCableOnChannelError(profile objc.ID, cable uint8, channel uint8) (bool, error)
- func (o *AUAudioUnit) EnableProfileCableOnChannelError(profile objc.ID, cable uint8, channel uint8) (bool, error)
- func (o *AUAudioUnit) FactoryPresets() *foundation.NSArray[*AUAudioUnitPreset]
- func (o *AUAudioUnit) FullState() *foundation.NSDictionary[*foundation.NSString, objc.ID]
- func (o *AUAudioUnit) FullStateForDocument() *foundation.NSDictionary[*foundation.NSString, objc.ID]
- func (o *AUAudioUnit) HostMIDIProtocol() objc.ID
- func (o *AUAudioUnit) InitWithComponentDescriptionError(componentDescription AudioComponentDescription) (*AUAudioUnit, error)
- func (o *AUAudioUnit) InitWithComponentDescriptionOptionsError(componentDescription AudioComponentDescription, ...) (*AUAudioUnit, error)
- func (o *AUAudioUnit) InputBusses() *AUAudioUnitBusArray
- func (o *AUAudioUnit) InputHandler() objc.Block
- func (o *AUAudioUnit) IntendedSpatialExperience() unsafe.Pointer
- func (o *AUAudioUnit) InternalRenderBlock() objc.Block
- func (o *AUAudioUnit) IsInputEnabled() bool
- func (o *AUAudioUnit) IsLoadedInProcess() bool
- func (o *AUAudioUnit) IsMusicDeviceOrEffect() bool
- func (o *AUAudioUnit) IsOutputEnabled() bool
- func (o *AUAudioUnit) IsRenderingOffline() bool
- func (o *AUAudioUnit) IsRunning() bool
- func (o *AUAudioUnit) Latency() float64
- func (o *AUAudioUnit) MIDIOutputBufferSizeHint() int
- func (o *AUAudioUnit) MIDIOutputEventBlock() objc.Block
- func (o *AUAudioUnit) MIDIOutputEventListBlock() objc.Block
- func (o *AUAudioUnit) MIDIOutputNames() *foundation.NSArray[*foundation.NSString]
- func (o *AUAudioUnit) ManufacturerName() *foundation.NSString
- func (o *AUAudioUnit) MaximumFramesToRender() uint32
- func (o *AUAudioUnit) MessageChannelFor(channelName *foundation.NSString) AUMessageChannel
- func (o *AUAudioUnit) MigrateFromPlugin() *foundation.NSArray[objc.ID]
- func (o *AUAudioUnit) MusicalContextBlock() objc.Block
- func (o *AUAudioUnit) OsWorkgroup() unsafe.Pointer
- func (o *AUAudioUnit) OutputBusses() *AUAudioUnitBusArray
- func (o *AUAudioUnit) OutputProvider() objc.Block
- func (o *AUAudioUnit) ParameterTree() *AUParameterTree
- func (o *AUAudioUnit) ParametersForOverviewWithCount(count int) *foundation.NSArray[*foundation.NSNumber]
- func (o *AUAudioUnit) PresetStateForError(userPreset *AUAudioUnitPreset) (*foundation.NSDictionary[*foundation.NSString, objc.ID], error)
- func (o *AUAudioUnit) ProfileChangedBlock() unsafe.Pointer
- func (o *AUAudioUnit) ProfileStateForCableChannel(cable uint8, channel uint8) objc.ID
- func (o *AUAudioUnit) ProvidesUserInterface() bool
- func (o *AUAudioUnit) RemoveRenderObserver(token int)
- func (o *AUAudioUnit) RenderBlock() objc.Block
- func (o *AUAudioUnit) RenderContextObserver() unsafe.Pointer
- func (o *AUAudioUnit) RenderQuality() int
- func (o *AUAudioUnit) RenderResourcesAllocated() bool
- func (o *AUAudioUnit) Reset()
- func (o *AUAudioUnit) SaveUserPresetError(userPreset *AUAudioUnitPreset) (bool, error)
- func (o *AUAudioUnit) ScheduleMIDIEventBlock() objc.Block
- func (o *AUAudioUnit) ScheduleMIDIEventListBlock() objc.Block
- func (o *AUAudioUnit) ScheduleParameterBlock() objc.Block
- func (o *AUAudioUnit) SetChannelMap(channelMap *foundation.NSArray[*foundation.NSNumber])
- func (o *AUAudioUnit) SetContextName(contextName *foundation.NSString)
- func (o *AUAudioUnit) SetCurrentPreset(currentPreset *AUAudioUnitPreset)
- func (o *AUAudioUnit) SetDeviceIDError(deviceID uint) (bool, error)
- func (o *AUAudioUnit) SetFullState(fullState *foundation.NSDictionary[*foundation.NSString, objc.ID])
- func (o *AUAudioUnit) SetFullStateForDocument(fullStateForDocument *foundation.NSDictionary[*foundation.NSString, objc.ID])
- func (o *AUAudioUnit) SetHostMIDIProtocol(hostMIDIProtocol objc.ID)
- func (o *AUAudioUnit) SetInputEnabled(inputEnabled bool)
- func (o *AUAudioUnit) SetInputHandler(...)
- func (o *AUAudioUnit) SetIntendedSpatialExperience(intendedSpatialExperience unsafe.Pointer)
- func (o *AUAudioUnit) SetMIDIOutputBufferSizeHint(midiOutputBufferSizeHint int)
- func (o *AUAudioUnit) SetMIDIOutputEventBlock(midiOutputEventBlock func(int64, uint8, int, unsafe.Pointer) int)
- func (o *AUAudioUnit) SetMIDIOutputEventListBlock(midiOutputEventListBlock func(int64, uint8, unsafe.Pointer) int)
- func (o *AUAudioUnit) SetMaximumFramesToRender(maximumFramesToRender uint32)
- func (o *AUAudioUnit) SetMusicalContextBlock(...)
- func (o *AUAudioUnit) SetOutputEnabled(outputEnabled bool)
- func (o *AUAudioUnit) SetOutputProvider(...)
- func (o *AUAudioUnit) SetParameterTree(parameterTree *AUParameterTree)
- func (o *AUAudioUnit) SetProfileChangedBlock(profileChangedBlock unsafe.Pointer)
- func (o *AUAudioUnit) SetRenderQuality(renderQuality int)
- func (o *AUAudioUnit) SetRenderResourcesAllocated(flag bool)
- func (o *AUAudioUnit) SetRenderingOffline(renderingOffline bool)
- func (o *AUAudioUnit) SetShouldBypassEffect(shouldBypassEffect bool)
- func (o *AUAudioUnit) SetTransportStateBlock(...)
- func (o *AUAudioUnit) ShouldBypassEffect() bool
- func (o *AUAudioUnit) ShouldChangeToFormatForBus(format *avfaudio.AVAudioFormat, bus *AUAudioUnitBus) bool
- func (o *AUAudioUnit) StartHardwareAndReturnError() (bool, error)
- func (o *AUAudioUnit) StopHardware()
- func (o *AUAudioUnit) SupportsMPE() bool
- func (o *AUAudioUnit) SupportsUserPresets() bool
- func (o *AUAudioUnit) TailTime() float64
- func (o *AUAudioUnit) TokenByAddingRenderObserver(...) int
- func (o *AUAudioUnit) TransportStateBlock() objc.Block
- func (o *AUAudioUnit) UserPresets() *foundation.NSArray[*AUAudioUnitPreset]
- func (o *AUAudioUnit) VirtualMIDICableCount() int
- type AUAudioUnitBus
- func (o *AUAudioUnitBus) BusType() AUAudioUnitBusType
- func (o *AUAudioUnitBus) ContextPresentationLatency() float64
- func (o *AUAudioUnitBus) Format() *avfaudio.AVAudioFormat
- func (o *AUAudioUnitBus) Index() uint
- func (o *AUAudioUnitBus) InitWithFormatError(format *avfaudio.AVAudioFormat) (*AUAudioUnitBus, error)
- func (o *AUAudioUnitBus) IsEnabled() bool
- func (o *AUAudioUnitBus) MaximumChannelCount() uint32
- func (o *AUAudioUnitBus) Name() *foundation.NSString
- func (o *AUAudioUnitBus) OwnerAudioUnit() *AUAudioUnit
- func (o *AUAudioUnitBus) SetContextPresentationLatency(contextPresentationLatency float64)
- func (o *AUAudioUnitBus) SetEnabled(enabled bool)
- func (o *AUAudioUnitBus) SetFormatError(format *avfaudio.AVAudioFormat) (bool, error)
- func (o *AUAudioUnitBus) SetMaximumChannelCount(maximumChannelCount uint32)
- func (o *AUAudioUnitBus) SetName(name *foundation.NSString)
- func (o *AUAudioUnitBus) SetShouldAllocateBuffer(shouldAllocateBuffer bool)
- func (o *AUAudioUnitBus) SetSupportedChannelCounts(supportedChannelCounts *foundation.NSArray[*foundation.NSNumber])
- func (o *AUAudioUnitBus) ShouldAllocateBuffer() bool
- func (o *AUAudioUnitBus) SupportedChannelCounts() *foundation.NSArray[*foundation.NSNumber]
- func (o *AUAudioUnitBus) SupportedChannelLayoutTags() *foundation.NSArray[*foundation.NSNumber]
- type AUAudioUnitBusArray
- func (o *AUAudioUnitBusArray) AddObserverToAllBussesForKeyPathOptionsContext(observer *foundation.NSObject, keyPath *foundation.NSString, ...)
- func (o *AUAudioUnitBusArray) BusType() AUAudioUnitBusType
- func (o *AUAudioUnitBusArray) Count() uint
- func (o *AUAudioUnitBusArray) InitWithAudioUnitBusType(owner *AUAudioUnit, busType AUAudioUnitBusType) *AUAudioUnitBusArray
- func (o *AUAudioUnitBusArray) InitWithAudioUnitBusTypeBusses(owner *AUAudioUnit, busType AUAudioUnitBusType, ...) *AUAudioUnitBusArray
- func (o *AUAudioUnitBusArray) IsCountChangeable() bool
- func (o *AUAudioUnitBusArray) ObjectAtIndexedSubscript(index uint) *AUAudioUnitBus
- func (o *AUAudioUnitBusArray) OwnerAudioUnit() *AUAudioUnit
- func (o *AUAudioUnitBusArray) RemoveObserverFromAllBussesForKeyPathContext(observer *foundation.NSObject, keyPath *foundation.NSString, ...)
- func (o *AUAudioUnitBusArray) ReplaceBusses(busArray *foundation.NSArray[*AUAudioUnitBus])
- func (o *AUAudioUnitBusArray) SetBusCountError(count uint) (bool, error)
- type AUAudioUnitBusType
- type AUAudioUnitFactory
- type AUAudioUnitPreset
- type AUAudioUnitV2Bridge
- type AUChannelInfo
- type AUDependentParameter
- type AUDistanceAttenuationDatadeprecated
- type AUHostIdentifier
- type AUHostTransportStateFlags
- type AUHostVersionIdentifier
- type AUInputSamplesInOutputCallbackStruct
- type AUListenerBase
- type AUMIDIEvent
- type AUMIDIEventList
- type AUMIDIOutputCallbackStruct
- type AUMessageChannel
- type AUNodeConnection
- type AUNodeInteraction
- type AUNodeRenderCallback
- type AUNumVersion
- type AUParameter
- func (o *AUParameter) Address() uint64
- func (o *AUParameter) DependentParameters() *foundation.NSArray[*foundation.NSNumber]
- func (o *AUParameter) Flags() AudioUnitParameterOptions
- func (o *AUParameter) MaxValue() float32
- func (o *AUParameter) MinValue() float32
- func (o *AUParameter) SetValue(value float32)
- func (o *AUParameter) SetValueOriginator(value float32, originator unsafe.Pointer)
- func (o *AUParameter) SetValueOriginatorAtHostTime(value float32, originator unsafe.Pointer, hostTime uint64)
- func (o *AUParameter) SetValueOriginatorAtHostTimeEventType(value float32, originator unsafe.Pointer, hostTime uint64, ...)
- func (o *AUParameter) StringFromValue(value *float32) *foundation.NSString
- func (o *AUParameter) Unit() AudioUnitParameterUnit
- func (o *AUParameter) UnitName() *foundation.NSString
- func (o *AUParameter) Value() float32
- func (o *AUParameter) ValueFromString(string_ *foundation.NSString) float32
- func (o *AUParameter) ValueStrings() *foundation.NSArray[*foundation.NSString]
- type AUParameterAutomationEvent
- type AUParameterAutomationEventType
- type AUParameterEvent
- type AUParameterEventType
- type AUParameterGroup
- func AUParameterGroupFromID(id objc.ID) *AUParameterGroup
- func AUParameterTreeCreateGroupFromTemplateIdentifierNameAddressOffset(templateGroup *AUParameterGroup, identifier *foundation.NSString, ...) *AUParameterGroup
- func AUParameterTreeCreateGroupTemplate(children *foundation.NSArray[*AUParameterNode]) *AUParameterGroup
- func AUParameterTreeCreateGroupWithIdentifierNameChildren(identifier *foundation.NSString, name *foundation.NSString, ...) *AUParameterGroup
- type AUParameterMIDIMapping
- type AUParameterMIDIMappingFlags
- type AUParameterNode
- func (o *AUParameterNode) DisplayName() *foundation.NSString
- func (o *AUParameterNode) DisplayNameWithLength(maximumLength int) *foundation.NSString
- func (o *AUParameterNode) Identifier() *foundation.NSString
- func (o *AUParameterNode) ImplementorDisplayNameWithLengthCallback() objc.Block
- func (o *AUParameterNode) ImplementorStringFromValueCallback() objc.Block
- func (o *AUParameterNode) ImplementorValueFromStringCallback() objc.Block
- func (o *AUParameterNode) ImplementorValueObserver() objc.Block
- func (o *AUParameterNode) ImplementorValueProvider() objc.Block
- func (o *AUParameterNode) KeyPath() *foundation.NSString
- func (o *AUParameterNode) RemoveParameterObserver(token unsafe.Pointer)
- func (o *AUParameterNode) SetImplementorDisplayNameWithLengthCallback(implementorDisplayNameWithLengthCallback objc.Block)
- func (o *AUParameterNode) SetImplementorStringFromValueCallback(implementorStringFromValueCallback objc.Block)
- func (o *AUParameterNode) SetImplementorValueFromStringCallback(implementorValueFromStringCallback objc.Block)
- func (o *AUParameterNode) SetImplementorValueObserver(implementorValueObserver func(*AUParameter, float32))
- func (o *AUParameterNode) SetImplementorValueProvider(implementorValueProvider objc.Block)
- func (o *AUParameterNode) TokenByAddingParameterAutomationObserver(observer func(int, *AUParameterAutomationEvent)) unsafe.Pointer
- func (o *AUParameterNode) TokenByAddingParameterObserver(observer func(uint64, float32)) unsafe.Pointer
- func (o *AUParameterNode) TokenByAddingParameterRecordingObserver(observer func(int, *AURecordedParameterEvent)) unsafe.Pointer
- type AUParameterTree
- type AUPreset
- type AUPresetEvent
- type AURecordedParameterEvent
- type AURenderCallbackStruct
- type AURenderEventHeader
- type AURenderEventType
- type AUReverbRoomType
- type AUSamplerBankPresetData
- type AUSamplerInstrumentData
- type AUScheduledAudioSliceFlags
- type AUSpatialMixerAttenuationCurve
- type AUSpatialMixerOutputType
- type AUSpatialMixerPersonalizedHRTFMode
- type AUSpatialMixerPointSourceInHeadMode
- type AUSpatialMixerRenderingFlags
- type AUSpatialMixerSourceMode
- type AUSpatializationAlgorithm
- type AUVoiceIOOtherAudioDuckingConfiguration
- type AUVoiceIOOtherAudioDuckingLevel
- type AUVoiceIOSpeechActivityEvent
- type Acl_entry_id_t
- type Acl_flag_t
- type Acl_perm_t
- type Acl_tag_t
- type Acl_type_t
- type AudioBalanceFade
- type AudioBalanceFadeType
- type AudioBytePacketTranslation
- type AudioBytePacketTranslationFlags
- type AudioCodecMagicCookieInfo
- type AudioCodecPrimeInfo
- type AudioComponentDescription
- type AudioComponentFlags
- type AudioComponentInstance
- type AudioComponentInstantiationOptions
- type AudioComponentPlugInInterface
- type AudioComponentValidationResult
- type AudioConverterOptions
- type AudioConverterPrimeInfo
- type AudioFileFDFTable
- type AudioFileFDFTableExtendeddeprecated
- type AudioFileFlags
- type AudioFileMarker
- type AudioFileMarkerList
- type AudioFilePacketTableInfo
- type AudioFilePermissions
- type AudioFileRegion
- type AudioFileRegionFlags
- type AudioFileRegionList
- type AudioFileStreamParseFlags
- type AudioFileStreamPropertyFlags
- type AudioFileStreamSeekFlags
- type AudioFileTypeAndFormatID
- type AudioFile_SMPTE_Time
- type AudioFormatInfo
- type AudioFramePacketTranslation
- type AudioIndependentPacketTranslation
- 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 AudioSettingsFlags
- type AudioUnitCocoaViewInfo
- type AudioUnitConnection
- type AudioUnitEvent
- type AudioUnitEventType
- type AudioUnitExternalBuffer
- 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 AudioUnitPresetMAS_SettingData
- type AudioUnitPresetMAS_Settings
- type AudioUnitProperty
- type AudioUnitRemoteControlEvent
- type AudioUnitRenderActionFlags
- type AudioUnitRenderContext
- type CABarBeatTime
- type CAClockMessage
- type CAClockPropertyID
- type CAClockSyncMode
- type CAClockTime
- type CAClockTimeFormat
- type CAClockTimebase
- type CAFAudioDescription
- 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_t
- type ComponentDescription
- type ComponentInstanceRecord
- type Dispatch_autorelease_frequency_t
- type Dispatch_block_flags_t
- type ExtendedAudioFormatInfo
- type ExtendedControlEvent
- type ExtendedNoteOnEvent
- type ExtendedTempoEvent
- type FSRef
- type Filesec_property_t
- type HostCallbackInfo
- type Idtype_t
- type Ipc_info_object_type_t
- type Launch_data_type_t
- type MDLabelDomain
- type MDQueryOptionFlags
- type MDQuerySortOptionFlags
- type MIDIChannelMessage
- type MIDIEventList
- type MIDIMetaEvent
- type MIDINoteMessage
- type MIDIPacketList
- type MIDIRawData
- type Mach_vm_range_flags_t
- type Mach_vm_range_flavor_t
- type Mach_vm_range_tag_t
- type MagicCookieInfo
- type MixerDistanceParams
- type Mpo_flags_t
- type MusicDeviceNoteParams
- type MusicDeviceStdNoteParams
- type MusicEventUserData
- type MusicSequenceFileFlags
- type MusicSequenceFileTypeID
- type MusicSequenceLoadFlags
- type MusicSequenceType
- type MusicTrackLoopInfo
- type NoteParamsControlValue
- 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 Os_clockid_t
- type ParameterEvent
- type Ptrauth_key
- type Qos_class_t
- type ScheduledAudioFileRegion
- type ScheduledAudioSlice
- type Virtual_memory_guard_exception_code_t
- type Xpc_listener_create_flags_t
- type Xpc_session_create_flags_t
Constants ¶
const ( K3DMixerParam_Azimuth = 0 K3DMixerParam_BusEnable = 20 K3DMixerParam_Distance = 2 K3DMixerParam_DryWetReverbBlend = 23 K3DMixerParam_Elevation = 1 K3DMixerParam_Gain = 3 K3DMixerParam_GlobalReverbGain = 6 K3DMixerParam_GlobalReverbGainInDecibels = 24 K3DMixerParam_MaxGain = 10 K3DMixerParam_MaxGainInDecibels = 22 K3DMixerParam_MinGain = 9 K3DMixerParam_MinGainInDecibels = 21 K3DMixerParam_ObstructionAttenuation = 8 K3DMixerParam_ObstructionAttenuationInDecibels = 26 K3DMixerParam_OcclusionAttenuation = 7 K3DMixerParam_OcclusionAttenuationInDecibels = 25 K3DMixerParam_PlaybackRate = 4 K3DMixerParam_PostAveragePower = 3000 K3DMixerParam_PostPeakHoldLevel = 4000 K3DMixerParam_PreAveragePower = 1000 K3DMixerParam_PrePeakHoldLevel = 2000 K3DMixerParam_ReverbBlend = 5 )
const ( KAUAudioMixParameter_RemixAmount = 1 KAUAudioMixParameter_Style = 0 )
const ( KAUAudioMixProperty_EnableSpatialization = 5001 KAUAudioMixProperty_SpatialAudioMixMetadata = 5000 )
const ( KAUGraphErr_CannotDoInCurrentContext = -10863 KAUGraphErr_InvalidAudioUnit = -10864 KAUGraphErr_InvalidConnection = -10861 KAUGraphErr_NodeNotFound = -10860 KAUGraphErr_OutputNodeErr = -10862 )
const ( 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 )
const ( KAULowShelfParam_CutoffFrequency = 0 KAULowShelfParam_Gain = 1 )
const ( 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 KNumAUNBandEQFilterTypes = 11 )
const ( KAUNBandEQParam_Bandwidth = 5000 KAUNBandEQParam_BypassBand = 1000 KAUNBandEQParam_FilterType = 2000 KAUNBandEQParam_Frequency = 3000 KAUNBandEQParam_Gain = 4000 KAUNBandEQParam_GlobalGain = 0 )
const ( KAUNBandEQProperty_BiquadCoefficients = 2203 KAUNBandEQProperty_MaxNumberOfBands = 2201 KAUNBandEQProperty_NumberOfBands = 2200 )
const ( KAUNetReceiveParam_NumParameters = 1 KAUNetReceiveParam_Status = 0 )
const ( KAUNetReceiveProperty_Hostname = 3511 KAUNetReceiveProperty_Password = 3512 )
const ( KAUNetSendParam_NumParameters = 1 KAUNetSendParam_Status = 0 )
const ( KAUNetSendNumPresetFormats = 18 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 )
const ( KAUNetSendProperty_Disconnect = 3517 KAUNetSendProperty_Password = 3518 KAUNetSendProperty_PortNum = 3513 KAUNetSendProperty_ServiceName = 3516 KAUNetSendProperty_TransmissionFormat = 3514 KAUNetSendProperty_TransmissionFormatIndex = 3515 )
const ( KAUNetStatus_Connected = 1 KAUNetStatus_Connecting = 4 KAUNetStatus_Listening = 5 KAUNetStatus_NotConnected = 0 KAUNetStatus_Overflow = 2 KAUNetStatus_Underflow = 3 )
const ( KAUNodeInteraction_Connection = 1 KAUNodeInteraction_InputCallback = 2 )
const ( KAUSamplerParam_CoarseTuning = 901 KAUSamplerParam_FineTuning = 902 KAUSamplerParam_Gain = 900 KAUSamplerParam_Pan = 903 )
const ( KAUSamplerProperty_LoadAudioFiles = 4101 KAUSamplerProperty_LoadInstrument = 4102 )
const ( KAUSamplerProperty_BankAndPreset = 4100 KAUSamplerProperty_LoadPresetFromBank = 4100 )
const ( KAUSampler_DefaultBankLSB = 0 KAUSampler_DefaultMelodicBankMSB = 121 KAUSampler_DefaultPercussionBankMSB = 120 )
const ( KAUSoundIsolationParam_SoundToIsolate = 1 KAUSoundIsolationParam_WetDryMixPercent = 0 )
const ( KAUSoundIsolationSoundType_HighQualityVoice = 0 KAUSoundIsolationSoundType_Voice = 1 )
const ( KAUVoiceIOProperty_BypassVoiceProcessing = 2100 KAUVoiceIOProperty_MuteOutput = 2104 KAUVoiceIOProperty_VoiceProcessingEnableAGC = 2101 )
const ( KAudioCodecBitRateControlMode_Constant = 0 KAudioCodecBitRateControlMode_LongTermAverage = 1 KAudioCodecBitRateControlMode_Variable = 3 KAudioCodecBitRateControlMode_VariableConstrained = 2 )
const ( KAudioCodecBitRateFormat_ABR = 1 KAudioCodecBitRateFormat_CBR = 0 KAudioCodecBitRateFormat_VBR = 2 )
const ( 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 )
const ( KAudioCodecDelayMode_Compatibility = 0 KAudioCodecDelayMode_Minimum = 1 KAudioCodecDelayMode_Optimal = 2 )
const ( KAudioCodecDynamicRangeControlConfiguration_Capture = 4 KAudioCodecDynamicRangeControlConfiguration_Movie = 3 KAudioCodecDynamicRangeControlConfiguration_Music = 1 KAudioCodecDynamicRangeControlConfiguration_None = 0 KAudioCodecDynamicRangeControlConfiguration_Speech = 2 )
const ( KAudioCodecAppendInputBufferListSelect = 9 KAudioCodecAppendInputDataSelect = 6 KAudioCodecGetPropertyInfoSelect = 1 KAudioCodecGetPropertySelect = 2 KAudioCodecInitializeSelect = 4 KAudioCodecProduceOutputBufferListSelect = 10 KAudioCodecProduceOutputDataSelect = 7 KAudioCodecResetSelect = 8 KAudioCodecSetPropertySelect = 3 KAudioCodecUninitializeSelect = 5 )
const ( KAudioCodecBadDataError = 1650549857 KAudioCodecBadPropertySizeError = 561211770 KAudioCodecIllegalOperationError = 1852797029 KAudioCodecNoError = 0 KAudioCodecNotEnoughBufferSpaceError = 560100710 KAudioCodecStateError = 561214580 KAudioCodecUnknownPropertyError = 2003332927 KAudioCodecUnspecifiedError = 2003329396 KAudioCodecUnsupportedFormatError = 560226676 )
const ( KAudioCodecOutputPrecedenceBitRate = 1 KAudioCodecOutputPrecedenceNone = 0 KAudioCodecOutputPrecedenceSampleRate = 2 )
const ( KAudioCodecPrimeMethod_None = 2 KAudioCodecPrimeMethod_Normal = 1 KAudioCodecPrimeMethod_Pre = 0 )
const ( KAudioCodecProduceOutputPacketAtEOF = 5 KAudioCodecProduceOutputPacketFailure = 1 KAudioCodecProduceOutputPacketNeedsMoreInputData = 4 KAudioCodecProduceOutputPacketSuccess = 2 KAudioCodecProduceOutputPacketSuccessConcealed = 6 KAudioCodecProduceOutputPacketSuccessHasMore = 3 )
const ( KAudioCodecPropertyASPFrequency = 1634955366 KAudioCodecPropertyAdjustCompressionProfile = 1584427631 KAudioCodecPropertyAdjustLocalQuality = 1584488812 KAudioCodecPropertyAdjustTargetLevel = 1584428140 KAudioCodecPropertyAdjustTargetLevelConstant = 1584688227 KAudioCodecPropertyApplicableBitRateRange = 1651668065 KAudioCodecPropertyApplicableInputSampleRates = 1769173601 KAudioCodecPropertyApplicableOutputSampleRates = 1869836897 KAudioCodecPropertyBitRateControlMode = 1633903206 KAudioCodecPropertyBitRateForVBR = 1986163298 KAudioCodecPropertyContentSource = 1668510307 KAudioCodecPropertyCurrentInputChannelLayout = 1768123424 KAudioCodecPropertyCurrentInputFormat = 1768320372 KAudioCodecPropertyCurrentInputSampleRate = 1667855218 KAudioCodecPropertyCurrentOutputChannelLayout = 1868786720 KAudioCodecPropertyCurrentOutputFormat = 1868983668 KAudioCodecPropertyCurrentOutputSampleRate = 1668248434 KAudioCodecPropertyCurrentTargetBitRate = 1651663220 KAudioCodecPropertyDelayMode = 1684893540 KAudioCodecPropertyDynamicRangeControlConfiguration = 1667527267 KAudioCodecPropertyDynamicRangeControlMode = 1835299427 KAudioCodecPropertyEmploysDependentPackets = 1685089087 KAudioCodecPropertyFormatList = 1633904236 KAudioCodecPropertyHasVariablePacketByteSizes = 1987078975 KAudioCodecPropertyInputBufferSize = 1952609638 KAudioCodecPropertyIsInitialized = 1768843636 KAudioCodecPropertyMagicCookie = 1802857321 KAudioCodecPropertyMaximumPacketByteSize = 1885432674 KAudioCodecPropertyPacketFrameSize = 1885432678 KAudioCodecPropertyPacketSizeLimitForVBR = 1885432684 KAudioCodecPropertyPaddedZeros = 1885430832 KAudioCodecPropertyPrimeInfo = 1886546285 KAudioCodecPropertyPrimeMethod = 1886547309 KAudioCodecPropertyProgramTargetLevel = 1886418028 KAudioCodecPropertyProgramTargetLevelConstant = 1886678115 KAudioCodecPropertyQualitySetting = 1936876401 KAudioCodecPropertyRecommendedBitRateRange = 1651668082 KAudioCodecPropertySettings = 1633907488 KAudioCodecPropertySoundQualityForVBR = 1986163313 KAudioCodecPropertyUsedInputBufferSize = 1969386854 )
const ( KAudioCodecPropertyFormatCFString = 1818652530 KAudioCodecPropertyManufacturerCFString = 1819107691 KAudioCodecPropertyNameCFString = 1819173229 )
const ( KAudioCodecBitRateFormat = 1633903206 KAudioCodecDoesSampleRateConversion = 1819112035 KAudioCodecExtendFrequencies = 1633903974 KAudioCodecInputFormatsForOutputFormat = 1768305775 KAudioCodecOutputFormatsForInputFormat = 1868969065 KAudioCodecOutputPrecedence = 1869639794 KAudioCodecPropertyAvailableBitRates = 1651668003 KAudioCodecPropertyAvailableInputChannelLayouts = 1634296684 KAudioCodecPropertyAvailableOutputChannelLayouts = 1634689900 KAudioCodecPropertyInputChannelLayout = 1768123424 KAudioCodecPropertyOutputChannelLayout = 1868786720 KAudioCodecPropertyRequiresPacketDescription = 1885432676 KAudioCodecPropertyZeroFramesPadded = 1885430832 KAudioCodecUseRecommendedSampleRate = 1970434930 )
const ( KAudioCodecPropertyAvailableBitRateRange = 1633841780 KAudioCodecPropertyAvailableInputChannelLayoutTags = 1634296684 KAudioCodecPropertyAvailableInputSampleRates = 1634300786 KAudioCodecPropertyAvailableNumberChannels = 1668116067 KAudioCodecPropertyAvailableOutputChannelLayoutTags = 1634689900 KAudioCodecPropertyAvailableOutputSampleRates = 1634694002 KAudioCodecPropertyDoesSampleRateConversion = 1819112035 KAudioCodecPropertyFormatInfo = 1633904233 KAudioCodecPropertyInputFormatsForOutputFormat = 1768305775 KAudioCodecPropertyMinimumNumberInputPackets = 1835952496 KAudioCodecPropertyMinimumNumberOutputPackets = 1835954032 KAudioCodecPropertyOutputFormatsForInputFormat = 1868969065 KAudioCodecPropertySupportedInputFormats = 1768320291 KAudioCodecPropertySupportedOutputFormats = 1868983587 )
const ( KAudioCodecQuality_High = 96 KAudioCodecQuality_Low = 32 KAudioCodecQuality_Max = 127 KAudioCodecQuality_Medium = 64 KAudioCodecQuality_Min = 0 )
const ( KAudioComponentErr_DuplicateDescription = -66752 KAudioComponentErr_InitializationTimedOut = -66747 KAudioComponentErr_InvalidFormat = -66746 KAudioComponentErr_NotPermitted = -66748 KAudioComponentErr_TooManyInstances = -66750 KAudioComponentErr_UnsupportedType = -66751 )
const ( 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 )
const ( KAudioConverterPropertyDitherBitDepth = 1684171124 KAudioConverterPropertyDithering = 1684632680 )
const ( KAudioConverterPropertyMaximumInputBufferSize = 2020172403 KAudioConverterSampleRateConverterAlgorithm = 1936876393 )
const ( 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 KAudioConverterInputChannelLayout = 1768123424 KAudioConverterOutputChannelLayout = 1868786720 KAudioConverterPrimeInfo = 1886546285 KAudioConverterPrimeMethod = 1886547309 KAudioConverterPropertyBitDepthHint = 1633903204 KAudioConverterPropertyCalculateInputBufferSize = 1667850867 KAudioConverterPropertyCalculateOutputBufferSize = 1668244083 KAudioConverterPropertyChannelMixMap = 1835884912 KAudioConverterPropertyFormatList = 1718383476 KAudioConverterPropertyInputCodecParameters = 1768121456 KAudioConverterPropertyMaximumInputPacketSize = 2020175987 KAudioConverterPropertyMaximumOutputPacketSize = 2020569203 KAudioConverterPropertyMinimumInputBufferSize = 1835623027 KAudioConverterPropertyMinimumOutputBufferSize = 1836016243 KAudioConverterPropertyOutputCodecParameters = 1868784752 KAudioConverterPropertyPerformDownmix = 1684892024 KAudioConverterPropertySettings = 1633906803 KAudioConverterSampleRateConverterComplexity = 1936876385 KAudioConverterSampleRateConverterInitialPhase = 1936876400 KAudioConverterSampleRateConverterQuality = 1936876401 )
const ( KAudioConverterQuality_High = 96 KAudioConverterQuality_Low = 32 KAudioConverterQuality_Max = 127 KAudioConverterQuality_Medium = 64 KAudioConverterQuality_Min = 0 )
const ( KAudioConverterSampleRateConverterComplexity_Linear = 1818848869 KAudioConverterSampleRateConverterComplexity_Mastering = 1650553971 KAudioConverterSampleRateConverterComplexity_MinimumPhase = 1835626096 KAudioConverterSampleRateConverterComplexity_Normal = 1852797549 )
const ( KAudioDecoderComponentType = 1633969507 KAudioEncoderComponentType = 1634037347 KAudioUnityCodecComponentType = 1633903715 )
const ( KAudioFile3GP2Type = 862416946 KAudioFile3GPType = 862417008 KAudioFileAAC_ADTSType = 1633973363 KAudioFileAC3Type = 1633889587 KAudioFileAIFCType = 1095321155 KAudioFileAIFFType = 1095321158 KAudioFileAMRType = 1634562662 KAudioFileBW64Type = 1113011764 KAudioFileCAFType = 1667327590 KAudioFileFLACType = 1718378851 KAudioFileLATMInLOASType = 1819238771 KAudioFileM4AType = 1832149350 KAudioFileM4BType = 1832149606 KAudioFileMP1Type = 1297106737 KAudioFileMP2Type = 1297106738 KAudioFileMP3Type = 1297106739 KAudioFileMPEG4Type = 1836069990 KAudioFileNextType = 1315264596 KAudioFileRF64Type = 1380333108 KAudioFileSoundDesigner2Type = 1399075430 KAudioFileWAVEType = 1463899717 KAudioFileWave64Type = 1463170150 )
const ( 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 )
const ( KAudioFileCloseSelect = 6 KAudioFileCountUserDataSelect = 20 KAudioFileCreateSelect = 1 KAudioFileCreateURLSelect = 25 KAudioFileDataIsThisFormatSelect = 17 KAudioFileExtensionIsThisFormatSelect = 15 KAudioFileFileDataIsThisFormatSelect = 27 KAudioFileFileIsThisFormatSelect = 16 KAudioFileGetGlobalInfoSelect = 19 KAudioFileGetGlobalInfoSizeSelect = 18 KAudioFileGetPropertyInfoSelect = 12 KAudioFileGetPropertySelect = 13 KAudioFileGetUserDataAtOffsetSelect = 30 KAudioFileGetUserDataSelect = 22 KAudioFileGetUserDataSize64Select = 29 KAudioFileGetUserDataSizeSelect = 21 KAudioFileInitializeSelect = 3 KAudioFileInitializeWithCallbacksSelect = 5 KAudioFileOpenSelect = 2 KAudioFileOpenURLSelect = 26 KAudioFileOpenWithCallbacksSelect = 4 KAudioFileOptimizeSelect = 7 KAudioFileReadBytesSelect = 8 KAudioFileReadPacketDataSelect = 28 KAudioFileReadPacketsSelect = 10 KAudioFileRemoveUserDataSelect = 24 KAudioFileSetPropertySelect = 14 KAudioFileSetUserDataSelect = 23 KAudioFileWriteBytesSelect = 9 KAudioFileWritePacketsSelect = 11 )
const ( 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 )
const ( KAudioFileLoopDirection_Backward = 3 KAudioFileLoopDirection_Forward = 1 KAudioFileLoopDirection_ForwardAndBackward = 2 KAudioFileLoopDirection_NoLooping = 0 )
const ( 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 )
const ( 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 )
const ( 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 )
const ( KAudioFileBadPropertySizeError = 561211770 KAudioFileDoesNotAllow64BitDataSizeError = 1868981823 KAudioFileEndOfFileError = -39 KAudioFileFileNotFoundError = -43 KAudioFileInvalidChunkError = 1667787583 KAudioFileInvalidFileError = 1685348671 KAudioFileInvalidPacketDependencyError = 1684369471 KAudioFileInvalidPacketOffsetError = 1885563711 KAudioFileNotOpenError = -38 KAudioFileNotOptimizedError = 1869640813 KAudioFileOperationNotSupportedError = 1869627199 KAudioFilePermissionsError = 1886547263 KAudioFilePositionError = -40 KAudioFileUnspecifiedError = 2003334207 KAudioFileUnsupportedDataFormatError = 1718449215 KAudioFileUnsupportedFileTypeError = 1954115647 KAudioFileUnsupportedPropertyError = 1886681407 )
const ( 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 )
const ( KAudioFormatBadPropertySizeError = 561211770 KAudioFormatBadSpecifierSizeError = 561213539 KAudioFormatUnknownFormatError = 560360820 KAudioFormatUnspecifiedError = 2003329396 KAudioFormatUnsupportedDataFormatError = 1718449215 KAudioFormatUnsupportedPropertyError = 1886547824 )
const ( KAudioHardwareServiceDeviceProperty_VirtualMainBalance = 1986880099 KAudioHardwareServiceDeviceProperty_VirtualMainVolume = 1986885219 KAudioHardwareServiceDeviceProperty_VirtualMasterBalance = 1986880099 KAudioHardwareServiceDeviceProperty_VirtualMasterVolume = 1986885219 KAudioHardwareServiceProperty_ServiceRestarted = 1936880500 )
const ( KAudioOutputUnitProperty_ChannelMap = 2002 KAudioOutputUnitProperty_CurrentDevice = 2000 KAudioOutputUnitProperty_EnableIO = 2003 KAudioOutputUnitProperty_HasIO = 2006 KAudioOutputUnitProperty_IsRunning = 2001 KAudioOutputUnitProperty_OSWorkgroup = 2015 KAudioOutputUnitProperty_SetInputCallback = 2005 KAudioOutputUnitProperty_StartTime = 2004 KAudioOutputUnitProperty_StartTimestampsAtZero = 2007 )
const ( KAudioOutputUnitProperty_HostReceivesRemoteControlEvents = 2011 KAudioOutputUnitProperty_HostTransportState = 2013 KAudioOutputUnitProperty_MIDICallbacks = 2010 KAudioOutputUnitProperty_NodeComponentDescription = 2014 KAudioOutputUnitProperty_RemoteControlToHost = 2012 )
const ( KAudioOutputUnitRange = 512 KAudioOutputUnitStartSelect = 513 KAudioOutputUnitStopSelect = 514 )
const ( 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 )
const ( KAudioQueueParam_Pan = 13 KAudioQueueParam_Pitch = 3 KAudioQueueParam_PlayRate = 2 KAudioQueueParam_Volume = 1 KAudioQueueParam_VolumeRampTime = 4 )
const ( KAudioQueueDeviceProperty_NumberChannels = 1634821219 KAudioQueueDeviceProperty_SampleRate = 1634825074 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 )
const ( KAudioQueueTimePitchAlgorithm_Spectral = 1936745827 KAudioQueueTimePitchAlgorithm_TimeDomain = 1953064047 KAudioQueueTimePitchAlgorithm_Varispeed = 1987276900 )
const ( KAudioServicesBadPropertySizeError = 561211770 KAudioServicesBadSpecifierSizeError = 561213539 KAudioServicesNoError = 0 KAudioServicesSystemSoundClientTimedOutError = -1501 KAudioServicesSystemSoundExceededMaximumDurationError = -1502 KAudioServicesSystemSoundUnspecifiedError = -1500 KAudioServicesUnsupportedPropertyError = 1886681407 )
const ( KAudioServicesPropertyCompletePlaybackIfAppDies = 1768318057 KAudioServicesPropertyIsUISound = 1769174377 )
const ( KAudioSessionBeginInterruption = 1 KAudioSessionEndInterruption = 0 )
const ( KAudioSessionCategory_AmbientSound = 1634558569 KAudioSessionCategory_AudioProcessing = 1886547811 KAudioSessionCategory_MediaPlayback = 1835361385 KAudioSessionCategory_PlayAndRecord = 1886151026 KAudioSessionCategory_RecordAudio = 1919247201 KAudioSessionCategory_SoloAmbientSound = 1936682095 )
const ( KAudioSessionCategory_LiveAudio = 1818850917 KAudioSessionCategory_UserInterfaceSoundEffects = 1969841784 )
const ( KAudioSessionInterruptionType_ShouldNotResume = 561148781 KAudioSessionInterruptionType_ShouldResume = 1769108333 )
const ( KAudioSessionMode_Default = 1684434036 KAudioSessionMode_GameChat = 1735222132 KAudioSessionMode_Measurement = 1836281204 KAudioSessionMode_VideoRecording = 1987208036 KAudioSessionMode_VoiceChat = 1986225012 )
const ( KAudioServicesNoHardwareError = 1852794999 KAudioSessionAlreadyInitialized = 1768843636 KAudioSessionBadPropertySizeError = 561211770 KAudioSessionIncompatibleCategory = 560161140 KAudioSessionInitializationError = 1768843583 KAudioSessionNoCategorySet = 1063477620 KAudioSessionNoError = 0 KAudioSessionNotActiveError = 560030580 KAudioSessionNotInitialized = 560557673 KAudioSessionUnspecifiedError = 2003329396 KAudioSessionUnsupportedPropertyError = 1886681407 )
const ( KAudioSessionOverrideAudioRoute_None = 0 KAudioSessionOverrideAudioRoute_Speaker = 1936747378 )
const ( KAudioSessionProperty_AudioCategory = 1633902964 KAudioSessionProperty_AudioInputAvailable = 1634296182 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 )
const ( KAudioSessionRouteChangeReason_CategoryChange = 3 KAudioSessionRouteChangeReason_NewDeviceAvailable = 1 KAudioSessionRouteChangeReason_NoSuitableRouteForCategory = 7 KAudioSessionRouteChangeReason_Override = 4 KAudioSessionRouteChangeReason_RouteConfigurationChange = 8 KAudioSessionRouteChangeReason_Unknown = 0 KAudioSessionRouteChangeReason_WakeFromSleep = 6 )
const ( 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 )
const ( KAudioUnitErr_IllegalInstrument = -10873 KAudioUnitErr_InstrumentTypeNotFound = -10872 )
const ( KAudioComponentErr_InstanceInvalidated = -66749 KAudioComponentErr_InstanceTimedOut = -66754 KAudioUnitErr_CannotDoInCurrentContext = -10863 KAudioUnitErr_ComponentManagerNotSupported = -66740 KAudioUnitErr_ExtensionNotFound = -66744 KAudioUnitErr_FailedInitialization = -10875 KAudioUnitErr_FileNotSpecified = -10869 KAudioUnitErr_FormatNotSupported = -10868 KAudioUnitErr_Initialized = -10849 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 )
const ( KAudioUnitMigrateProperty_FromPlugin = 4000 KAudioUnitMigrateProperty_OldAutomation = 4001 )
const ( KAudioUnitOfflineProperty_InputSize = 3020 KAudioUnitOfflineProperty_OutputSize = 3021 KAudioUnitOfflineProperty_PreflightName = 3024 KAudioUnitOfflineProperty_PreflightRequirements = 3023 KAudioUnitOfflineProperty_StartOffset = 3022 )
const ( KAudioUnitParameterFlag_Global = 1 KAudioUnitParameterFlag_Group = 8 KAudioUnitParameterFlag_Input = 2 KAudioUnitParameterFlag_Output = 4 )
const ( KAudioUnitProperty_3DMixerAttenuationCurve = 3013 KAudioUnitProperty_3DMixerDistanceAtten = 3004 KAudioUnitProperty_3DMixerDistanceParams = 3010 KAudioUnitProperty_3DMixerRenderingFlags = 3003 KAudioUnitProperty_DopplerShift = 3002 KAudioUnitProperty_ReverbPreset = 3012 )
const ( KAudioUnitProperty_AddParameterMIDIMapping = 42 KAudioUnitProperty_AllParameterMIDIMappings = 41 KAudioUnitProperty_HotMapParameterMIDIMapping = 44 KAudioUnitProperty_RemoveParameterMIDIMapping = 43 )
const ( KAudioUnitProperty_AUHostIdentifier = 46 KAudioUnitProperty_AudioChannelLayout = 19 KAudioUnitProperty_AudioUnitMIDIProtocol = 64 KAudioUnitProperty_BypassEffect = 21 KAudioUnitProperty_CPULoad = 6 KAudioUnitProperty_ClassInfo = 0 KAudioUnitProperty_ClassInfoFromDocument = 50 KAudioUnitProperty_CocoaUI = 31 KAudioUnitProperty_ContextName = 25 KAudioUnitProperty_DependentParameters = 45 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_IconLocation = 39 KAudioUnitProperty_InPlaceProcessing = 29 KAudioUnitProperty_InputSamplesInOutput = 49 KAudioUnitProperty_LastRenderError = 22 KAudioUnitProperty_LastRenderSampleTime = 61 KAudioUnitProperty_Latency = 12 KAudioUnitProperty_LoadedOutOfProcess = 62 KAudioUnitProperty_MIDIOutputBufferSizeHint = 66 KAudioUnitProperty_MIDIOutputCallback = 48 KAudioUnitProperty_MIDIOutputCallbackInfo = 47 KAudioUnitProperty_MIDIOutputEventListCallback = 63 KAudioUnitProperty_MakeConnection = 1 KAudioUnitProperty_MaximumFramesPerSlice = 14 KAudioUnitProperty_NickName = 54 KAudioUnitProperty_OfflineRender = 37 KAudioUnitProperty_ParameterClumpName = 35 KAudioUnitProperty_ParameterHistoryInfo = 53 KAudioUnitProperty_ParameterIDName = 34 KAudioUnitProperty_ParameterInfo = 4 KAudioUnitProperty_ParameterList = 3 KAudioUnitProperty_ParameterStringFromValue = 33 KAudioUnitProperty_ParameterValueFromString = 38 KAudioUnitProperty_ParameterValueStrings = 16 KAudioUnitProperty_ParametersForOverview = 57 KAudioUnitProperty_PresentPreset = 36 KAudioUnitProperty_PresentationLatency = 40 KAudioUnitProperty_RenderContextObserver = 60 KAudioUnitProperty_RenderQuality = 26 KAudioUnitProperty_RequestViewController = 56 KAudioUnitProperty_SampleRate = 2 KAudioUnitProperty_SetExternalBuffer = 15 KAudioUnitProperty_SetRenderCallback = 23 KAudioUnitProperty_ShouldAllocateBuffer = 51 KAudioUnitProperty_StreamFormat = 8 KAudioUnitProperty_SupportedChannelLayoutTags = 32 KAudioUnitProperty_SupportedNumChannels = 13 KAudioUnitProperty_SupportsMPE = 58 KAudioUnitProperty_TailTime = 20 )
const ( KAudioUnitProperty_DeferredRendererExtraLatency = 3321 KAudioUnitProperty_DeferredRendererPullSize = 3320 KAudioUnitProperty_DeferredRendererWaitFrames = 3322 )
const ( KAudioUnitProperty_InputAnchorTimeStamp = 3016 KAudioUnitProperty_MatrixDimensions = 3009 KAudioUnitProperty_MatrixLevels = 3006 KAudioUnitProperty_MeterClipping = 3011 KAudioUnitProperty_MeteringMode = 3007 )
const ( KAudioUnitProperty_IsInterAppConnected = 101 KAudioUnitProperty_PeerURL = 102 KAudioUnitProperty_RemoteControlEventListener = 100 )
const ( KAudioUnitProperty_ReverbRoomType = 10 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_UsesInternalReverb = 1005 )
const ( KAudioOfflineUnitProperty_InputSize = 3020 KAudioOfflineUnitProperty_OutputSize = 3021 KAudioUnitProperty_BusCount = 11 KAudioUnitProperty_CurrentPreset = 28 KAudioUnitProperty_MIDIControlMapping = 17 KAudioUnitProperty_ParameterValueName = 33 KAudioUnitProperty_SRCAlgorithm = 9 )
const ( KAudioUnitProperty_CurrentPlayTime = 3302 KAudioUnitProperty_ScheduleAudioSlice = 3300 KAudioUnitProperty_ScheduleStartTimeStamp = 3301 )
const ( KAudioUnitProperty_ScheduledFileBufferSizeFrames = 3313 KAudioUnitProperty_ScheduledFileIDs = 3310 KAudioUnitProperty_ScheduledFileNumberBuffers = 3314 KAudioUnitProperty_ScheduledFilePrime = 3312 KAudioUnitProperty_ScheduledFileRegion = 3311 )
const ( KAudioUnitAddPropertyListenerSelect = 10 KAudioUnitAddRenderNotifySelect = 15 KAudioUnitComplexRenderSelect = 19 KAudioUnitGetParameterSelect = 6 KAudioUnitGetPropertyInfoSelect = 3 KAudioUnitGetPropertySelect = 4 KAudioUnitInitializeSelect = 1 KAudioUnitProcessMultipleSelect = 21 KAudioUnitProcessSelect = 20 KAudioUnitRange = 0 KAudioUnitRemovePropertyListenerSelect = 11 KAudioUnitRemovePropertyListenerWithUserDataSelect = 18 KAudioUnitRemoveRenderNotifySelect = 16 KAudioUnitRenderSelect = 14 KAudioUnitResetSelect = 9 KAudioUnitScheduleParametersSelect = 17 KAudioUnitSetParameterSelect = 7 KAudioUnitSetPropertySelect = 5 KAudioUnitUninitializeSelect = 2 )
const ( KAudioUnitSRCAlgorithm_MediumQuality = 1668510307 KAudioUnitSRCAlgorithm_Polyphase = 1886350457 )
const ( KAudioUnitSampleRateConverterComplexity_Linear = 1818848869 KAudioUnitSampleRateConverterComplexity_Mastering = 1650553971 KAudioUnitSampleRateConverterComplexity_Normal = 1852797549 )
const ( KAudioUnitScope_Global = 0 KAudioUnitScope_Group = 3 KAudioUnitScope_Input = 1 KAudioUnitScope_Layer = 6 KAudioUnitScope_LayerItem = 7 KAudioUnitScope_Note = 5 KAudioUnitScope_Output = 2 KAudioUnitScope_Part = 4 )
const ( KAudioUnitSubType_AUAudioMix = 1634560376 KAudioUnitSubType_AUConverter = 1668247158 KAudioUnitSubType_AUiPodTimeOther = 1768977519 KAudioUnitSubType_DeferredRenderer = 1684366962 KAudioUnitSubType_Merger = 1835364967 KAudioUnitSubType_MultiSplitter = 1836281964 KAudioUnitSubType_NewTimePitch = 1853191280 KAudioUnitSubType_RoundTripAAC = 1918984547 KAudioUnitSubType_Splitter = 1936747636 KAudioUnitSubType_Varispeed = 1986097769 )
const ( KAudioUnitSubType_DLSSynth = 1684828960 KAudioUnitSubType_MIDISynth = 1836284270 KAudioUnitSubType_Sampler = 1935764848 )
const ( KAudioUnitSubType_GenericOutput = 1734700658 KAudioUnitSubType_VoiceProcessingIO = 1987078511 )
const ( KAudioUnitSubType_AUFilter = 1718185076 KAudioUnitSubType_GraphicEQ = 1735550321 KAudioUnitSubType_MatrixReverb = 1836213622 KAudioUnitSubType_MultiBandCompressor = 1835232624 KAudioUnitSubType_NetSend = 1853058660 KAudioUnitSubType_Pitch = 1953329268 KAudioUnitSubType_RogerBeep = 1919903602 )
const ( KAudioUnitSubType_DefaultOutput = 1684366880 KAudioUnitSubType_HALOutput = 1634230636 KAudioUnitSubType_SystemOutput = 1937339168 )
const ( KAudioUnitSubType_MatrixMixer = 1836608888 KAudioUnitSubType_MultiChannelMixer = 1835232632 KAudioUnitSubType_SpatialMixer = 862217581 )
const ( KAudioUnitSubType_AudioFilePlayer = 1634103404 KAudioUnitSubType_NetReceive = 1852990326 KAudioUnitSubType_ScheduledSoundPlayer = 1936945260 )
const ( KAudioUnitSubType_AUSoundIsolation = 1987012979 KAudioUnitSubType_BandPassFilter = 1651532147 KAudioUnitSubType_Delay = 1684368505 KAudioUnitSubType_Distortion = 1684632436 KAudioUnitSubType_DynamicsProcessor = 1684237680 KAudioUnitSubType_HighPassFilter = 1752195443 KAudioUnitSubType_HighShelfFilter = 1752393830 KAudioUnitSubType_LowPassFilter = 1819304307 KAudioUnitSubType_LowShelfFilter = 1819502694 KAudioUnitSubType_NBandEQ = 1851942257 KAudioUnitSubType_ParametricEQ = 1886217585 KAudioUnitSubType_PeakLimiter = 1819112562 KAudioUnitSubType_Reverb2 = 1920361010 KAudioUnitSubType_SampleDelay = 1935961209 )
const ( KAudioUnitSubType_HRTFPanner = 1752331366 KAudioUnitSubType_SoundFieldPanner = 1634558569 KAudioUnitSubType_SphericalHeadPanner = 1936746610 KAudioUnitSubType_VectorPanner = 1986158963 )
const ( KAudioUnitSubType_3DMixer = 862219640 KAudioUnitSubType_StereoMixer = 1936554098 )
const ( 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_SpeechSynthesizer = 1635087216 )
const ( KAudioUnitType_RemoteEffect = 1635086968 KAudioUnitType_RemoteGenerator = 1635086951 KAudioUnitType_RemoteInstrument = 1635086953 KAudioUnitType_RemoteMusicEffect = 1635086957 )
const ( KBandpassParam_Bandwidth = 1 KBandpassParam_CenterFrequency = 0 )
const ( 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 )
const ( 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 )
const ( KCAF_FileType = 1667327590 KCAF_FileVersion_Initial = 1 )
const ( 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 )
const ( KCAF_AudioDataChunkID = 1684108385 KCAF_ChannelLayoutChunkID = 1667785070 KCAF_EditCommentsChunkID = 1701077876 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_StreamDescriptionChunkID = 1684370275 KCAF_StringsChunkID = 1937011303 KCAF_UMIDChunkID = 1970104676 KCAF_UUIDChunkID = 1970628964 KCAF_iXMLChunkID = 1767394636 )
const ( KConverterPrimeMethod_None = 2 KConverterPrimeMethod_Normal = 1 KConverterPrimeMethod_Pre = 0 )
const ( KDelayParam_DelayTime = 1 KDelayParam_Feedback = 2 KDelayParam_LopassCutoff = 3 KDelayParam_WetDryMix = 0 )
const ( 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 )
const ( KDitherAlgorithm_NoiseShaping = 2 KDitherAlgorithm_TPDF = 1 )
const ( KDynamicRangeCompressionProfile_GeneralCompression = 6 KDynamicRangeCompressionProfile_LateNight = 1 KDynamicRangeCompressionProfile_LimitedPlaybackRange = 3 KDynamicRangeCompressionProfile_NoisyEnvironment = 2 KDynamicRangeCompressionProfile_None = 0 )
const ( KDynamicRangeControlMode_Heavy = 2 KDynamicRangeControlMode_Light = 1 KDynamicRangeControlMode_None = 0 )
const ( KDynamicsProcessorParam_AttackTime = 4 KDynamicsProcessorParam_CompressionAmount = 1000 KDynamicsProcessorParam_ExpansionRatio = 2 KDynamicsProcessorParam_ExpansionThreshold = 3 KDynamicsProcessorParam_HeadRoom = 1 KDynamicsProcessorParam_InputAmplitude = 2000 KDynamicsProcessorParam_MasterGain = 6 KDynamicsProcessorParam_OutputAmplitude = 3000 KDynamicsProcessorParam_OverallGain = 6 KDynamicsProcessorParam_ReleaseTime = 5 KDynamicsProcessorParam_Threshold = 0 )
const ( 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 )
const ( KExtAudioFilePacketTableInfoOverride_UseFileValue = -1 KExtAudioFilePacketTableInfoOverride_UseFileValueIfValid = -2 )
const ( 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 )
const ( KHighShelfParam_CutOffFrequency = 0 KHighShelfParam_Gain = 1 )
const ( KHintAdvanced = 1 KHintBasic = 0 KHintHidden = 2 )
const ( KHipassParam_CutoffFrequency = 0 KHipassParam_Resonance = 1 )
const ( KInstrumentType_AUPreset = 2 KInstrumentType_Audiofile = 3 KInstrumentType_DLSPreset = 1 KInstrumentType_EXS24 = 4 KInstrumentType_SF2Preset = 1 )
const ( KLimiterParam_AttackTime = 0 KLimiterParam_DecayTime = 1 KLimiterParam_PreGain = 2 )
const ( KLowPassParam_CutoffFrequency = 0 KLowPassParam_Resonance = 1 )
const ( 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 )
const ( KMultiChannelMixerParam_Enable = 1 KMultiChannelMixerParam_Pan = 2 KMultiChannelMixerParam_PostAveragePower = 3000 KMultiChannelMixerParam_PostPeakHoldLevel = 4000 KMultiChannelMixerParam_PreAveragePower = 1000 KMultiChannelMixerParam_PrePeakHoldLevel = 2000 KMultiChannelMixerParam_Volume = 0 )
const ( 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 )
const ( 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 )
const ( KMusicDeviceParam_ReverbVolume = 2 KMusicDeviceParam_Tuning = 0 KMusicDeviceParam_Volume = 1 )
const ( KAudioUnitProperty_PannerMode = 3008 KMusicDeviceProperty_GroupOutputBus = 1002 KMusicDeviceProperty_SoundBankFSSpec = 1003 )
const ( KMusicDeviceProperty_BankName = 1007 KMusicDeviceProperty_InstrumentCount = 1000 KMusicDeviceProperty_SoundBankURL = 1100 )
const ( KMusicDeviceProperty_InstrumentName = 1001 KMusicDeviceProperty_InstrumentNumber = 1004 )
const ( KMusicDeviceProperty_DualSchedulingMode = 1013 KMusicDeviceProperty_MIDIXMLNames = 1006 KMusicDeviceProperty_PartGroup = 1010 KMusicDeviceProperty_SupportsStartStopNote = 1014 )
const ( KMusicDeviceProperty_SoundBankData = 1008 KMusicDeviceProperty_SoundBankFSRef = 1012 KMusicDeviceProperty_StreamFromDisk = 1011 KMusicDeviceProperty_UsesInternalReverb = 1005 )
const ( KMusicDeviceMIDIEventListSelect = 263 KMusicDeviceMIDIEventSelect = 257 KMusicDevicePrepareInstrumentSelect = 259 KMusicDeviceRange = 256 KMusicDeviceReleaseInstrumentSelect = 260 KMusicDeviceStartNoteSelect = 261 KMusicDeviceStopNoteSelect = 262 KMusicDeviceSysExSelect = 258 )
const ( KMusicDeviceSampleFrameMask_IsScheduled = 16777216 KMusicDeviceSampleFrameMask_SampleOffset = 16777215 )
const ( KMusicEventType_AUPreset = 10 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 )
const ( KMusicNoteEvent_Unused = 4294967295 KMusicNoteEvent_UseGroupInstrument = 4294967295 )
const ( KNewTimePitchParam_EnablePeakLocking = 6 KNewTimePitchParam_EnableSpectralCoherence = 6 KNewTimePitchParam_EnableTransientPreservation = 7 KNewTimePitchParam_Overlap = 4 KNewTimePitchParam_Pitch = 1 KNewTimePitchParam_Rate = 0 KNewTimePitchParam_Smoothness = 4 )
const ( KOfflinePreflight_NotRequired = 0 KOfflinePreflight_Optional = 1 KOfflinePreflight_Required = 2 )
const ( KOtherPluginFormat_AU = 3 KOtherPluginFormat_Undefined = 0 KOtherPluginFormat_kMAS = 1 KOtherPluginFormat_kVST = 2 )
const ( KPannerParam_Azimuth = 1 KPannerParam_CoordScale = 4 KPannerParam_Distance = 3 KPannerParam_Elevation = 2 KPannerParam_Gain = 0 KPannerParam_RefDistance = 5 )
const ( KParametricEQParam_CenterFreq = 0 KParametricEQParam_Gain = 2 KParametricEQParam_Q = 1 )
const ( KProgramTargetLevel_Minus20dB = 3 KProgramTargetLevel_Minus23dB = 2 KProgramTargetLevel_Minus31dB = 1 KProgramTargetLevel_None = 0 )
const ( KRandomParam_BoundA = 0 KRandomParam_BoundB = 1 KRandomParam_Curve = 2 )
const ( KRenderQuality_High = 96 KRenderQuality_Low = 32 KRenderQuality_Max = 127 KRenderQuality_Medium = 64 KRenderQuality_Min = 0 )
const ( KReverb2Param_DecayTimeAt0Hz = 4 KReverb2Param_DecayTimeAtNyquist = 5 KReverb2Param_DryWetMix = 0 KReverb2Param_Gain = 1 KReverb2Param_MaxDelayTime = 3 KReverb2Param_MinDelayTime = 2 KReverb2Param_RandomizeReflections = 6 )
const ( KReverbParam_DryWetMix = 0 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 )
const ( KReverbParam_FilterBandwidth = 15 KReverbParam_FilterEnable = 18 KReverbParam_FilterFrequency = 14 KReverbParam_FilterGain = 16 KReverbParam_FilterType = 17 )
const ( KRogerBeepParam_InGateThreshold = 0 KRogerBeepParam_InGateThresholdTime = 1 KRogerBeepParam_OutGateThreshold = 2 KRogerBeepParam_OutGateThresholdTime = 3 KRogerBeepParam_RogerGain = 6 KRogerBeepParam_RogerType = 5 KRogerBeepParam_Sensitivity = 4 )
const ( KRoundTripAACParam_BitRate = 1 KRoundTripAACParam_CompressedFormatSampleRate = 3 KRoundTripAACParam_EncodingStrategy = 1 KRoundTripAACParam_Format = 0 KRoundTripAACParam_Quality = 2 KRoundTripAACParam_RateOrQuality = 2 )
const ( KSequenceTrackProperty_AutomatedParameters = 4 KSequenceTrackProperty_LoopInfo = 0 KSequenceTrackProperty_MuteStatus = 2 KSequenceTrackProperty_OffsetTime = 1 KSequenceTrackProperty_SoloStatus = 3 KSequenceTrackProperty_TimeResolution = 6 KSequenceTrackProperty_TrackLength = 5 )
const ( 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 )
const ( KSpeakerConfiguration_5_0 = 3 KSpeakerConfiguration_5_1 = 3 KSpeakerConfiguration_HeadPhones = 0 KSpeakerConfiguration_Quad = 2 KSpeakerConfiguration_Stereo = 1 )
const ( KStereoMixerParam_Pan = 1 KStereoMixerParam_PostAveragePower = 3000 KStereoMixerParam_PostPeakHoldLevel = 4000 KStereoMixerParam_PreAveragePower = 1000 KStereoMixerParam_PrePeakHoldLevel = 2000 KStereoMixerParam_Volume = 0 )
const ( KSystemSoundID_FlashScreen = 4094 KSystemSoundID_UserPreferredAlert = 4096 KUserPreferredAlert = 4096 )
const ( KTimePitchParam_EffectBlend = 2 KTimePitchParam_Pitch = 1 KTimePitchParam_Rate = 0 )
const ( KVarispeedParam_PlaybackCents = 1 KVarispeedParam_PlaybackRate = 0 )
const (
AUEventSampleTimeImmediate = -4294967296
)
const (
KAUMIDISynthProperty_EnablePreload = 4119
)
const (
KAUParameterListener_AnyParameter = 4294967295
)
const (
KAUVoiceIOErr_UnexpectedNumberOfInputChannels = -66784
)
const (
KAUVoiceIOProperty_MutedSpeechActivityEventListener = 2106
)
const (
KAUVoiceIOProperty_OtherAudioDuckingConfiguration = 2108
)
const (
KAUVoiceIOProperty_VoiceProcessingQuality = 2103
)
const (
KAudioCodecPropertyMinimumDelayMode = 1835296108
)
const (
KAudioFileMarkerType_Generic = 0
)
const (
KAudioQueueProperty_ChannelAssignments = 1634820961
)
const (
KAudioSessionProperty_AudioRoute = 1919907188
)
const (
KAudioSessionSetActiveFlag_NotifyOthersOnDeactivation = 1
)
const (
KAudioUnitClumpID_System = 0
)
const (
KAudioUnitManufacturer_Apple = 1634758764
)
const (
KAudioUnitParameterFlag_HasName = 2097152
)
const (
KAudioUnitParameterName_Full = -1
)
const (
KAudioUnitProperty_DistanceAttenuationData = 3600
)
const (
KAudioUnitProperty_SampleRateConverterComplexity = 3014
)
const (
KAudioUnitProperty_SpeakerConfiguration = 3001
)
const (
KAudioUnitSubType_TimePitch = 1953329268
)
const (
KGraphicEQParam_NumberOfBands = 10000
)
const (
KHALOutputParam_Volume = 14
)
const (
KMusicEventType_ExtendedControl = 2
)
const (
KNumberOfResponseFrequencies = 1024
)
const (
KSampleDelayParam_DelayFrames = 0
)
const (
KSystemSoundID_Vibrate = 4095
)
Variables ¶
This section is empty.
Functions ¶
func AUAudioUnitInstantiateWithComponentDescriptionOptionsCompletionHandler ¶
func AUAudioUnitInstantiateWithComponentDescriptionOptionsCompletionHandler(componentDescription AudioComponentDescription, options AudioComponentInstantiationOptions, completionHandler func(*AUAudioUnit, unsafe.Pointer))
Asynchronously creates an audio unit instance.
func AUAudioUnitRegisterSubclassAsComponentDescriptionNameVersion ¶
func AUAudioUnitRegisterSubclassAsComponentDescriptionNameVersion(cls objc.Class, componentDescription AudioComponentDescription, name *foundation.NSString, version uint)
Registers an audio unit subclass.
func AUEventListenerCreate ¶
func AUEventListenerNotify ¶
func AUGraphAddNode ¶
func AUGraphAddNode(inGraph unsafe.Pointer, inDescription *AudioComponentDescription, outNode *int) int
func AUGraphAddRenderNotify ¶
func AUGraphClearConnections ¶
func AUGraphClose ¶
func AUGraphConnectNodeInput ¶
func AUGraphGetCPULoad ¶
func AUGraphGetIndNode ¶
func AUGraphGetInteractionInfo ¶
func AUGraphGetInteractionInfo(inGraph unsafe.Pointer, inInteractionIndex uint, outInteraction *AUNodeInteraction) int
func AUGraphGetMaxCPULoad ¶
func AUGraphGetNodeConnections
deprecated
func AUGraphGetNodeCount ¶
func AUGraphGetNodeInfo
deprecated
func AUGraphGetNodeInfo(inGraph unsafe.Pointer, inNode int, outDescription *carboncore.ComponentDescription, outClassDataSize *uint, outClassData unsafe.Pointer, outAudioUnit **carboncore.ComponentInstanceRecord) int
Deprecated: no longer supported
func AUGraphGetNumberOfConnections
deprecated
func AUGraphInitialize ¶
func AUGraphIsInitialized ¶
func AUGraphNewNode
deprecated
func AUGraphNewNode(inGraph unsafe.Pointer, inDescription *carboncore.ComponentDescription, inClassDataSize uint, inClassData unsafe.Pointer, outNode *int) int
Deprecated: no longer supported
func AUGraphNewNodeSubGraph
deprecated
func AUGraphNodeInfo ¶
func AUGraphNodeInfo(inGraph unsafe.Pointer, inNode int, outDescription *AudioComponentDescription, outAudioUnit **carboncore.ComponentInstanceRecord) int
func AUGraphOpen ¶
func AUGraphStart ¶
func AUGraphStop ¶
func AUGraphUninitialize ¶
func AUListenerAddParameter ¶
func AUListenerCreate ¶
func AUListenerCreateWithDispatchQueue ¶
func AUListenerCreateWithDispatchQueue(outListener unsafe.Pointer, inNotificationInterval float32, inDispatchQueue *foundation.NSObject, inBlock func(unsafe.Pointer, *AudioUnitParameter, float32)) int
func AUListenerDispose ¶
func AUParameterFormatValue ¶
func AUParameterFormatValue(inParameterValue float64, inParameter *AudioUnitParameter, inTextBuffer string, inDigits uint) string
func AUParameterSet ¶
func AUParameterValueFromLinear ¶
func AUParameterValueFromLinear(inLinearValue float32, inParameter *AudioUnitParameter) float32
func AUParameterValueToLinear ¶
func AUParameterValueToLinear(inParameterValue float32, inParameter *AudioUnitParameter) float32
func AudioCodecAppendInputBufferList ¶
func AudioCodecAppendInputBufferList(inCodec *carboncore.ComponentInstanceRecord, inBufferList *coreaudiotypes.AudioBufferList, ioNumberPackets *uint, inPacketDescription *coreaudiotypes.AudioStreamPacketDescription, outBytesConsumed *uint) int
func AudioCodecAppendInputData ¶
func AudioCodecAppendInputData(inCodec *carboncore.ComponentInstanceRecord, inInputData unsafe.Pointer, ioInputDataByteSize *uint, ioNumberPackets *uint, inPacketDescription *coreaudiotypes.AudioStreamPacketDescription) int
func AudioCodecGetProperty ¶
func AudioCodecGetProperty(inCodec *carboncore.ComponentInstanceRecord, inPropertyID uint, ioPropertyDataSize *uint, outPropertyData unsafe.Pointer) int
func AudioCodecGetPropertyInfo ¶
func AudioCodecGetPropertyInfo(inCodec *carboncore.ComponentInstanceRecord, inPropertyID uint, outSize *uint, outWritable *uint8) int
func AudioCodecInitialize ¶
func AudioCodecInitialize(inCodec *carboncore.ComponentInstanceRecord, inInputFormat *coreaudiotypes.AudioStreamBasicDescription, inOutputFormat *coreaudiotypes.AudioStreamBasicDescription, inMagicCookie unsafe.Pointer, inMagicCookieByteSize uint) int
func AudioCodecProduceOutputBufferList ¶
func AudioCodecProduceOutputBufferList(inCodec *carboncore.ComponentInstanceRecord, ioBufferList *coreaudiotypes.AudioBufferList, ioNumberPackets *uint, outPacketDescription *coreaudiotypes.AudioStreamPacketDescription, outStatus *uint) int
func AudioCodecProduceOutputPackets ¶
func AudioCodecProduceOutputPackets(inCodec *carboncore.ComponentInstanceRecord, outOutputData unsafe.Pointer, ioOutputDataByteSize *uint, ioNumberPackets *uint, outPacketDescription *coreaudiotypes.AudioStreamPacketDescription, outStatus *uint) int
func AudioCodecReset ¶
func AudioCodecReset(inCodec *carboncore.ComponentInstanceRecord) int
func AudioCodecSetProperty ¶
func AudioCodecSetProperty(inCodec *carboncore.ComponentInstanceRecord, inPropertyID uint, inPropertyDataSize uint, inPropertyData unsafe.Pointer) int
func AudioCodecUninitialize ¶
func AudioCodecUninitialize(inCodec *carboncore.ComponentInstanceRecord) int
func AudioComponentCopyName ¶
func AudioComponentCount ¶
func AudioComponentCount(inDesc *AudioComponentDescription) uint
func AudioComponentFindNext ¶
func AudioComponentFindNext(inComponent unsafe.Pointer, inDesc *AudioComponentDescription) unsafe.Pointer
func AudioComponentGetDescription ¶
func AudioComponentGetDescription(inComponent unsafe.Pointer, outDesc *AudioComponentDescription) int
func AudioComponentGetIcon
deprecated
func AudioComponentInstanceCanDo ¶
func AudioComponentInstanceCanDo(inInstance *carboncore.ComponentInstanceRecord, inSelectorID int16) uint8
func AudioComponentInstanceDispose ¶
func AudioComponentInstanceDispose(inInstance *carboncore.ComponentInstanceRecord) int
func AudioComponentInstanceGetComponent ¶
func AudioComponentInstanceGetComponent(inInstance *carboncore.ComponentInstanceRecord) unsafe.Pointer
func AudioComponentInstanceNew ¶
func AudioComponentInstanceNew(inComponent unsafe.Pointer, outInstance **carboncore.ComponentInstanceRecord) int
func AudioComponentInstantiate ¶
func AudioComponentInstantiate(inComponent unsafe.Pointer, inOptions AudioComponentInstantiationOptions, inCompletionHandler func(*carboncore.ComponentInstanceRecord, int))
func AudioComponentRegister ¶
func AudioComponentValidate ¶
func AudioConverterConvertComplexBuffer ¶
func AudioConverterConvertComplexBuffer(inAudioConverter unsafe.Pointer, inNumberPCMFrames uint, inInputData *coreaudiotypes.AudioBufferList, outOutputData *coreaudiotypes.AudioBufferList) int
func AudioConverterDispose ¶
func AudioConverterFillComplexBuffer ¶
func AudioConverterFillComplexBuffer(inAudioConverter unsafe.Pointer, inInputDataProc unsafe.Pointer, inInputDataProcUserData unsafe.Pointer, ioOutputDataPacketSize *uint, outOutputData *coreaudiotypes.AudioBufferList, outPacketDescription *coreaudiotypes.AudioStreamPacketDescription) int
func AudioConverterFillComplexBufferRealtimeSafe ¶
func AudioConverterFillComplexBufferRealtimeSafe(inAudioConverter unsafe.Pointer, inInputDataProc unsafe.Pointer, inInputDataProcUserData unsafe.Pointer, ioOutputDataPacketSize *uint, outOutputData *coreaudiotypes.AudioBufferList, outPacketDescription *coreaudiotypes.AudioStreamPacketDescription) int
func AudioConverterFillComplexBufferWithPacketDependencies ¶
func AudioConverterFillComplexBufferWithPacketDependencies(inAudioConverter unsafe.Pointer, inInputDataProc unsafe.Pointer, inInputDataProcUserData unsafe.Pointer, ioOutputDataPacketSize *uint, outOutputData *coreaudiotypes.AudioBufferList, outPacketDescriptions *coreaudiotypes.AudioStreamPacketDescription, outPacketDependencies *coreaudiotypes.AudioStreamPacketDependencyDescription) int
func AudioConverterNew ¶
func AudioConverterNew(inSourceFormat *coreaudiotypes.AudioStreamBasicDescription, inDestinationFormat *coreaudiotypes.AudioStreamBasicDescription, outAudioConverter unsafe.Pointer) int
func AudioConverterNewSpecific ¶
func AudioConverterNewSpecific(inSourceFormat *coreaudiotypes.AudioStreamBasicDescription, inDestinationFormat *coreaudiotypes.AudioStreamBasicDescription, inNumberClassDescriptions uint, inClassDescriptions *coreaudiotypes.AudioClassDescription, outAudioConverter unsafe.Pointer) int
func AudioConverterNewWithOptions ¶
func AudioConverterNewWithOptions(inSourceFormat *coreaudiotypes.AudioStreamBasicDescription, inDestinationFormat *coreaudiotypes.AudioStreamBasicDescription, inOptions AudioConverterOptions, outAudioConverter unsafe.Pointer) int
func AudioConverterPrepare ¶
func AudioConverterReset ¶
func AudioFileClose ¶
func AudioFileComponentCloseFile ¶
func AudioFileComponentCloseFile(inComponent *carboncore.ComponentInstanceRecord) int
func AudioFileComponentCountUserData ¶
func AudioFileComponentCountUserData(inComponent *carboncore.ComponentInstanceRecord, inUserDataID uint, outNumberItems *uint) int
func AudioFileComponentCreate
deprecated
func AudioFileComponentCreate(inComponent *carboncore.ComponentInstanceRecord, inParentRef *carboncore.FSRef, inFileName unsafe.Pointer, inFormat *coreaudiotypes.AudioStreamBasicDescription, inFlags uint, outNewFileRef *carboncore.FSRef) int
Deprecated: no longer supported
func AudioFileComponentCreateURL ¶
func AudioFileComponentCreateURL(inComponent *carboncore.ComponentInstanceRecord, inFileRef unsafe.Pointer, inFormat *coreaudiotypes.AudioStreamBasicDescription, inFlags uint) int
func AudioFileComponentDataIsThisFormat
deprecated
func AudioFileComponentExtensionIsThisFormat ¶
func AudioFileComponentExtensionIsThisFormat(inComponent *carboncore.ComponentInstanceRecord, inExtension unsafe.Pointer, outResult *uint) int
func AudioFileComponentFileDataIsThisFormat ¶
func AudioFileComponentFileDataIsThisFormat(inComponent *carboncore.ComponentInstanceRecord, inDataByteSize uint, inData unsafe.Pointer, outResult *uint) int
func AudioFileComponentFileIsThisFormat
deprecated
func AudioFileComponentFileIsThisFormat(inComponent *carboncore.ComponentInstanceRecord, inFileRefNum int16, outResult *uint) int
Deprecated: no longer supported
func AudioFileComponentGetGlobalInfo ¶
func AudioFileComponentGetGlobalInfo(inComponent *carboncore.ComponentInstanceRecord, inPropertyID uint, inSpecifierSize uint, inSpecifier unsafe.Pointer, ioPropertyDataSize *uint, outPropertyData unsafe.Pointer) int
func AudioFileComponentGetGlobalInfoSize ¶
func AudioFileComponentGetGlobalInfoSize(inComponent *carboncore.ComponentInstanceRecord, inPropertyID uint, inSpecifierSize uint, inSpecifier unsafe.Pointer, outPropertySize *uint) int
func AudioFileComponentGetProperty ¶
func AudioFileComponentGetProperty(inComponent *carboncore.ComponentInstanceRecord, inPropertyID uint, ioPropertyDataSize *uint, outPropertyData unsafe.Pointer) int
func AudioFileComponentGetPropertyInfo ¶
func AudioFileComponentGetPropertyInfo(inComponent *carboncore.ComponentInstanceRecord, inPropertyID uint, outPropertySize *uint, outWritable *uint) int
func AudioFileComponentGetUserData ¶
func AudioFileComponentGetUserData(inComponent *carboncore.ComponentInstanceRecord, inUserDataID uint, inIndex uint, ioUserDataSize *uint, outUserData unsafe.Pointer) int
func AudioFileComponentGetUserDataAtOffset ¶
func AudioFileComponentGetUserDataAtOffset(inComponent *carboncore.ComponentInstanceRecord, inUserDataID uint, inIndex uint, inOffset int64, ioUserDataSize *uint, outUserData unsafe.Pointer) int
func AudioFileComponentGetUserDataSize ¶
func AudioFileComponentGetUserDataSize(inComponent *carboncore.ComponentInstanceRecord, inUserDataID uint, inIndex uint, outUserDataSize *uint) int
func AudioFileComponentGetUserDataSize64 ¶
func AudioFileComponentGetUserDataSize64(inComponent *carboncore.ComponentInstanceRecord, inUserDataID uint, inIndex uint, outUserDataSize *uint64) int
func AudioFileComponentInitialize
deprecated
func AudioFileComponentInitialize(inComponent *carboncore.ComponentInstanceRecord, inFileRef *carboncore.FSRef, inFormat *coreaudiotypes.AudioStreamBasicDescription, inFlags uint) int
Deprecated: no longer supported
func AudioFileComponentInitializeWithCallbacks ¶
func AudioFileComponentInitializeWithCallbacks(inComponent *carboncore.ComponentInstanceRecord, inClientData unsafe.Pointer, inReadFunc unsafe.Pointer, inWriteFunc unsafe.Pointer, inGetSizeFunc unsafe.Pointer, inSetSizeFunc unsafe.Pointer, inFileType uint, inFormat *coreaudiotypes.AudioStreamBasicDescription, inFlags uint) int
func AudioFileComponentOpenFile
deprecated
func AudioFileComponentOpenFile(inComponent *carboncore.ComponentInstanceRecord, inFileRef *carboncore.FSRef, inPermissions int8, inRefNum int16) int
Deprecated: no longer supported
func AudioFileComponentOpenURL ¶
func AudioFileComponentOpenURL(inComponent *carboncore.ComponentInstanceRecord, inFileRef unsafe.Pointer, inPermissions int8, inFileDescriptor int) int
func AudioFileComponentOptimize ¶
func AudioFileComponentOptimize(inComponent *carboncore.ComponentInstanceRecord) int
func AudioFileComponentReadBytes ¶
func AudioFileComponentReadBytes(inComponent *carboncore.ComponentInstanceRecord, inUseCache uint8, inStartingByte int64, ioNumBytes *uint, outBuffer unsafe.Pointer) int
func AudioFileComponentReadPacketData ¶
func AudioFileComponentReadPacketData(inComponent *carboncore.ComponentInstanceRecord, inUseCache uint8, ioNumBytes *uint, outPacketDescriptions *coreaudiotypes.AudioStreamPacketDescription, inStartingPacket int64, ioNumPackets *uint, outBuffer unsafe.Pointer) int
func AudioFileComponentReadPackets ¶
func AudioFileComponentReadPackets(inComponent *carboncore.ComponentInstanceRecord, inUseCache uint8, outNumBytes *uint, outPacketDescriptions *coreaudiotypes.AudioStreamPacketDescription, inStartingPacket int64, ioNumPackets *uint, outBuffer unsafe.Pointer) int
func AudioFileComponentRemoveUserData ¶
func AudioFileComponentRemoveUserData(inComponent *carboncore.ComponentInstanceRecord, inUserDataID uint, inIndex uint) int
func AudioFileComponentSetProperty ¶
func AudioFileComponentSetProperty(inComponent *carboncore.ComponentInstanceRecord, inPropertyID uint, inPropertyDataSize uint, inPropertyData unsafe.Pointer) int
func AudioFileComponentSetUserData ¶
func AudioFileComponentSetUserData(inComponent *carboncore.ComponentInstanceRecord, inUserDataID uint, inIndex uint, inUserDataSize uint, inUserData unsafe.Pointer) int
func AudioFileComponentWriteBytes ¶
func AudioFileComponentWriteBytes(inComponent *carboncore.ComponentInstanceRecord, inUseCache uint8, inStartingByte int64, ioNumBytes *uint, inBuffer unsafe.Pointer) int
func AudioFileComponentWritePackets ¶
func AudioFileComponentWritePackets(inComponent *carboncore.ComponentInstanceRecord, inUseCache uint8, inNumBytes uint, inPacketDescriptions *coreaudiotypes.AudioStreamPacketDescription, inStartingPacket int64, ioNumPackets *uint, inBuffer unsafe.Pointer) int
func AudioFileCountUserData ¶
func AudioFileCreate
deprecated
func AudioFileCreate(inParentRef *carboncore.FSRef, inFileName unsafe.Pointer, inFileType uint, inFormat *coreaudiotypes.AudioStreamBasicDescription, inFlags AudioFileFlags, outNewFileRef *carboncore.FSRef, outAudioFile unsafe.Pointer) int
Deprecated: no longer supported
func AudioFileCreateWithURL ¶
func AudioFileCreateWithURL(inFileRef unsafe.Pointer, inFileType uint, inFormat *coreaudiotypes.AudioStreamBasicDescription, inFlags AudioFileFlags, outAudioFile unsafe.Pointer) int
func AudioFileGetGlobalInfo ¶
func AudioFileGetProperty ¶
func AudioFileGetUserData ¶
func AudioFileInitialize
deprecated
func AudioFileInitialize(inFileRef *carboncore.FSRef, inFileType uint, inFormat *coreaudiotypes.AudioStreamBasicDescription, inFlags AudioFileFlags, outAudioFile unsafe.Pointer) int
Deprecated: no longer supported
func AudioFileInitializeWithCallbacks ¶
func AudioFileInitializeWithCallbacks(inClientData unsafe.Pointer, inReadFunc unsafe.Pointer, inWriteFunc unsafe.Pointer, inGetSizeFunc unsafe.Pointer, inSetSizeFunc unsafe.Pointer, inFileType uint, inFormat *coreaudiotypes.AudioStreamBasicDescription, inFlags AudioFileFlags, outAudioFile unsafe.Pointer) int
func AudioFileOpen
deprecated
func AudioFileOpen(inFileRef *carboncore.FSRef, inPermissions AudioFilePermissions, inFileTypeHint uint, outAudioFile unsafe.Pointer) int
Deprecated: no longer supported
func AudioFileOpenURL ¶
func AudioFileOptimize ¶
func AudioFileReadBytes ¶
func AudioFileReadPacketData ¶
func AudioFileReadPackets
deprecated
func AudioFileRemoveUserData ¶
func AudioFileSetProperty ¶
func AudioFileSetUserData ¶
func AudioFileStreamClose ¶
func AudioFileStreamOpen ¶
func AudioFileStreamSeek ¶
func AudioFileWriteBytes ¶
func AudioFileWritePackets ¶
func AudioFileWritePacketsWithDependencies ¶
func AudioFileWritePacketsWithDependencies(inAudioFile unsafe.Pointer, inUseCache uint8, inNumBytes uint, inPacketDescriptions *coreaudiotypes.AudioStreamPacketDescription, inPacketDependencies *coreaudiotypes.AudioStreamPacketDependencyDescription, inStartingPacket int64, ioNumPackets *uint, inBuffer unsafe.Pointer) int
func AudioFormatGetProperty ¶
func AudioHardwareServiceAddPropertyListener
deprecated
func AudioHardwareServiceGetPropertyDataSize
deprecated
func AudioHardwareServiceHasProperty
deprecated
func AudioHardwareServiceHasProperty(inObjectID uint, inAddress *coreaudio.AudioObjectPropertyAddress) uint8
Deprecated: no longer supported
func AudioHardwareServiceIsPropertySettable
deprecated
func AudioHardwareServiceIsPropertySettable(inObjectID uint, inAddress *coreaudio.AudioObjectPropertyAddress, outIsSettable *uint8) int
Deprecated: no longer supported
func AudioHardwareServiceRemovePropertyListener
deprecated
func AudioOutputUnitStart ¶
func AudioOutputUnitStart(ci *carboncore.ComponentInstanceRecord) int
func AudioOutputUnitStop ¶
func AudioOutputUnitStop(ci *carboncore.ComponentInstanceRecord) int
func AudioQueueAllocateBuffer ¶
func AudioQueueAllocateBuffer(inAQ unsafe.Pointer, inBufferByteSize uint, outBuffer **AudioQueueBuffer) int
func AudioQueueDeviceGetCurrentTime ¶
func AudioQueueDeviceGetCurrentTime(inAQ unsafe.Pointer, outTimeStamp *coreaudiotypes.AudioTimeStamp) int
func AudioQueueDeviceGetNearestStartTime ¶
func AudioQueueDeviceGetNearestStartTime(inAQ unsafe.Pointer, ioRequestedStartTime *coreaudiotypes.AudioTimeStamp, inFlags uint) int
func AudioQueueDeviceTranslateTime ¶
func AudioQueueDeviceTranslateTime(inAQ unsafe.Pointer, inTime *coreaudiotypes.AudioTimeStamp, outTime *coreaudiotypes.AudioTimeStamp) int
func AudioQueueEnqueueBuffer ¶
func AudioQueueEnqueueBuffer(inAQ unsafe.Pointer, inBuffer *AudioQueueBuffer, inNumPacketDescs uint, inPacketDescs *coreaudiotypes.AudioStreamPacketDescription) int
func AudioQueueEnqueueBufferWithParameters ¶
func AudioQueueEnqueueBufferWithParameters(inAQ unsafe.Pointer, inBuffer *AudioQueueBuffer, inNumPacketDescs uint, inPacketDescs *coreaudiotypes.AudioStreamPacketDescription, inTrimFramesAtStart uint, inTrimFramesAtEnd uint, inNumParamValues uint, inParamValues *AudioQueueParameterEvent, inStartTime *coreaudiotypes.AudioTimeStamp, outActualStartTime *coreaudiotypes.AudioTimeStamp) int
func AudioQueueFlush ¶
func AudioQueueFreeBuffer ¶
func AudioQueueFreeBuffer(inAQ unsafe.Pointer, inBuffer *AudioQueueBuffer) int
func AudioQueueGetCurrentTime ¶
func AudioQueueGetCurrentTime(inAQ unsafe.Pointer, inTimeline unsafe.Pointer, outTimeStamp *coreaudiotypes.AudioTimeStamp, outTimelineDiscontinuity *uint8) int
func AudioQueueGetParameter ¶
func AudioQueueGetProperty ¶
func AudioQueueNewInput ¶
func AudioQueueNewInputWithDispatchQueue ¶
func AudioQueueNewInputWithDispatchQueue(outAQ unsafe.Pointer, inFormat *coreaudiotypes.AudioStreamBasicDescription, inFlags uint, inCallbackDispatchQueue *foundation.NSObject, inCallbackBlock func(unsafe.Pointer, *AudioQueueBuffer, *coreaudiotypes.AudioTimeStamp, uint, *coreaudiotypes.AudioStreamPacketDescription)) int
func AudioQueueNewOutput ¶
func AudioQueueNewOutputWithDispatchQueue ¶
func AudioQueueNewOutputWithDispatchQueue(outAQ unsafe.Pointer, inFormat *coreaudiotypes.AudioStreamBasicDescription, inFlags uint, inCallbackDispatchQueue *foundation.NSObject, inCallbackBlock func(unsafe.Pointer, *AudioQueueBuffer)) int
func AudioQueueOfflineRender ¶
func AudioQueueOfflineRender(inAQ unsafe.Pointer, inTimestamp *coreaudiotypes.AudioTimeStamp, ioBuffer *AudioQueueBuffer, inNumberFrames uint) int
func AudioQueuePause ¶
func AudioQueuePrime ¶
func AudioQueueProcessingTapGetSourceAudio ¶
func AudioQueueProcessingTapGetSourceAudio(inAQTap unsafe.Pointer, inNumberFrames uint, ioTimeStamp *coreaudiotypes.AudioTimeStamp, outFlags *AudioQueueProcessingTapFlags, outNumberFrames *uint, ioData *coreaudiotypes.AudioBufferList) int
func AudioQueueProcessingTapNew ¶
func AudioQueueProcessingTapNew(inAQ unsafe.Pointer, inCallback unsafe.Pointer, inClientData unsafe.Pointer, inFlags AudioQueueProcessingTapFlags, outMaxFrames *uint, outProcessingFormat *coreaudiotypes.AudioStreamBasicDescription, outAQTap unsafe.Pointer) int
func AudioQueueReset ¶
func AudioQueueSetOfflineRenderFormat ¶
func AudioQueueSetOfflineRenderFormat(inAQ unsafe.Pointer, inFormat *coreaudiotypes.AudioStreamBasicDescription, inLayout *coreaudiotypes.AudioChannelLayout) int
func AudioQueueSetParameter ¶
func AudioQueueSetProperty ¶
func AudioQueueStart ¶
func AudioQueueStart(inAQ unsafe.Pointer, inStartTime *coreaudiotypes.AudioTimeStamp) int
func AudioServicesPlayAlertSound ¶
func AudioServicesPlayAlertSound(inSystemSoundID uint)
func AudioServicesPlayAlertSoundWithCompletion ¶
func AudioServicesPlayAlertSoundWithCompletion(inSystemSoundID uint, inCompletionBlock func())
func AudioServicesPlaySystemSound ¶
func AudioServicesPlaySystemSound(inSystemSoundID uint)
func AudioServicesPlaySystemSoundWithCompletion ¶
func AudioServicesPlaySystemSoundWithCompletion(inSystemSoundID uint, inCompletionBlock func())
func AudioServicesRemoveSystemSoundCompletion ¶
func AudioServicesRemoveSystemSoundCompletion(inSystemSoundID uint)
func AudioUnitAddPropertyListener ¶
func AudioUnitAddPropertyListener(inUnit *carboncore.ComponentInstanceRecord, inID uint, inProc unsafe.Pointer, inProcUserData unsafe.Pointer) int
func AudioUnitAddRenderNotify ¶
func AudioUnitAddRenderNotify(inUnit *carboncore.ComponentInstanceRecord, inProc unsafe.Pointer, inProcUserData unsafe.Pointer) int
func AudioUnitGetParameter ¶
func AudioUnitGetParameter(inUnit *carboncore.ComponentInstanceRecord, inID uint, inScope uint, inElement uint, outValue *float32) int
func AudioUnitGetProperty ¶
func AudioUnitGetProperty(inUnit *carboncore.ComponentInstanceRecord, inID uint, inScope uint, inElement uint, outData unsafe.Pointer, ioDataSize *uint) int
func AudioUnitGetPropertyInfo ¶
func AudioUnitGetPropertyInfo(inUnit *carboncore.ComponentInstanceRecord, inID uint, inScope uint, inElement uint, outDataSize *uint, outWritable *uint8) int
func AudioUnitInitialize ¶
func AudioUnitInitialize(inUnit *carboncore.ComponentInstanceRecord) int
func AudioUnitProcess ¶
func AudioUnitProcess(inUnit *carboncore.ComponentInstanceRecord, ioActionFlags *AudioUnitRenderActionFlags, inTimeStamp *coreaudiotypes.AudioTimeStamp, inNumberFrames uint, ioData *coreaudiotypes.AudioBufferList) int
func AudioUnitProcessMultiple ¶
func AudioUnitProcessMultiple(inUnit *carboncore.ComponentInstanceRecord, ioActionFlags *AudioUnitRenderActionFlags, inTimeStamp *coreaudiotypes.AudioTimeStamp, inNumberFrames uint, inNumberInputBufferLists uint, inInputBufferLists *coreaudiotypes.AudioBufferList, inNumberOutputBufferLists uint, ioOutputBufferLists *coreaudiotypes.AudioBufferList) int
func AudioUnitRemovePropertyListenerWithUserData ¶
func AudioUnitRemovePropertyListenerWithUserData(inUnit *carboncore.ComponentInstanceRecord, inID uint, inProc unsafe.Pointer, inProcUserData unsafe.Pointer) int
func AudioUnitRemoveRenderNotify ¶
func AudioUnitRemoveRenderNotify(inUnit *carboncore.ComponentInstanceRecord, inProc unsafe.Pointer, inProcUserData unsafe.Pointer) int
func AudioUnitRender ¶
func AudioUnitRender(inUnit *carboncore.ComponentInstanceRecord, ioActionFlags *AudioUnitRenderActionFlags, inTimeStamp *coreaudiotypes.AudioTimeStamp, inOutputBusNumber uint, inNumberFrames uint, ioData *coreaudiotypes.AudioBufferList) int
func AudioUnitReset ¶
func AudioUnitReset(inUnit *carboncore.ComponentInstanceRecord, inScope uint, inElement uint) int
func AudioUnitScheduleParameters ¶
func AudioUnitScheduleParameters(inUnit *carboncore.ComponentInstanceRecord, inParameterEvent *AudioUnitParameterEvent, inNumParamEvents uint) int
func AudioUnitSetParameter ¶
func AudioUnitSetParameter(inUnit *carboncore.ComponentInstanceRecord, inID uint, inScope uint, inElement uint, inValue float32, inBufferOffsetInFrames uint) int
func AudioUnitSetProperty ¶
func AudioUnitSetProperty(inUnit *carboncore.ComponentInstanceRecord, inID uint, inScope uint, inElement uint, inData unsafe.Pointer, inDataSize uint) int
func AudioUnitUninitialize ¶
func AudioUnitUninitialize(inUnit *carboncore.ComponentInstanceRecord) int
func AudioWorkIntervalCreate ¶
func AudioWorkIntervalCreate(name string, clock accelerate.Os_clockid_t, attr unsafe.Pointer) unsafe.Pointer
func CAClockAddListener ¶
func CAClockArm ¶
func CAClockBarBeatTimeToBeats ¶
func CAClockBarBeatTimeToBeats(inCAClock unsafe.Pointer, inBarBeatTime *CABarBeatTime, outBeats *float64) int
func CAClockDisarm ¶
func CAClockDispose ¶
func CAClockGetCurrentTempo ¶
func CAClockGetCurrentTempo(inCAClock unsafe.Pointer, outTempo *float64, outTimestamp *CAClockTime) int
func CAClockGetCurrentTime ¶
func CAClockGetCurrentTime(inCAClock unsafe.Pointer, inTimeFormat CAClockTimeFormat, outTime *CAClockTime) int
func CAClockGetPlayRate ¶
func CAClockGetProperty ¶
func CAClockGetPropertyInfo ¶
func CAClockGetStartTime ¶
func CAClockGetStartTime(inCAClock unsafe.Pointer, inTimeFormat CAClockTimeFormat, outTime *CAClockTime) int
func CAClockParseMIDI ¶
func CAClockRemoveListener ¶
func CAClockSetCurrentTempo ¶
func CAClockSetCurrentTempo(inCAClock unsafe.Pointer, inTempo float64, inTimestamp *CAClockTime) int
func CAClockSetCurrentTime ¶
func CAClockSetCurrentTime(inCAClock unsafe.Pointer, inTime *CAClockTime) int
func CAClockSetProperty ¶
func CAClockStart ¶
func CAClockStop ¶
func CAClockTranslateTime ¶
func CAClockTranslateTime(inCAClock unsafe.Pointer, inTime *CAClockTime, inOutputTimeFormat CAClockTimeFormat, outTime *CAClockTime) int
func CAShowFile ¶
Print the internal state of an object to the supplied FILE*.
func CopyNameFromSoundBank ¶
func DisposeAUGraph ¶
func DisposeMusicPlayer ¶
func DisposeMusicSequence ¶
func ExtAudioFileCreateNew
deprecated
func ExtAudioFileCreateNew(inParentDir *carboncore.FSRef, inFileName unsafe.Pointer, inFileType uint, inStreamDesc *coreaudiotypes.AudioStreamBasicDescription, inChannelLayout *coreaudiotypes.AudioChannelLayout, outExtAudioFile unsafe.Pointer) int
Deprecated: no longer supported
func ExtAudioFileCreateWithURL ¶
func ExtAudioFileCreateWithURL(inURL unsafe.Pointer, inFileType uint, inStreamDesc *coreaudiotypes.AudioStreamBasicDescription, inChannelLayout *coreaudiotypes.AudioChannelLayout, inFlags uint, outExtAudioFile unsafe.Pointer) int
func ExtAudioFileDispose ¶
func ExtAudioFileGetProperty ¶
func ExtAudioFileOpen
deprecated
func ExtAudioFileOpen(inFSRef *carboncore.FSRef, outExtAudioFile unsafe.Pointer) int
Deprecated: no longer supported
func ExtAudioFileOpenURL ¶
func ExtAudioFileRead ¶
func ExtAudioFileRead(inExtAudioFile unsafe.Pointer, ioNumberFrames *uint, ioData *coreaudiotypes.AudioBufferList) int
func ExtAudioFileSeek ¶
func ExtAudioFileSetProperty ¶
func ExtAudioFileTell ¶
func ExtAudioFileWrite ¶
func ExtAudioFileWrite(inExtAudioFile unsafe.Pointer, inNumberFrames uint, ioData *coreaudiotypes.AudioBufferList) int
func ExtAudioFileWriteAsync ¶
func ExtAudioFileWriteAsync(inExtAudioFile unsafe.Pointer, inNumberFrames uint, ioData *coreaudiotypes.AudioBufferList) int
func GetNameFromSoundBank
deprecated
func GetNameFromSoundBank(inSoundBankRef *carboncore.FSRef, outName unsafe.Pointer) int
Deprecated: no longer supported
func KAudioComponentInstanceInvalidationNotification ¶
func KAudioComponentInstanceInvalidationNotification() uintptr
@constant kAudioComponentInstanceInvalidationNotification @abstract Notification generated when the connection to an audio unit extension process is invalidated. @discussion Register for this notification name with `[NSNotificationCenter defaultCenter]` or `CFNotificationCenterGetLocalCenter()`. The "object" refers to an AUAudioUnit instance to be observed, or can be nil to observe all instances. This notification can happen for several reasons, for instance the connection being invalidated or the process abnormally ending. There can be multiple notifications for the same event (i.e. a terminated process will also invalidate the connection). The notification's userInfo dictionary may contain the following keys, depending on the reason for the invalidation and the platform in which it's running: @"audioUnit", a NSValue whose pointerValue is the AudioUnit or AudioComponentInstance which is wrapping the AUAudioUnit communicating with the extension process. (This may be null if there is no such component instance.). For example: ``` [[NSNotificationCenter defaultCenter] addObserverForName:(NSString *)kAudioComponentInstanceInvalidationNotification object:nil queue:nil usingBlock:^(NSNotification *note) { AUAudioUnit *auAudioUnit = (AUAudioUnit *)note.object; NSValue *val = note.userInfo[@"audioUnit"]; AudioUnit audioUnit = (AudioUnit)val.pointerValue; NSLog(@"Received kAudioComponentInstanceInvalidationNotification: auAudioUnit %@, audioUnit %p", auAudioUnit, audioUnit); }]; ``` @"Service PID", a NSNumber with the process ID for the service. @"Host PID", a NSNumber with the process ID for the host. @"Executable Path", a NSString with the path for the executable that may be responsible for the abnormal exit. @"Descriptions" a NSArray of NSValues representing byte encoded AudioComponentDescriptions that may be responsible for the abnormal exit.
func KAudioComponentRegistrationsChangedNotification ¶
func KAudioComponentRegistrationsChangedNotification() uintptr
@constant kAudioComponentRegistrationsChangedNotification @abstract Notification generated when the set of available AudioComponents changes. @discussion Register for this notification name with `[NSNotificationCenter defaultCenter]` or `CFNotificationCenterGetLocalCenter()`, using an object of NULL.
func MusicDeviceMIDIEvent ¶
func MusicDeviceMIDIEvent(inUnit *carboncore.ComponentInstanceRecord, inStatus uint, inData1 uint, inData2 uint, inOffsetSampleFrame uint) int
func MusicDeviceMIDIEventList ¶
func MusicDeviceMIDIEventList(inUnit *carboncore.ComponentInstanceRecord, inOffsetSampleFrame uint, evtList objc.ID) int
func MusicDevicePrepareInstrument
deprecated
func MusicDevicePrepareInstrument(inUnit *carboncore.ComponentInstanceRecord, inInstrument uint) int
Deprecated: no longer supported
func MusicDeviceReleaseInstrument
deprecated
func MusicDeviceReleaseInstrument(inUnit *carboncore.ComponentInstanceRecord, inInstrument uint) int
Deprecated: no longer supported
func MusicDeviceStartNote ¶
func MusicDeviceStartNote(inUnit *carboncore.ComponentInstanceRecord, inInstrument uint, inGroupID uint, outNoteInstanceID *uint, inOffsetSampleFrame uint, inParams *MusicDeviceNoteParams) int
func MusicDeviceStopNote ¶
func MusicDeviceStopNote(inUnit *carboncore.ComponentInstanceRecord, inGroupID uint, inNoteInstanceID uint, inOffsetSampleFrame uint) int
func MusicDeviceSysEx ¶
func MusicDeviceSysEx(inUnit *carboncore.ComponentInstanceRecord, inData *uint8, inLength uint) int
func MusicEventIteratorSeek ¶
func MusicPlayerGetSequence ¶
func MusicPlayerIsPlaying ¶
func MusicPlayerPreroll ¶
func MusicPlayerSetSequence ¶
func MusicPlayerStart ¶
func MusicPlayerStop ¶
func MusicSequenceBarBeatTimeToBeats ¶
func MusicSequenceBarBeatTimeToBeats(inSequence unsafe.Pointer, inBarBeatTime *CABarBeatTime, outBeats *float64) int
func MusicSequenceFileCreate ¶
func MusicSequenceFileCreate(inSequence unsafe.Pointer, inFileRef unsafe.Pointer, inFileType MusicSequenceFileTypeID, inFlags MusicSequenceFileFlags, inResolution int16) int
func MusicSequenceFileCreateData ¶
func MusicSequenceFileCreateData(inSequence unsafe.Pointer, inFileType MusicSequenceFileTypeID, inFlags MusicSequenceFileFlags, inResolution int16, outData unsafe.Pointer) int
func MusicSequenceFileLoad ¶
func MusicSequenceFileLoad(inSequence unsafe.Pointer, inFileRef unsafe.Pointer, inFileTypeHint MusicSequenceFileTypeID, inFlags MusicSequenceLoadFlags) int
func MusicSequenceFileLoadData ¶
func MusicSequenceFileLoadData(inSequence unsafe.Pointer, inData unsafe.Pointer, inFileTypeHint MusicSequenceFileTypeID, inFlags MusicSequenceLoadFlags) int
func MusicSequenceGetAUGraph ¶
func MusicSequenceGetSequenceType ¶
func MusicSequenceGetSequenceType(inSequence unsafe.Pointer, outType *MusicSequenceType) int
func MusicSequenceLoadSMFDataWithFlags
deprecated
func MusicSequenceLoadSMFWithFlags
deprecated
func MusicSequenceLoadSMFWithFlags(inSequence unsafe.Pointer, inFileRef *carboncore.FSRef, inFlags MusicSequenceLoadFlags) int
Deprecated: no longer supported
func MusicSequenceNewTrack ¶
func MusicSequenceReverse ¶
func MusicSequenceSaveMIDIFile
deprecated
func MusicSequenceSetAUGraph ¶
func MusicSequenceSetSequenceType ¶
func MusicSequenceSetSequenceType(inSequence unsafe.Pointer, inType MusicSequenceType) int
func MusicTrackClear ¶
func MusicTrackCopyInsert ¶
func MusicTrackCut ¶
func MusicTrackGetProperty ¶
func MusicTrackGetSequence ¶
func MusicTrackMerge ¶
func MusicTrackMoveEvents ¶
func MusicTrackNewAUPresetEvent ¶
func MusicTrackNewAUPresetEvent(inTrack unsafe.Pointer, inTimeStamp float64, inPresetEvent *AUPresetEvent) int
func MusicTrackNewExtendedControlEvent
deprecated
func MusicTrackNewExtendedControlEvent(inTrack unsafe.Pointer, inTimeStamp float64, inInfo *ExtendedControlEvent) int
Deprecated: no longer supported
func MusicTrackNewExtendedNoteEvent ¶
func MusicTrackNewExtendedNoteEvent(inTrack unsafe.Pointer, inTimeStamp float64, inInfo *ExtendedNoteOnEvent) int
func MusicTrackNewMIDIChannelEvent ¶
func MusicTrackNewMIDIChannelEvent(inTrack unsafe.Pointer, inTimeStamp float64, inMessage *MIDIChannelMessage) int
func MusicTrackNewMIDINoteEvent ¶
func MusicTrackNewMIDINoteEvent(inTrack unsafe.Pointer, inTimeStamp float64, inMessage *MIDINoteMessage) int
func MusicTrackNewMIDIRawDataEvent ¶
func MusicTrackNewMIDIRawDataEvent(inTrack unsafe.Pointer, inTimeStamp float64, inRawData *MIDIRawData) int
func MusicTrackNewMetaEvent ¶
func MusicTrackNewMetaEvent(inTrack unsafe.Pointer, inTimeStamp float64, inMetaEvent *MIDIMetaEvent) int
func MusicTrackNewParameterEvent ¶
func MusicTrackNewParameterEvent(inTrack unsafe.Pointer, inTimeStamp float64, inInfo *ParameterEvent) int
func MusicTrackNewUserEvent ¶
func MusicTrackNewUserEvent(inTrack unsafe.Pointer, inTimeStamp float64, inUserData *MusicEventUserData) int
func MusicTrackSetProperty ¶
func NewAUGraph ¶
func NewMusicEventIterator ¶
func NewMusicPlayer ¶
func NewMusicSequence ¶
func SymbolAvailable ¶
SymbolAvailable reports whether the named C symbol was bound when the library loaded. Calling a generated wrapper whose symbol is unavailable dereferences a nil function variable and panics.
Types ¶
type AU3DMixerAttenuationCurve ¶
type AU3DMixerAttenuationCurve int64
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
type AU3DMixerRenderingFlags ¶
type AU3DMixerRenderingFlags int64
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
type AUAudioMixRenderingStyle ¶
type AUAudioMixRenderingStyle int64
const ( KAudioMixRenderingStyle_Cinematic AUAudioMixRenderingStyle = 0 KAudioMixRenderingStyle_Studio AUAudioMixRenderingStyle = 1 KAudioMixRenderingStyle_InFrame AUAudioMixRenderingStyle = 2 KAudioMixRenderingStyle_CinematicBackgroundStem AUAudioMixRenderingStyle = 3 KAudioMixRenderingStyle_CinematicForegroundStem AUAudioMixRenderingStyle = 4 KAudioMixRenderingStyle_StudioForegroundStem AUAudioMixRenderingStyle = 5 KAudioMixRenderingStyle_InFrameForegroundStem AUAudioMixRenderingStyle = 6 KAudioMixRenderingStyle_Standard AUAudioMixRenderingStyle = 7 KAudioMixRenderingStyle_StudioBackgroundStem AUAudioMixRenderingStyle = 8 KAudioMixRenderingStyle_InFrameBackgroundStem AUAudioMixRenderingStyle = 9 )
func (AUAudioMixRenderingStyle) String ¶
func (e AUAudioMixRenderingStyle) String() string
type AUAudioUnit ¶
type AUAudioUnit struct {
foundation.NSObject
}
A class that defines a host’s interface to an audio unit.
Apple documentation: https://developer.apple.com/documentation/audiotoolbox/auaudiounit
func AUAudioUnitFromID ¶
func AUAudioUnitFromID(id objc.ID) *AUAudioUnit
func (*AUAudioUnit) AllParameterValues ¶
func (o *AUAudioUnit) AllParameterValues() bool
func (*AUAudioUnit) AllocateRenderResourcesAndReturnError ¶
func (o *AUAudioUnit) AllocateRenderResourcesAndReturnError() (bool, error)
Allocates resources required to render audio.
func (*AUAudioUnit) AudioUnitMIDIProtocol ¶
func (o *AUAudioUnit) AudioUnitMIDIProtocol() objc.ID
@property AudioUnitMIDIProtocol @brief The MIDI protocol used by the Audio Unit for receiving MIDIEventList data. @discussion 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 (*AUAudioUnit) AudioUnitName ¶
func (o *AUAudioUnit) AudioUnitName() *foundation.NSString
@property audioUnitName @brief The audio unit's name.
func (*AUAudioUnit) AudioUnitShortName ¶
func (o *AUAudioUnit) AudioUnitShortName() *foundation.NSString
@property audioUnitShortName @brief A short name for the audio unit. @discussion 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 (*AUAudioUnit) CanPerformInput ¶
func (o *AUAudioUnit) CanPerformInput() bool
@property canPerformInput @brief Whether the I/O device can perform input.
func (*AUAudioUnit) CanPerformOutput ¶
func (o *AUAudioUnit) CanPerformOutput() bool
@property canPerformOutput @brief Whether the I/O device can perform output.
func (*AUAudioUnit) CanProcessInPlace ¶
func (o *AUAudioUnit) CanProcessInPlace() bool
@property canProcessInPlace @brief Expresses whether an audio unit can process in place. @discussion 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 NO. Subclassers can override to return YES.
func (*AUAudioUnit) ChannelCapabilities ¶
func (o *AUAudioUnit) ChannelCapabilities() *foundation.NSArray[*foundation.NSNumber]
@property channelCapabilities @brief Expresses valid combinations of input and output channel counts. @discussion 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.
func (*AUAudioUnit) ChannelMap ¶
func (o *AUAudioUnit) ChannelMap() *foundation.NSArray[*foundation.NSNumber]
@property channelMap @brief Specify a mapping of input channels to output channels. @discussion 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 (*AUAudioUnit) Component ¶
func (o *AUAudioUnit) Component() unsafe.Pointer
@property component @brief The AudioComponent which was found based on componentDescription when the audio unit was created.
func (*AUAudioUnit) ComponentDescription ¶
func (o *AUAudioUnit) ComponentDescription() AudioComponentDescription
@property componentDescription @brief The AudioComponentDescription with which the audio unit was created.
func (*AUAudioUnit) ComponentName ¶
func (o *AUAudioUnit) ComponentName() *foundation.NSString
@property componentName @brief The unit's component's name. @discussion 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 (*AUAudioUnit) ComponentVersion ¶
func (o *AUAudioUnit) ComponentVersion() uint32
@property componentVersion @brief The unit's component's version.
func (*AUAudioUnit) ContextName ¶
func (o *AUAudioUnit) ContextName() *foundation.NSString
@property contextName @brief Information about the host context in which the audio unit is connected, for display in the audio unit's view. @discussion 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 (*AUAudioUnit) CurrentPreset ¶
func (o *AUAudioUnit) CurrentPreset() *AUAudioUnitPreset
@property currentPreset @brief The audio unit's last-selected preset. @discussion 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 (*AUAudioUnit) DeallocateRenderResources ¶
func (o *AUAudioUnit) DeallocateRenderResources()
Deallocates resources required to render audio.
func (*AUAudioUnit) DeleteUserPresetError ¶
func (o *AUAudioUnit) DeleteUserPresetError(userPreset *AUAudioUnitPreset) (bool, error)
@method deleteUserPreset:error @brief Remove a user preset. @discussion 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). @param userPreset The preset to be deleted. @param outError In the event of a failure, the method will return NO and outError will be set to an NSError, describing the problem. Some possible errors: - domain: NSOSStatusErrorDomain code: kAudioUnitErr_NoConnection - domain: NSPOSIXErrorDomain code: ENOENT - domain: NSOSStatusErrorDomain code: kAudioUnitErr_InvalidFilePath @return YES for success. NO in the event of a failure, in which case the error is returned in outError.
func (*AUAudioUnit) DeviceID ¶
func (o *AUAudioUnit) DeviceID() uint
@property device @brief Get the I/O hardware device.
func (*AUAudioUnit) DeviceInputLatency ¶
func (o *AUAudioUnit) DeviceInputLatency() float64
@property deviceInputLatency @brief The audio device's input latency, in seconds. @discussion Bridged to the HAL property kAudioDevicePropertyLatency, which is implemented by v2 input/output units.
func (*AUAudioUnit) DeviceOutputLatency ¶
func (o *AUAudioUnit) DeviceOutputLatency() float64
@property deviceOutputLatency @brief The audio device's output latency, in seconds. @discussion Bridged to the HAL property kAudioDevicePropertyLatency, which is implemented by v2 input/output units.
func (*AUAudioUnit) DisableProfileCableOnChannelError ¶
func (o *AUAudioUnit) DisableProfileCableOnChannelError(profile objc.ID, cable uint8, channel uint8) (bool, error)
@method disableProfile:cable:onChannel:error: @brief Disable a MIDI-CI Profile on the specified cable/channel. @param profile The MIDI-CI profile to be disabled. @param cable The virtual MIDI cable. @param channel The MIDI channel. @param outError Returned in the event of failure. @return YES for success. NO in the event of a failure, in which case the error is returned in outError.
func (*AUAudioUnit) EnableProfileCableOnChannelError ¶
func (o *AUAudioUnit) EnableProfileCableOnChannelError(profile objc.ID, cable uint8, channel uint8) (bool, error)
@method enableProfile:cable:onChannel:error: @brief Enable a MIDI-CI Profile on the specified cable/channel. @param profile The MIDI-CI profile to be enabled. @param cable The virtual MIDI cable. @param channel The MIDI channel. @param outError Returned in the event of failure. @return YES for success. NO in the event of a failure, in which case the error is returned in outError.
func (*AUAudioUnit) FactoryPresets ¶
func (o *AUAudioUnit) FactoryPresets() *foundation.NSArray[*AUAudioUnitPreset]
@property factoryPresets @brief A collection of presets provided by the audio unit's developer. @discussion 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.
func (*AUAudioUnit) FullState ¶
func (o *AUAudioUnit) FullState() *foundation.NSDictionary[*foundation.NSString, objc.ID]
@property fullState @brief A persistable snapshot of the Audio Unit's properties and parameters, suitable for saving as a user preset. @discussion 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 (*AUAudioUnit) FullStateForDocument ¶
func (o *AUAudioUnit) FullStateForDocument() *foundation.NSDictionary[*foundation.NSString, objc.ID]
@property fullStateForDocument @brief A persistable snapshot of the audio unit's properties and parameters, suitable for saving in a user's document. @discussion 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 (*AUAudioUnit) HostMIDIProtocol ¶
func (o *AUAudioUnit) HostMIDIProtocol() objc.ID
@property hostMIDIProtocol @brief The MIDI protocol to be used by the host for receiving MIDIEventList data. @discussion 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 (*AUAudioUnit) InitWithComponentDescriptionError ¶
func (o *AUAudioUnit) InitWithComponentDescriptionError(componentDescription AudioComponentDescription) (*AUAudioUnit, error)
Synchronously initializes a new audio unit object.
func (*AUAudioUnit) InitWithComponentDescriptionOptionsError ¶
func (o *AUAudioUnit) InitWithComponentDescriptionOptionsError(componentDescription AudioComponentDescription, options AudioComponentInstantiationOptions) (*AUAudioUnit, error)
Synchronously initializes a new audio unit object.
func (*AUAudioUnit) InputBusses ¶
func (o *AUAudioUnit) InputBusses() *AUAudioUnitBusArray
@property inputBusses @brief An audio unit's audio input connection points. @discussion 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 (*AUAudioUnit) InputHandler ¶
func (o *AUAudioUnit) InputHandler() objc.Block
@property inputHandler @brief The block that the output unit will call to notify when input is available. @discussion See discussion for AUInputHandler.
func (*AUAudioUnit) IntendedSpatialExperience ¶
func (o *AUAudioUnit) IntendedSpatialExperience() unsafe.Pointer
func (*AUAudioUnit) InternalRenderBlock ¶
func (o *AUAudioUnit) InternalRenderBlock() objc.Block
Block which subclassers must provide (via a getter) to implement rendering.
func (*AUAudioUnit) IsInputEnabled ¶
func (o *AUAudioUnit) IsInputEnabled() bool
@property inputEnabled @brief Flag enabling audio input from the unit. @discussion Input is disabled by default. This must be set to YES if input audio is desired. Setting to YES will have no effect if canPerformInput is false.
func (*AUAudioUnit) IsLoadedInProcess ¶
func (o *AUAudioUnit) IsLoadedInProcess() bool
@property isLoadedInProcess @brief Set to YES when an AUAudioUnit is loaded in-process @discussion 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 (*AUAudioUnit) IsMusicDeviceOrEffect ¶
func (o *AUAudioUnit) IsMusicDeviceOrEffect() bool
@property musicDeviceOrEffect @brief Specifies whether an audio unit responds to MIDI events. @discussion This is implemented in the base class and returns YES if the component type is music device or music effect.
func (*AUAudioUnit) IsOutputEnabled ¶
func (o *AUAudioUnit) IsOutputEnabled() bool
@property outputEnabled @brief Flag enabling audio output from the unit. @discussion Output is enabled by default. Setting to YES will have no effect if canPerformOutput is false.
func (*AUAudioUnit) IsRenderingOffline ¶
func (o *AUAudioUnit) IsRenderingOffline() bool
@property renderingOffline @brief Communicates to an audio unit that it is rendering offline. @discussion 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 (*AUAudioUnit) IsRunning ¶
func (o *AUAudioUnit) IsRunning() bool
@property running @brief The audio device's running state.
func (*AUAudioUnit) Latency ¶
func (o *AUAudioUnit) Latency() float64
@property latency @brief The audio unit's processing latency, in seconds. @discussion 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 (*AUAudioUnit) MIDIOutputBufferSizeHint ¶
func (o *AUAudioUnit) MIDIOutputBufferSizeHint() int
@property MIDIOutputBufferSizeHint @brief Hint to control the size of the allocated buffer for outgoing MIDI events. @discussion 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 (*AUAudioUnit) MIDIOutputEventBlock ¶
func (o *AUAudioUnit) MIDIOutputEventBlock() objc.Block
@property MIDIOutputEventBlock @brief Block used by the host to access the MIDI output generated by an Audio Unit. @discussion 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 (*AUAudioUnit) MIDIOutputEventListBlock ¶
func (o *AUAudioUnit) MIDIOutputEventListBlock() objc.Block
@property MIDIOutputEventListBlock @brief Block used by the host to access the MIDIEventList output generated by an Audio Unit. @discussion 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 (*AUAudioUnit) MIDIOutputNames ¶
func (o *AUAudioUnit) MIDIOutputNames() *foundation.NSArray[*foundation.NSString]
@property MIDIOutputNames @brief Count, and names of, a plug-in's MIDI outputs. @discussion 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.
func (*AUAudioUnit) ManufacturerName ¶
func (o *AUAudioUnit) ManufacturerName() *foundation.NSString
@property manufacturerName @brief The manufacturer's name.
func (*AUAudioUnit) MaximumFramesToRender ¶
func (o *AUAudioUnit) MaximumFramesToRender() uint32
@property maximumFramesToRender @brief The maximum number of frames which the audio unit can render at once. @discussion 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 (*AUAudioUnit) MessageChannelFor ¶
func (o *AUAudioUnit) MessageChannelFor(channelName *foundation.NSString) AUMessageChannel
Returns an object for bidirectional communication between an audio unit and its host.
func (*AUAudioUnit) MigrateFromPlugin ¶
func (o *AUAudioUnit) MigrateFromPlugin() *foundation.NSArray[objc.ID]
@property migrateFromPlugin @brief Information for migrating data from other audio plug-ins to the v3 Audio Unit architecture. @discussion 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 (*AUAudioUnit) MusicalContextBlock ¶
func (o *AUAudioUnit) MusicalContextBlock() objc.Block
@property musicalContextBlock @brief A callback for the AU to call the host for musical context information. @discussion Note that an audio unit implementation accessing this property should cache it in realtime-safe storage before beginning to render. Bridged to the HostCallback_GetBeatAndTempo and HostCallback_GetMusicalTimeLocation callback members in kAudioUnitProperty_HostCallbacks.
func (*AUAudioUnit) OsWorkgroup ¶
func (o *AUAudioUnit) OsWorkgroup() unsafe.Pointer
@property osWorkgroup @brief The os_workgroup_t to which the input/output audio unit belongs. @discussion For further background, see <AudioToolbox/AudioWorkInterval.h>. Bridged to the v2 property kAudioOutputUnitProperty_OSWorkgroup.
func (*AUAudioUnit) OutputBusses ¶
func (o *AUAudioUnit) OutputBusses() *AUAudioUnitBusArray
@property outputBusses @brief An audio unit's audio output connection points. @discussion 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 (*AUAudioUnit) OutputProvider ¶
func (o *AUAudioUnit) OutputProvider() objc.Block
@property outputProvider @brief The block that the output unit will call to get audio to send to the output. @discussion This block must be set if output is enabled.
func (*AUAudioUnit) ParameterTree ¶
func (o *AUAudioUnit) ParameterTree() *AUParameterTree
@property parameterTree @brief An audio unit's parameters, organized in a hierarchy. @return A parameter tree object, or nil if the unit has no parameters. @discussion 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 (*AUAudioUnit) ParametersForOverviewWithCount ¶
func (o *AUAudioUnit) ParametersForOverviewWithCount(count int) *foundation.NSArray[*foundation.NSNumber]
Returns the audio unit’s most important parameters.
func (*AUAudioUnit) PresetStateForError ¶
func (o *AUAudioUnit) PresetStateForError(userPreset *AUAudioUnitPreset) (*foundation.NSDictionary[*foundation.NSString, objc.ID], error)
@method presetStateFor:error @brief Retrieve the state stored in a user preset @discussion 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. @param userPreset The preset to be selected. @param outError In the event of a failure, the method will return nil and outError will be set to an NSError, describing the problem. Some possible errors: - domain: NSOSStatusErrorDomain code: kAudioUnitErr_NoConnection - domain: NSPOSIXErrorDomain code: ENOENT - domain: NSCocoaErrorDomain code: NSCoderReadCorruptError @return Returns nil if there was an error, otherwise returns a dictionary containing the full state of the audio unit saved in the preset. For details on the possible keys present in the full state dictionary, please see the documentation for kAudioUnitProperty_ClassInfo. The minimal set of keys and their type is: @kAUPresetTypeKey : NSNumber, @kAUPresetSubtypeKey : NSNumber, @kAUPresetManufacturerKey : NSNumber, @kAUPresetVersionKey : NSNumber, @kAUPresetNameKey : NSString, @kAUPresetNumberKey: NSNumber, @kAUPresetDataKey : NSData
func (*AUAudioUnit) ProfileChangedBlock ¶
func (o *AUAudioUnit) ProfileChangedBlock() unsafe.Pointer
@property profileChangedBlock @brief A block called when a device notifies that a MIDI-CI profile has been enabled or disabled. @discussion 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 (*AUAudioUnit) ProfileStateForCableChannel ¶
func (o *AUAudioUnit) ProfileStateForCableChannel(cable uint8, channel uint8) objc.ID
@method profileStateForCable:channel: @brief Given a MIDI cable and channel number, return the supported MIDI-CI Profiles. @param cable The virtual MIDI cable for which the profiles are requested. @param channel The MIDI channel for which the profiles are requested. @return A MIDICIProfileState object containing all the supported MIDI-CI profiles for this channel on this cable.
func (*AUAudioUnit) ProvidesUserInterface ¶
func (o *AUAudioUnit) ProvidesUserInterface() bool
@property providesUserInterface @brief Specifies whether an audio unit provides UI (normally in the form of a view controller). @discussion 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 (*AUAudioUnit) RemoveRenderObserver ¶
func (o *AUAudioUnit) RemoveRenderObserver(token int)
Removes an observer block previously added to the render cycle.
func (*AUAudioUnit) RenderBlock ¶
func (o *AUAudioUnit) RenderBlock() objc.Block
@property renderBlock @brief Block which hosts use to ask the unit to render. @discussion Before invoking an audio unit's rendering functionality, a host should fetch this block and cache the result. The block can then be called from a realtime context without the possibility of blocking and causing an overload at the Core Audio HAL level. This block will call a subclass' internalRenderBlock, providing all realtime events scheduled for the current render time interval, bracketed by calls to any render observers. Subclassers should override internalRenderBlock, not this property. Bridged to the v2 API AudioUnitRender().
func (*AUAudioUnit) RenderContextObserver ¶
func (o *AUAudioUnit) RenderContextObserver() unsafe.Pointer
@property renderContextObserver @brief 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 (*AUAudioUnit) RenderQuality ¶
func (o *AUAudioUnit) RenderQuality() int
@property renderQuality @brief Provides a trade-off between rendering quality and CPU load. @discussion The range of valid values is 0-127. Bridged to the v2 property kAudioUnitProperty_RenderQuality.
func (*AUAudioUnit) RenderResourcesAllocated ¶
func (o *AUAudioUnit) RenderResourcesAllocated() bool
@property renderResourcesAllocated @brief returns YES if the unit has render resources allocated.
func (*AUAudioUnit) Reset ¶
func (o *AUAudioUnit) Reset()
Resets transitory rendering state to its initial state.
func (*AUAudioUnit) SaveUserPresetError ¶
func (o *AUAudioUnit) SaveUserPresetError(userPreset *AUAudioUnitPreset) (bool, error)
@method saveUserPreset:error @brief Persistently save the current state of the audio unit into a userPreset @discussion 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). @param userPreset The preset under which the current state will be saved. @param outError In the event of a failure, the method will return NO and outError will be set to an NSError, describing the problem. Some possible errors: - domain: NSOSStatusErrorDomain code: kAudioUnitErr_NoConnection - domain: NSOSStatusErrorDomain code: kAudioUnitErr_InvalidFilePath - domain: NSOSStatusErrorDomain code: kAudioUnitErr_MissingKey @return YES for success. NO in the event of a failure, in which case the error is returned in outError.
func (*AUAudioUnit) ScheduleMIDIEventBlock ¶
func (o *AUAudioUnit) ScheduleMIDIEventBlock() objc.Block
@property scheduleMIDIEventBlock @brief Block used to schedule MIDI events. @discussion As with renderBlock, a host should fetch and cache this block before calling allocateRenderResources if it intends to schedule MIDI events. This is implemented in the base class. It is nil when musicDeviceOrEffect is NO. Subclasses should not override. When hosts schedule events via this block, they are sent to the Audio Unit via the list of AURenderEvents delivered to internalRenderBlock. All events sent via this block will be delivered to the internalRenderBlock in the MIDI protocol returned by the AudioUnitMIDIProtocol property. For example, if AudioUnitMIDIProtocol returns kMIDIProtocol_2_0, incoming events will be translated to MIDI 2.0 if necessary. If AudioUnitMIDIProtocol is not set, events will be delivered as legacy MIDI. This bridged to the v2 API MusicDeviceMIDIEvent.
func (*AUAudioUnit) ScheduleMIDIEventListBlock ¶
func (o *AUAudioUnit) ScheduleMIDIEventListBlock() objc.Block
@property scheduleMIDIEventListBlock @brief Block used to schedule MIDIEventLists. @discussion As with renderBlock, a host should fetch and cache this block before calling allocateRenderResources, if it intends to schedule MIDI events. When scheduling events during the render cycle (e.g. via a render observer) eventSampleTime can be AUEventSampleTimeImmediate plus an optional buffer offset, in which case the event is scheduled at the provided offset position within the current render cycle. This is implemented in the base class. It is nil when musicDeviceOrEffect is NO. Subclassers should not override. When hosts schedule events via this block, they are delivered to the Audio Unit via the list of AURenderEvents delivered to internalRenderBlock. All events sent via this block will be delivered to the internalRenderBlock in the MIDI protocol returned by the AudioUnitMIDIProtocol property. For example, if this block is called with MIDI-1.0 events but AudioUnitMIDIProtocol returns kMIDIProtocol_2_0, incoming events will be translated to MIDI 2.0. If AudioUnitMIDIProtocol is not set, events will be delivered as legacy MIDI. Note: This block should be preferred over scheduleMIDIEventBlock going forward. This bridged to the v2 API MusicDeviceMIDIEventList.
func (*AUAudioUnit) ScheduleParameterBlock ¶
func (o *AUAudioUnit) ScheduleParameterBlock() objc.Block
@property scheduleParameterBlock @brief Block which hosts use to schedule parameters. @discussion As with renderBlock, a host should fetch and cache this block before calling allocateRenderResources, if it intends to schedule parameters. The block is safe to call from any thread context, including realtime audio render threads. Subclassers should not override this; it is implemented in the base class and will schedule the events to be provided to the internalRenderBlock. Bridged to the v2 API AudioUnitScheduleParameters().
func (*AUAudioUnit) SetChannelMap ¶
func (o *AUAudioUnit) SetChannelMap(channelMap *foundation.NSArray[*foundation.NSNumber])
func (*AUAudioUnit) SetContextName ¶
func (o *AUAudioUnit) SetContextName(contextName *foundation.NSString)
func (*AUAudioUnit) SetCurrentPreset ¶
func (o *AUAudioUnit) SetCurrentPreset(currentPreset *AUAudioUnitPreset)
func (*AUAudioUnit) SetDeviceIDError ¶
func (o *AUAudioUnit) SetDeviceIDError(deviceID uint) (bool, error)
Sets the I/O hardware device.
func (*AUAudioUnit) SetFullState ¶
func (o *AUAudioUnit) SetFullState(fullState *foundation.NSDictionary[*foundation.NSString, objc.ID])
func (*AUAudioUnit) SetFullStateForDocument ¶
func (o *AUAudioUnit) SetFullStateForDocument(fullStateForDocument *foundation.NSDictionary[*foundation.NSString, objc.ID])
func (*AUAudioUnit) SetHostMIDIProtocol ¶
func (o *AUAudioUnit) SetHostMIDIProtocol(hostMIDIProtocol objc.ID)
func (*AUAudioUnit) SetInputEnabled ¶
func (o *AUAudioUnit) SetInputEnabled(inputEnabled bool)
func (*AUAudioUnit) SetInputHandler ¶
func (o *AUAudioUnit) SetInputHandler(inputHandler func(*AudioUnitRenderActionFlags, *coreaudiotypes.AudioTimeStamp, uint32, unsafe.Pointer))
func (*AUAudioUnit) SetIntendedSpatialExperience ¶
func (o *AUAudioUnit) SetIntendedSpatialExperience(intendedSpatialExperience unsafe.Pointer)
func (*AUAudioUnit) SetMIDIOutputBufferSizeHint ¶
func (o *AUAudioUnit) SetMIDIOutputBufferSizeHint(midiOutputBufferSizeHint int)
func (*AUAudioUnit) SetMIDIOutputEventBlock ¶
func (*AUAudioUnit) SetMIDIOutputEventListBlock ¶
func (*AUAudioUnit) SetMaximumFramesToRender ¶
func (o *AUAudioUnit) SetMaximumFramesToRender(maximumFramesToRender uint32)
func (*AUAudioUnit) SetMusicalContextBlock ¶
func (*AUAudioUnit) SetOutputEnabled ¶
func (o *AUAudioUnit) SetOutputEnabled(outputEnabled bool)
func (*AUAudioUnit) SetOutputProvider ¶
func (o *AUAudioUnit) SetOutputProvider(outputProvider func(*AudioUnitRenderActionFlags, *coreaudiotypes.AudioTimeStamp, uint32, int, unsafe.Pointer) int)
func (*AUAudioUnit) SetParameterTree ¶
func (o *AUAudioUnit) SetParameterTree(parameterTree *AUParameterTree)
func (*AUAudioUnit) SetProfileChangedBlock ¶
func (o *AUAudioUnit) SetProfileChangedBlock(profileChangedBlock unsafe.Pointer)
func (*AUAudioUnit) SetRenderQuality ¶
func (o *AUAudioUnit) SetRenderQuality(renderQuality int)
func (*AUAudioUnit) SetRenderResourcesAllocated ¶
func (o *AUAudioUnit) SetRenderResourcesAllocated(flag bool)
Sets the Boolean value of the renderResourcesAllocated property.
func (*AUAudioUnit) SetRenderingOffline ¶
func (o *AUAudioUnit) SetRenderingOffline(renderingOffline bool)
func (*AUAudioUnit) SetShouldBypassEffect ¶
func (o *AUAudioUnit) SetShouldBypassEffect(shouldBypassEffect bool)
func (*AUAudioUnit) SetTransportStateBlock ¶
func (o *AUAudioUnit) SetTransportStateBlock(transportStateBlock func(*AUHostTransportStateFlags, *float64, *float64, unsafe.Pointer) bool)
func (*AUAudioUnit) ShouldBypassEffect ¶
func (o *AUAudioUnit) ShouldBypassEffect() bool
@property shouldBypassEffect @brief Directs an effect to route input directly to output, without any processing. @discussion Bridged to the v2 property kAudioUnitProperty_BypassEffect.
func (*AUAudioUnit) ShouldChangeToFormatForBus ¶
func (o *AUAudioUnit) ShouldChangeToFormatForBus(format *avfaudio.AVAudioFormat, bus *AUAudioUnitBus) bool
This is called when you set the format on a bus.
func (*AUAudioUnit) StartHardwareAndReturnError ¶
func (o *AUAudioUnit) StartHardwareAndReturnError() (bool, error)
Starts the audio hardware.
func (*AUAudioUnit) SupportsMPE ¶
func (o *AUAudioUnit) SupportsMPE() bool
@property supportsMPE @brief Specifies whether an audio unit supports Multi-dimensional Polyphonic Expression. @discussion Bridged to the v2 property kAudioUnitProperty_SupportsMPE.
func (*AUAudioUnit) SupportsUserPresets ¶
func (o *AUAudioUnit) SupportsUserPresets() bool
@property supportsUserPresets @brief Specifies whether an audio unit supports loading and saving user presets @discussion The audio unit should set this property to YES 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 (*AUAudioUnit) TailTime ¶
func (o *AUAudioUnit) TailTime() float64
@property tailTime @brief The audio unit's tail time, in seconds. @discussion 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 (*AUAudioUnit) TokenByAddingRenderObserver ¶
func (o *AUAudioUnit) TokenByAddingRenderObserver(observer func(AudioUnitRenderActionFlags, *coreaudiotypes.AudioTimeStamp, uint32, unsafe.Pointer)) int
Adds a block to be called on each render cycle.
func (*AUAudioUnit) TransportStateBlock ¶
func (o *AUAudioUnit) TransportStateBlock() objc.Block
@property transportStateBlock @brief A callback for the AU to call the host for transport state information. @discussion Note that an audio unit implementation accessing this property should cache it in realtime-safe storage before beginning to render. Bridged to the HostCallback_GetTransportState and HostCallback_GetTransportState2 callback members in kAudioUnitProperty_HostCallbacks.
func (*AUAudioUnit) UserPresets ¶
func (o *AUAudioUnit) UserPresets() *foundation.NSArray[*AUAudioUnitPreset]
@property userPresets @brief A collection of presets saved by the user @discussion 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).
func (*AUAudioUnit) VirtualMIDICableCount ¶
func (o *AUAudioUnit) VirtualMIDICableCount() int
@property virtualMIDICableCount @brief The number of virtual MIDI cables implemented by a music device or effect. @discussion 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.
type AUAudioUnitBus ¶
type AUAudioUnitBus struct {
foundation.NSObject
}
A class that defines an input or output connection point on an audio unit.
Apple documentation: https://developer.apple.com/documentation/audiotoolbox/auaudiounitbus
func AUAudioUnitBusFromID ¶
func AUAudioUnitBusFromID(id objc.ID) *AUAudioUnitBus
func (*AUAudioUnitBus) BusType ¶
func (o *AUAudioUnitBus) BusType() AUAudioUnitBusType
@property busType @brief The AUAudioUnitBusType.
func (*AUAudioUnitBus) ContextPresentationLatency ¶
func (o *AUAudioUnitBus) ContextPresentationLatency() float64
@property contextPresentationLatency @brief Information about latency in the audio unit's processing context. @discussion 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 (*AUAudioUnitBus) Format ¶
func (o *AUAudioUnitBus) Format() *avfaudio.AVAudioFormat
@property format @brief The audio format and channel layout of audio being transferred on the bus. @discussion Bridged to the v2 property kAudioUnitProperty_StreamFormat.
func (*AUAudioUnitBus) Index ¶
func (o *AUAudioUnitBus) Index() uint
@property index @brief The index of this bus in the containing array.
func (*AUAudioUnitBus) InitWithFormatError ¶
func (o *AUAudioUnitBus) InitWithFormatError(format *avfaudio.AVAudioFormat) (*AUAudioUnitBus, error)
Initializes a bus object with a specific format.
func (*AUAudioUnitBus) IsEnabled ¶
func (o *AUAudioUnitBus) IsEnabled() bool
@property enabled @brief Whether the bus is active. @discussion 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 (*AUAudioUnitBus) MaximumChannelCount ¶
func (o *AUAudioUnitBus) MaximumChannelCount() uint32
@property maximumChannelCount @brief The maximum numbers of channels supported for this bus. @discussion 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 (*AUAudioUnitBus) Name ¶
func (o *AUAudioUnitBus) Name() *foundation.NSString
@property name @brief A name for the bus. Can be set by host.
func (*AUAudioUnitBus) OwnerAudioUnit ¶
func (o *AUAudioUnitBus) OwnerAudioUnit() *AUAudioUnit
@property ownerAudioUnit @brief The audio unit that owns the bus.
func (*AUAudioUnitBus) SetContextPresentationLatency ¶
func (o *AUAudioUnitBus) SetContextPresentationLatency(contextPresentationLatency float64)
func (*AUAudioUnitBus) SetEnabled ¶
func (o *AUAudioUnitBus) SetEnabled(enabled bool)
func (*AUAudioUnitBus) SetFormatError ¶
func (o *AUAudioUnitBus) SetFormatError(format *avfaudio.AVAudioFormat) (bool, error)
Sets the bus’s audio format.
func (*AUAudioUnitBus) SetMaximumChannelCount ¶
func (o *AUAudioUnitBus) SetMaximumChannelCount(maximumChannelCount uint32)
func (*AUAudioUnitBus) SetName ¶
func (o *AUAudioUnitBus) SetName(name *foundation.NSString)
func (*AUAudioUnitBus) SetShouldAllocateBuffer ¶
func (o *AUAudioUnitBus) SetShouldAllocateBuffer(shouldAllocateBuffer bool)
func (*AUAudioUnitBus) SetSupportedChannelCounts ¶
func (o *AUAudioUnitBus) SetSupportedChannelCounts(supportedChannelCounts *foundation.NSArray[*foundation.NSNumber])
func (*AUAudioUnitBus) ShouldAllocateBuffer ¶
func (o *AUAudioUnitBus) ShouldAllocateBuffer() bool
@property shouldAllocateBuffer @brief Controls the audio unit's allocation strategy for a bus. @discussion 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 (*AUAudioUnitBus) SupportedChannelCounts ¶
func (o *AUAudioUnitBus) SupportedChannelCounts() *foundation.NSArray[*foundation.NSNumber]
@property supportedChannelCounts @brief An array of numbers giving the supported numbers of channels for this bus. @discussion 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.
func (*AUAudioUnitBus) SupportedChannelLayoutTags ¶
func (o *AUAudioUnitBus) SupportedChannelLayoutTags() *foundation.NSArray[*foundation.NSNumber]
@property supportedChannelLayoutTags @discussion This is an array of NSNumbers representing AudioChannelLayoutTag.
type AUAudioUnitBusArray ¶
type AUAudioUnitBusArray struct {
foundation.NSObject
}
A class that defines a container for an audio unit’s input or output busses.
Apple documentation: https://developer.apple.com/documentation/audiotoolbox/auaudiounitbusarray
func AUAudioUnitBusArrayFromID ¶
func AUAudioUnitBusArrayFromID(id objc.ID) *AUAudioUnitBusArray
func (*AUAudioUnitBusArray) AddObserverToAllBussesForKeyPathOptionsContext ¶
func (o *AUAudioUnitBusArray) AddObserverToAllBussesForKeyPathOptionsContext(observer *foundation.NSObject, keyPath *foundation.NSString, options foundation.NSKeyValueObservingOptions, context_ unsafe.Pointer)
Adds a KVO observer for a given property on all busses in the array.
func (*AUAudioUnitBusArray) BusType ¶
func (o *AUAudioUnitBusArray) BusType() AUAudioUnitBusType
Which bus array this is (input or output).
func (*AUAudioUnitBusArray) InitWithAudioUnitBusType ¶
func (o *AUAudioUnitBusArray) InitWithAudioUnitBusType(owner *AUAudioUnit, busType AUAudioUnitBusType) *AUAudioUnitBusArray
Initializes an empty bus array.
func (*AUAudioUnitBusArray) InitWithAudioUnitBusTypeBusses ¶
func (o *AUAudioUnitBusArray) InitWithAudioUnitBusTypeBusses(owner *AUAudioUnit, busType AUAudioUnitBusType, busArray *foundation.NSArray[*AUAudioUnitBus]) *AUAudioUnitBusArray
Initializes a bus array by making a copy of the supplied busses.
func (*AUAudioUnitBusArray) IsCountChangeable ¶
func (o *AUAudioUnitBusArray) IsCountChangeable() bool
@property countChangeable @brief Whether the array can have a variable number of busses. @discussion The base implementation returns false.
func (*AUAudioUnitBusArray) ObjectAtIndexedSubscript ¶
func (o *AUAudioUnitBusArray) ObjectAtIndexedSubscript(index uint) *AUAudioUnitBus
Returns the bus at the specified index.
func (*AUAudioUnitBusArray) OwnerAudioUnit ¶
func (o *AUAudioUnitBusArray) OwnerAudioUnit() *AUAudioUnit
The audio unit that owns the bus.
func (*AUAudioUnitBusArray) RemoveObserverFromAllBussesForKeyPathContext ¶
func (o *AUAudioUnitBusArray) RemoveObserverFromAllBussesForKeyPathContext(observer *foundation.NSObject, keyPath *foundation.NSString, context_ unsafe.Pointer)
Removes a KVO observer for a given property on all busses in the array.
func (*AUAudioUnitBusArray) ReplaceBusses ¶
func (o *AUAudioUnitBusArray) ReplaceBusses(busArray *foundation.NSArray[*AUAudioUnitBus])
Replaces the current bus array with a copy of the supplied bus array.
func (*AUAudioUnitBusArray) SetBusCountError ¶
func (o *AUAudioUnitBusArray) SetBusCountError(count uint) (bool, error)
Changes the number of busses in the array.
type AUAudioUnitBusType ¶
type AUAudioUnitBusType int64
const ( // An input bus. AUAudioUnitBusTypeInput AUAudioUnitBusType = 1 // An output bus. AUAudioUnitBusTypeOutput AUAudioUnitBusType = 2 )
func (AUAudioUnitBusType) String ¶
func (e AUAudioUnitBusType) String() string
type AUAudioUnitFactory ¶
type AUAudioUnitFactory interface {
foundation.NSExtensionRequestHandling
CreateAudioUnitWithComponentDescriptionError(desc AudioComponentDescription) (*AUAudioUnit, error)
}
AUAudioUnitFactory wraps the ObjC protocol AUAudioUnitFactory.
type AUAudioUnitPreset ¶
type AUAudioUnitPreset struct {
foundation.NSObject
}
A class that describes an interface for custom parameter settings provided by the audio unit developer.
Apple documentation: https://developer.apple.com/documentation/audiotoolbox/auaudiounitpreset
func AUAudioUnitPresetFromID ¶
func AUAudioUnitPresetFromID(id objc.ID) *AUAudioUnitPreset
func (*AUAudioUnitPreset) Name ¶
func (o *AUAudioUnitPreset) Name() *foundation.NSString
@property name @brief The preset's name.
func (*AUAudioUnitPreset) Number ¶
func (o *AUAudioUnitPreset) Number() int
@property number @brief The preset's unique numeric identifier.
func (*AUAudioUnitPreset) SetName ¶
func (o *AUAudioUnitPreset) SetName(name *foundation.NSString)
func (*AUAudioUnitPreset) SetNumber ¶
func (o *AUAudioUnitPreset) SetNumber(number int)
type AUAudioUnitV2Bridge ¶
type AUAudioUnitV2Bridge struct {
AUAudioUnit
}
A class that wraps a version 2 audio unit as version 3 audio unit.
Apple documentation: https://developer.apple.com/documentation/audiotoolbox/auaudiounitv2bridge
func AUAudioUnitV2BridgeFromID ¶
func AUAudioUnitV2BridgeFromID(id objc.ID) *AUAudioUnitV2Bridge
func (*AUAudioUnitV2Bridge) AudioUnit ¶
func (o *AUAudioUnitV2Bridge) AudioUnit() *carboncore.ComponentInstanceRecord
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 AUDistanceAttenuationData
deprecated
type AUHostIdentifier ¶
type AUHostIdentifier struct {
HostName unsafe.Pointer
HostVersion AUNumVersion
}
@struct AUHostIdentifier @abstract Used to describe the name and version of the audio unit's host
type AUHostTransportStateFlags ¶
type AUHostTransportStateFlags uint64
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. AUHostTransportStateChanged AUHostTransportStateFlags = 1 // Indicates that the audio transport is moving. AUHostTransportStateMoving AUHostTransportStateFlags = 2 // Indicates that the host is recording, or is prepared to record. Can be active with or without a moving state. AUHostTransportStateRecording AUHostTransportStateFlags = 4 // Indicates that the host is cycling or looping. AUHostTransportStateCycling AUHostTransportStateFlags = 8 )
func (AUHostTransportStateFlags) String ¶
func (e AUHostTransportStateFlags) String() string
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{}
@typedef AUParameterListenerRef @abstract An object which receives notifications of Audio Unit parameter value changes. AUListenerBase is an opaque type.
type AUMIDIEvent ¶
type AUMIDIEvent struct {
Next unsafe.Pointer
EventSampleTime int64
EventType AURenderEventType
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 AURenderEventType
Reserved uint8
Cable uint8
EventList objc.ID
}
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 AUMessageChannel ¶
type AUMessageChannel interface {
CallHostBlock() objc.Block
SetCallHostBlock(callHostBlock func(*foundation.NSDictionary[objc.ID, objc.ID]) *foundation.NSDictionary[objc.ID, objc.ID])
}
AUMessageChannel wraps the ObjC protocol AUMessageChannel.
type AUNodeConnection ¶
type AUNodeConnection = AudioUnitNodeConnection
AUNodeConnection is an alias for AudioUnitNodeConnection (C typedef AUNodeConnection).
type AUNodeInteraction ¶
Describes the interaction between two node objects.
type AUNodeRenderCallback ¶
type AUNodeRenderCallback struct {
DestNode int
DestInputNumber uint
Cback AURenderCallbackStruct
}
A callback used to provide input to an audio unit.
type AUNumVersion ¶
type AUParameter ¶
type AUParameter struct {
AUParameterNode
}
An object that represents a single audio unit parameter.
Apple documentation: https://developer.apple.com/documentation/audiotoolbox/auparameter
func AUParameterFromID ¶
func AUParameterFromID(id objc.ID) *AUParameter
func AUParameterTreeCreateParameterWithIdentifierNameAddressMinMaxUnitUnitNameFlagsValueStringsDependentParameters ¶
func AUParameterTreeCreateParameterWithIdentifierNameAddressMinMaxUnitUnitNameFlagsValueStringsDependentParameters(identifier *foundation.NSString, name *foundation.NSString, address uint64, min float32, max float32, unit AudioUnitParameterUnit, unitName *foundation.NSString, flags AudioUnitParameterOptions, valueStrings *foundation.NSArray[*foundation.NSString], dependentParameters *foundation.NSArray[*foundation.NSNumber]) *AUParameter
Creates a single parameter object.
func (*AUParameter) DependentParameters ¶
func (o *AUParameter) DependentParameters() *foundation.NSArray[*foundation.NSNumber]
@brief Parameters whose values may change as a side effect of this parameter's value changing. @discussion Each array value is an NSNumber representing AUParameterAddress.
func (*AUParameter) Flags ¶
func (o *AUParameter) Flags() AudioUnitParameterOptions
Various details of the parameter.
func (*AUParameter) MaxValue ¶
func (o *AUParameter) MaxValue() float32
The parameter's maximum value.
func (*AUParameter) MinValue ¶
func (o *AUParameter) MinValue() float32
The parameter's minimum value.
func (*AUParameter) SetValue ¶
func (o *AUParameter) SetValue(value float32)
func (*AUParameter) SetValueOriginator ¶
func (o *AUParameter) SetValueOriginator(value float32, originator unsafe.Pointer)
Sets the parameter’s value, avoiding redundant notifications to the originator.
func (*AUParameter) SetValueOriginatorAtHostTime ¶
func (o *AUParameter) SetValueOriginatorAtHostTime(value float32, originator unsafe.Pointer, hostTime uint64)
Sets the parameter’s value, preserving the host time of the gesture that initiated the change.
func (*AUParameter) SetValueOriginatorAtHostTimeEventType ¶
func (o *AUParameter) SetValueOriginatorAtHostTimeEventType(value float32, originator unsafe.Pointer, hostTime uint64, eventType AUParameterAutomationEventType)
@brief 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. @discussion 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 (*AUParameter) StringFromValue ¶
func (o *AUParameter) StringFromValue(value *float32) *foundation.NSString
Gets the string representation of a parameter value.
func (*AUParameter) Unit ¶
func (o *AUParameter) Unit() AudioUnitParameterUnit
The parameter's unit of measurement.
func (*AUParameter) UnitName ¶
func (o *AUParameter) UnitName() *foundation.NSString
A localized name for the parameter's unit. Supplied by the AU if kAudioUnitParameterUnit_CustomUnit; else by the framework.
func (*AUParameter) ValueFromString ¶
func (o *AUParameter) ValueFromString(string_ *foundation.NSString) float32
Converts a string into a parameter value.
func (*AUParameter) ValueStrings ¶
func (o *AUParameter) ValueStrings() *foundation.NSArray[*foundation.NSString]
For parameters with kAudioUnitParameterUnit_Indexed, localized strings corresponding to the values.
type AUParameterAutomationEvent ¶
type AUParameterAutomationEvent struct {
HostTime uint64
Address uint64
Value float32
EventType AUParameterAutomationEventType
Reserved uint64
}
@typedef AUParameterAutomationEvent @brief An event recording the changing of a parameter, possibly including events such as touch and release gestures, at a particular host time.
type AUParameterAutomationEventType ¶
type AUParameterAutomationEventType int64
const ( AUParameterAutomationEventTypeValue AUParameterAutomationEventType = 0 AUParameterAutomationEventTypeTouch AUParameterAutomationEventType = 1 AUParameterAutomationEventTypeRelease AUParameterAutomationEventType = 2 )
func (AUParameterAutomationEventType) String ¶
func (e AUParameterAutomationEventType) String() string
type AUParameterEvent ¶
type AUParameterEvent struct {
Next unsafe.Pointer
EventSampleTime int64
EventType AURenderEventType
Reserved [3]uint8
RampDurationSampleFrames uint32
ParameterAddress uint64
Value float32
}
A structure that describes a scheduled parameter event.
type AUParameterEventType ¶
type AUParameterEventType int64
Audio unit parameter event types.
const ( // An immediate change from the parameter’s previous value to a new value. KParameterEvent_Immediate AUParameterEventType = 1 // A gradual change from the parameter’s previous value to a new value, applied linearly over a specified period of time KParameterEvent_Ramped AUParameterEventType = 2 )
func (AUParameterEventType) String ¶
func (e AUParameterEventType) String() string
type AUParameterGroup ¶
type AUParameterGroup struct {
AUParameterNode
}
A parameter group object represents a group of related audio unit parameters.
Apple documentation: https://developer.apple.com/documentation/audiotoolbox/auparametergroup
func AUParameterGroupFromID ¶
func AUParameterGroupFromID(id objc.ID) *AUParameterGroup
func AUParameterTreeCreateGroupFromTemplateIdentifierNameAddressOffset ¶
func AUParameterTreeCreateGroupFromTemplateIdentifierNameAddressOffset(templateGroup *AUParameterGroup, identifier *foundation.NSString, name *foundation.NSString, addressOffset uint64) *AUParameterGroup
Initializes a group as a copied instance of a template group.
func AUParameterTreeCreateGroupTemplate ¶
func AUParameterTreeCreateGroupTemplate(children *foundation.NSArray[*AUParameterNode]) *AUParameterGroup
Creates a template group which may be used as a prototype for further group instances.
func AUParameterTreeCreateGroupWithIdentifierNameChildren ¶
func AUParameterTreeCreateGroupWithIdentifierNameChildren(identifier *foundation.NSString, name *foundation.NSString, children *foundation.NSArray[*AUParameterNode]) *AUParameterGroup
Creates a parameter group object.
func (*AUParameterGroup) AllParameters ¶
func (o *AUParameterGroup) AllParameters() *foundation.NSArray[*AUParameter]
Returns a flat array of all parameters in the group, including those in child groups.
func (*AUParameterGroup) Children ¶
func (o *AUParameterGroup) Children() *foundation.NSArray[*AUParameterNode]
The group's child nodes (AUParameterGroupNode).
type AUParameterMIDIMapping ¶
type AUParameterMIDIMapping struct {
MScope uint
MElement uint
MParameterID uint
MFlags AUParameterMIDIMappingFlags
MSubRangeMin float32
MSubRangeMax float32
MStatus uint8
MData1 uint8
Reserved1 uint8
Reserved2 uint8
Reserved3 uint
}
@struct AUParameterMIDIMapping @abstract Represents a mapping between a MIDI message and an audio unit's parameter. @discussion 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 AUParameterMIDIMappingFlags ¶
type AUParameterMIDIMappingFlags int64
const ( KAUParameterMIDIMapping_AnyChannelFlag AUParameterMIDIMappingFlags = 1 KAUParameterMIDIMapping_AnyNoteFlag AUParameterMIDIMappingFlags = 2 KAUParameterMIDIMapping_SubRange AUParameterMIDIMappingFlags = 4 KAUParameterMIDIMapping_Toggle AUParameterMIDIMappingFlags = 8 KAUParameterMIDIMapping_Bipolar AUParameterMIDIMappingFlags = 16 KAUParameterMIDIMapping_Bipolar_On AUParameterMIDIMappingFlags = 32 )
func (AUParameterMIDIMappingFlags) String ¶
func (e AUParameterMIDIMappingFlags) String() string
type AUParameterNode ¶
type AUParameterNode struct {
foundation.NSObject
}
An object that represents a node in an audio unit’s parameter tree.
Apple documentation: https://developer.apple.com/documentation/audiotoolbox/auparameternode
func AUParameterNodeFromID ¶
func AUParameterNodeFromID(id objc.ID) *AUParameterNode
func (*AUParameterNode) DisplayName ¶
func (o *AUParameterNode) DisplayName() *foundation.NSString
@property displayName @brief A localized name to display for the parameter.
func (*AUParameterNode) DisplayNameWithLength ¶
func (o *AUParameterNode) DisplayNameWithLength(maximumLength int) *foundation.NSString
Another version of the display name, possibly truncated to a desired length.
func (*AUParameterNode) Identifier ¶
func (o *AUParameterNode) Identifier() *foundation.NSString
@property identifier @brief A non-localized, permanent name for a parameter or group. @discussion 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 (*AUParameterNode) ImplementorDisplayNameWithLengthCallback ¶
func (o *AUParameterNode) ImplementorDisplayNameWithLengthCallback() objc.Block
Called to obtain an abbreviated version of a parameter or group name.
func (*AUParameterNode) ImplementorStringFromValueCallback ¶
func (o *AUParameterNode) ImplementorStringFromValueCallback() objc.Block
Called to provide string representations of parameter values. If value is nil, the callback uses the current value of the parameter.
func (*AUParameterNode) ImplementorValueFromStringCallback ¶
func (o *AUParameterNode) ImplementorValueFromStringCallback() objc.Block
Called to convert string to numeric representations of parameter values.
func (*AUParameterNode) ImplementorValueObserver ¶
func (o *AUParameterNode) ImplementorValueObserver() objc.Block
@brief Called when a parameter changes value. @discussion This block, used only in an audio unit implementation, receives all externally-generated changes to parameter values. It should store the new value in its audio signal processing state (assuming that that state is separate from the AUParameter object).
func (*AUParameterNode) ImplementorValueProvider ¶
func (o *AUParameterNode) ImplementorValueProvider() objc.Block
@brief Called when a value of a parameter in the tree is known to have a stale value needing to be refreshed. @discussion The audio unit should return the current value for this parameter; the AUParameterNode will store the value.
func (*AUParameterNode) KeyPath ¶
func (o *AUParameterNode) KeyPath() *foundation.NSString
@property keyPath @brief Generated by concatenating the identifiers of a node's parents with its own. @discussion 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 (*AUParameterNode) RemoveParameterObserver ¶
func (o *AUParameterNode) RemoveParameterObserver(token unsafe.Pointer)
Remove a specific parameter observer.
func (*AUParameterNode) SetImplementorDisplayNameWithLengthCallback ¶
func (o *AUParameterNode) SetImplementorDisplayNameWithLengthCallback(implementorDisplayNameWithLengthCallback objc.Block)
func (*AUParameterNode) SetImplementorStringFromValueCallback ¶
func (o *AUParameterNode) SetImplementorStringFromValueCallback(implementorStringFromValueCallback objc.Block)
func (*AUParameterNode) SetImplementorValueFromStringCallback ¶
func (o *AUParameterNode) SetImplementorValueFromStringCallback(implementorValueFromStringCallback objc.Block)
func (*AUParameterNode) SetImplementorValueObserver ¶
func (o *AUParameterNode) SetImplementorValueObserver(implementorValueObserver func(*AUParameter, float32))
func (*AUParameterNode) SetImplementorValueProvider ¶
func (o *AUParameterNode) SetImplementorValueProvider(implementorValueProvider objc.Block)
func (*AUParameterNode) TokenByAddingParameterAutomationObserver ¶
func (o *AUParameterNode) TokenByAddingParameterAutomationObserver(observer func(int, *AUParameterAutomationEvent)) unsafe.Pointer
@method tokenByAddingParameterAutomationObserver: @brief Add a recording observer for a parameter or all parameters in a group/tree. @discussion An audio unit host can use an AUParameterAutomationObserver or AUParameterRecordingObserver to capture a series of changes to a parameter value, including the timing of the events, as generated by a UI gesture in a view, for example. Unlike AUParameterObserver, these callbacks are not throttled. This block is called in an arbitrary thread context. It is responsible for thread-safety. It must not make any calls to add or remove other observers, including itself; this will deadlock. An audio unit's engine should interact with the parameter object via implementorValueObserver and implementorValueProvider. @param observer A block to call to record the changing of a parameter value. @return A token which can be passed to removeParameterObserver: or to -[AUParameter setValue:originator:]
func (*AUParameterNode) TokenByAddingParameterObserver ¶
func (o *AUParameterNode) TokenByAddingParameterObserver(observer func(uint64, float32)) unsafe.Pointer
Adds an observer for a single parameter or all parameters in a group.
func (*AUParameterNode) TokenByAddingParameterRecordingObserver ¶
func (o *AUParameterNode) TokenByAddingParameterRecordingObserver(observer func(int, *AURecordedParameterEvent)) unsafe.Pointer
Adds a recording observer for a single parameter or all parameters in a group.
type AUParameterTree ¶
type AUParameterTree struct {
AUParameterGroup
}
An object that represents a top-level group node that contains all of an audio unit’s parameters.
Apple documentation: https://developer.apple.com/documentation/audiotoolbox/auparametertree
func AUParameterTreeCreateTreeWithChildren ¶
func AUParameterTreeCreateTreeWithChildren(children *foundation.NSArray[*AUParameterNode]) *AUParameterTree
Creates a parameter tree object.
func AUParameterTreeFromID ¶
func AUParameterTreeFromID(id objc.ID) *AUParameterTree
func (*AUParameterTree) ParameterWithAddress ¶
func (o *AUParameterTree) ParameterWithAddress(address uint64) *AUParameter
Searches the tree for a parameter with a specific address.
func (*AUParameterTree) ParameterWithIDScopeElement ¶
func (o *AUParameterTree) ParameterWithIDScopeElement(paramID uint, scope uint, element uint) *AUParameter
Searches the tree for a specific version 2 audio unit parameter.
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 AURenderEventHeader ¶
type AURenderEventHeader struct {
Next unsafe.Pointer
EventSampleTime int64
EventType AURenderEventType
Reserved uint8
}
The common header for a render event.
type AURenderEventType ¶
type AURenderEventType int64
const ( // A parameter event. AURenderEventParameter AURenderEventType = 1 // A ramped parameter event. AURenderEventParameterRamp AURenderEventType = 2 // A MIDI event. AURenderEventMIDI AURenderEventType = 8 // A system-exclusive MIDI event. AURenderEventMIDISysEx AURenderEventType = 9 AURenderEventMIDIEventList AURenderEventType = 10 )
func (AURenderEventType) String ¶
func (e AURenderEventType) String() string
type AUReverbRoomType ¶
type AUReverbRoomType int64
const ( KReverbRoomType_SmallRoom AUReverbRoomType = 0 KReverbRoomType_MediumRoom AUReverbRoomType = 1 KReverbRoomType_LargeRoom AUReverbRoomType = 2 KReverbRoomType_MediumHall AUReverbRoomType = 3 KReverbRoomType_LargeHall AUReverbRoomType = 4 KReverbRoomType_Plate AUReverbRoomType = 5 KReverbRoomType_MediumChamber AUReverbRoomType = 6 KReverbRoomType_LargeChamber AUReverbRoomType = 7 KReverbRoomType_Cathedral AUReverbRoomType = 8 KReverbRoomType_LargeRoom2 AUReverbRoomType = 9 KReverbRoomType_MediumHall2 AUReverbRoomType = 10 KReverbRoomType_MediumHall3 AUReverbRoomType = 11 KReverbRoomType_LargeHall2 AUReverbRoomType = 12 )
func (AUReverbRoomType) String ¶
func (e AUReverbRoomType) String() string
type AUSamplerBankPresetData ¶
type AUSamplerInstrumentData ¶
type AUScheduledAudioSliceFlags ¶
type AUScheduledAudioSliceFlags int64
const ( KScheduledAudioSliceFlag_Complete AUScheduledAudioSliceFlags = 1 KScheduledAudioSliceFlag_BeganToRender AUScheduledAudioSliceFlags = 2 KScheduledAudioSliceFlag_BeganToRenderLate AUScheduledAudioSliceFlags = 4 KScheduledAudioSliceFlag_Loop AUScheduledAudioSliceFlags = 8 KScheduledAudioSliceFlag_Interrupt AUScheduledAudioSliceFlags = 16 KScheduledAudioSliceFlag_InterruptAtLoop AUScheduledAudioSliceFlags = 32 )
func (AUScheduledAudioSliceFlags) String ¶
func (e AUScheduledAudioSliceFlags) String() string
type AUSpatialMixerAttenuationCurve ¶
type AUSpatialMixerAttenuationCurve int64
const ( KSpatialMixerAttenuationCurve_Power AUSpatialMixerAttenuationCurve = 0 KSpatialMixerAttenuationCurve_Exponential AUSpatialMixerAttenuationCurve = 1 KSpatialMixerAttenuationCurve_Inverse AUSpatialMixerAttenuationCurve = 2 KSpatialMixerAttenuationCurve_Linear AUSpatialMixerAttenuationCurve = 3 )
func (AUSpatialMixerAttenuationCurve) String ¶
func (e AUSpatialMixerAttenuationCurve) String() string
type AUSpatialMixerOutputType ¶
type AUSpatialMixerOutputType int64
const ( KSpatialMixerOutputType_Headphones AUSpatialMixerOutputType = 1 KSpatialMixerOutputType_BuiltInSpeakers AUSpatialMixerOutputType = 2 KSpatialMixerOutputType_ExternalSpeakers AUSpatialMixerOutputType = 3 )
func (AUSpatialMixerOutputType) String ¶
func (e AUSpatialMixerOutputType) String() string
type AUSpatialMixerPersonalizedHRTFMode ¶
type AUSpatialMixerPersonalizedHRTFMode int64
const ( KSpatialMixerPersonalizedHRTFMode_Off AUSpatialMixerPersonalizedHRTFMode = 0 KSpatialMixerPersonalizedHRTFMode_On AUSpatialMixerPersonalizedHRTFMode = 1 KSpatialMixerPersonalizedHRTFMode_Auto AUSpatialMixerPersonalizedHRTFMode = 2 )
func (AUSpatialMixerPersonalizedHRTFMode) String ¶
func (e AUSpatialMixerPersonalizedHRTFMode) String() string
type AUSpatialMixerPointSourceInHeadMode ¶
type AUSpatialMixerPointSourceInHeadMode int64
const ( KSpatialMixerPointSourceInHeadMode_Mono AUSpatialMixerPointSourceInHeadMode = 0 KSpatialMixerPointSourceInHeadMode_Bypass AUSpatialMixerPointSourceInHeadMode = 1 )
func (AUSpatialMixerPointSourceInHeadMode) String ¶
func (e AUSpatialMixerPointSourceInHeadMode) String() string
type AUSpatialMixerRenderingFlags ¶
type AUSpatialMixerRenderingFlags int64
const ( KSpatialMixerRenderingFlags_InterAuralDelay AUSpatialMixerRenderingFlags = 1 KSpatialMixerRenderingFlags_DistanceAttenuation AUSpatialMixerRenderingFlags = 4 )
func (AUSpatialMixerRenderingFlags) String ¶
func (e AUSpatialMixerRenderingFlags) String() string
type AUSpatialMixerSourceMode ¶
type AUSpatialMixerSourceMode int64
const ( KSpatialMixerSourceMode_SpatializeIfMono AUSpatialMixerSourceMode = 0 KSpatialMixerSourceMode_Bypass AUSpatialMixerSourceMode = 1 KSpatialMixerSourceMode_PointSource AUSpatialMixerSourceMode = 2 KSpatialMixerSourceMode_AmbienceBed AUSpatialMixerSourceMode = 3 )
func (AUSpatialMixerSourceMode) String ¶
func (e AUSpatialMixerSourceMode) String() string
type AUSpatializationAlgorithm ¶
type AUSpatializationAlgorithm int64
const ( KSpatializationAlgorithm_EqualPowerPanning AUSpatializationAlgorithm = 0 KSpatializationAlgorithm_SphericalHead AUSpatializationAlgorithm = 1 KSpatializationAlgorithm_HRTF AUSpatializationAlgorithm = 2 KSpatializationAlgorithm_SoundField AUSpatializationAlgorithm = 3 KSpatializationAlgorithm_VectorBasedPanning AUSpatializationAlgorithm = 4 KSpatializationAlgorithm_StereoPassThrough AUSpatializationAlgorithm = 5 KSpatializationAlgorithm_HRTFHQ AUSpatializationAlgorithm = 6 KSpatializationAlgorithm_UseOutputType AUSpatializationAlgorithm = 7 )
func (AUSpatializationAlgorithm) String ¶
func (e AUSpatializationAlgorithm) String() string
type AUVoiceIOOtherAudioDuckingConfiguration ¶
type AUVoiceIOOtherAudioDuckingConfiguration struct {
MEnableAdvancedDucking uint8
MDuckingLevel AUVoiceIOOtherAudioDuckingLevel
}
A structure that you use to configure ducking of other non-voice audio in a voice chat.
type AUVoiceIOOtherAudioDuckingLevel ¶
type AUVoiceIOOtherAudioDuckingLevel int64
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 AUVoiceIOOtherAudioDuckingLevel = 0 // The minimum ducking level of other non-voice audio. KAUVoiceIOOtherAudioDuckingLevelMin AUVoiceIOOtherAudioDuckingLevel = 10 // A medium ducking level of other non-voice audio. KAUVoiceIOOtherAudioDuckingLevelMid AUVoiceIOOtherAudioDuckingLevel = 20 // The maximum ducking level of other non-voice audio. KAUVoiceIOOtherAudioDuckingLevelMax AUVoiceIOOtherAudioDuckingLevel = 30 )
func (AUVoiceIOOtherAudioDuckingLevel) String ¶
func (e AUVoiceIOOtherAudioDuckingLevel) String() string
type AUVoiceIOSpeechActivityEvent ¶
type AUVoiceIOSpeechActivityEvent int64
Constants that indicate the state of muted speech.
const ( // A state that indicates speech started. KAUVoiceIOSpeechActivityHasStarted AUVoiceIOSpeechActivityEvent = 0 // A state that indicates speech ended. KAUVoiceIOSpeechActivityHasEnded AUVoiceIOSpeechActivityEvent = 1 )
func (AUVoiceIOSpeechActivityEvent) String ¶
func (e AUVoiceIOSpeechActivityEvent) String() string
type Acl_entry_id_t ¶
type Acl_entry_id_t int64
const ( ACL_FIRST_ENTRY Acl_entry_id_t = 0 ACL_NEXT_ENTRY Acl_entry_id_t = -1 ACL_LAST_ENTRY Acl_entry_id_t = -2 )
func (Acl_entry_id_t) String ¶
func (e Acl_entry_id_t) String() string
type Acl_flag_t ¶
type Acl_flag_t int64
const ( ACL_FLAG_DEFER_INHERIT Acl_flag_t = 1 ACL_FLAG_NO_INHERIT Acl_flag_t = 131072 ACL_ENTRY_INHERITED Acl_flag_t = 16 ACL_ENTRY_FILE_INHERIT Acl_flag_t = 32 ACL_ENTRY_DIRECTORY_INHERIT Acl_flag_t = 64 ACL_ENTRY_LIMIT_INHERIT Acl_flag_t = 128 ACL_ENTRY_ONLY_INHERIT Acl_flag_t = 256 )
func (Acl_flag_t) String ¶
func (e Acl_flag_t) String() string
type Acl_perm_t ¶
type Acl_perm_t int64
const ( ACL_READ_DATA Acl_perm_t = 2 ACL_LIST_DIRECTORY Acl_perm_t = 2 ACL_WRITE_DATA Acl_perm_t = 4 ACL_ADD_FILE Acl_perm_t = 4 ACL_EXECUTE Acl_perm_t = 8 ACL_SEARCH Acl_perm_t = 8 ACL_DELETE Acl_perm_t = 16 ACL_APPEND_DATA Acl_perm_t = 32 ACL_ADD_SUBDIRECTORY Acl_perm_t = 32 ACL_DELETE_CHILD Acl_perm_t = 64 ACL_READ_ATTRIBUTES Acl_perm_t = 128 ACL_WRITE_ATTRIBUTES Acl_perm_t = 256 ACL_READ_EXTATTRIBUTES Acl_perm_t = 512 ACL_WRITE_EXTATTRIBUTES Acl_perm_t = 1024 ACL_READ_SECURITY Acl_perm_t = 2048 ACL_WRITE_SECURITY Acl_perm_t = 4096 ACL_CHANGE_OWNER Acl_perm_t = 8192 ACL_SYNCHRONIZE Acl_perm_t = 1048576 )
func (Acl_perm_t) String ¶
func (e Acl_perm_t) String() string
type Acl_type_t ¶
type Acl_type_t int64
const ( ACL_TYPE_EXTENDED Acl_type_t = 256 ACL_TYPE_ACCESS Acl_type_t = 0 ACL_TYPE_DEFAULT Acl_type_t = 1 ACL_TYPE_AFS Acl_type_t = 2 ACL_TYPE_CODA Acl_type_t = 3 ACL_TYPE_NTFS Acl_type_t = 4 ACL_TYPE_NWFS Acl_type_t = 5 )
func (Acl_type_t) String ¶
func (e Acl_type_t) String() string
type AudioBalanceFade ¶
type AudioBalanceFade struct {
MLeftRightBalance float32
MBackFrontFade float32
MType AudioBalanceFadeType
MChannelLayout *coreaudiotypes.AudioChannelLayout
}
Describes audio left/right balance and front/back fade values.
type AudioBalanceFadeType ¶
type AudioBalanceFadeType int64
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
type AudioBytePacketTranslation ¶
type AudioBytePacketTranslation struct {
MByte int64
MPacket int64
MByteOffsetInPacket uint
MFlags AudioBytePacketTranslationFlags
}
A data structure used by the kAudioFilePropertyByteToPacket and kAudioFilePropertyPacketToByte properties.
type AudioBytePacketTranslationFlags ¶
type AudioBytePacketTranslationFlags int64
const ( // If set, the result value is an estimate. KBytePacketTranslationFlag_IsEstimate AudioBytePacketTranslationFlags = 1 )
func (AudioBytePacketTranslationFlags) String ¶
func (e AudioBytePacketTranslationFlags) String() string
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 AudioComponentDescription ¶
type AudioComponentDescription struct {
ComponentType uint
ComponentSubType uint
ComponentManufacturer uint
ComponentFlags uint
ComponentFlagsMask uint
}
Identifying information for an audio component.
type AudioComponentFlags ¶
type AudioComponentFlags int64
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
type AudioComponentInstance ¶
type AudioComponentInstance = *carboncore.ComponentInstanceRecord
AudioComponentInstance is an opaque pointer to ComponentInstanceRecord (C typedef AudioComponentInstance).
type AudioComponentInstantiationOptions ¶
type AudioComponentInstantiationOptions int64
const ( KAudioComponentInstantiation_LoadOutOfProcess AudioComponentInstantiationOptions = 1 KAudioComponentInstantiation_LoadInProcess AudioComponentInstantiationOptions = 2 )
func (AudioComponentInstantiationOptions) String ¶
func (e AudioComponentInstantiationOptions) String() string
type AudioComponentPlugInInterface ¶
type AudioComponentPlugInInterface struct {
Open unsafe.Pointer
Close unsafe.Pointer
Lookup unsafe.Pointer
Reserved unsafe.Pointer
}
@struct AudioComponentPlugInInterface @discussion A structure used to represent an audio plugin's routines @var Open the function used to open (or create) an audio plugin instance @var Close the function used to close (or dispose) an audio plugin instance @var Lookup this is used to return a function pointer for a given selector, or NULL if that selector is not implemented @var reserved must be NULL
type AudioComponentValidationResult ¶
type AudioComponentValidationResult int64
const ( KAudioComponentValidationResult_Unknown AudioComponentValidationResult = 0 KAudioComponentValidationResult_Passed AudioComponentValidationResult = 1 KAudioComponentValidationResult_Failed AudioComponentValidationResult = 2 KAudioComponentValidationResult_TimedOut AudioComponentValidationResult = 3 )
func (AudioComponentValidationResult) String ¶
func (e AudioComponentValidationResult) String() string
type AudioConverterOptions ¶
type AudioConverterOptions int64
const (
KAudioConverterOption_Unbuffered AudioConverterOptions = 65536
)
func (AudioConverterOptions) String ¶
func (e AudioConverterOptions) String() string
type AudioConverterPrimeInfo ¶
Specifies priming information for an audio converter.
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
deprecated
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
}
Deprecated: no longer supported
type AudioFileFlags ¶
type AudioFileFlags int64
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
type AudioFileMarker ¶
type AudioFileMarker struct {
MFramePosition float64
MName unsafe.Pointer
MMarkerID int
MSMPTETime AudioFile_SMPTE_Time
MType uint
MReserved uint16
MChannel uint16
}
Annotates a position in an audio file.
type AudioFileMarkerList ¶
type AudioFileMarkerList struct {
MSMPTE_TimeType uint
MNumberMarkers uint
MMarkers [1]AudioFileMarker
}
A list of markers associated with an audio file, including their SMPTE time type, the number of markers, and the markers themselves.
type AudioFilePacketTableInfo ¶
type AudioFilePacketTableInfo struct {
MNumberValidFrames int64
MPrimingFrames int
MRemainderFrames int
}
Contains information about the number of valid frames in a file and where they begin and end.
type AudioFilePermissions ¶
type AudioFilePermissions int64
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
type AudioFileRegion ¶
type AudioFileRegion struct {
MRegionID uint
MName unsafe.Pointer
MFlags AudioFileRegionFlags
MNumberMarkers uint
MMarkers [1]AudioFileMarker
}
An audio file region specifies a segment of audio data.
func NextAudioFileRegion ¶
func NextAudioFileRegion(inAFRegionPtr *AudioFileRegion) *AudioFileRegion
type AudioFileRegionFlags ¶
type AudioFileRegionFlags int64
Flags that specify a playback direction for an audio file region structure.
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
type AudioFileRegionList ¶
type AudioFileRegionList struct {
MSMPTE_TimeType uint
MNumberRegions uint
MRegions [1]AudioFileRegion
}
A list of the audio file regions in a file.
type AudioFileStreamParseFlags ¶
type AudioFileStreamParseFlags int64
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
type AudioFileStreamPropertyFlags ¶
type AudioFileStreamPropertyFlags int64
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
type AudioFileStreamSeekFlags ¶
type AudioFileStreamSeekFlags int64
const ( // This flag is returned by the AudioFileStreamSeek function if the byte offset is only an estimate. KAudioFileStreamSeekFlag_OffsetIsEstimated AudioFileStreamSeekFlags = 1 )
func (AudioFileStreamSeekFlags) String ¶
func (e AudioFileStreamSeekFlags) String() string
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 uint
}
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 uint
}
A structure that specifies an audio format.
type AudioFramePacketTranslation ¶
A structure that specifies frame and packet translations.
type AudioIndependentPacketTranslation ¶
@struct AudioIndependentPacketTranslation @abstract used for property kAudioFilePropertyPreviousIndependentPacket and kAudioFilePropertyNextIndependentPacket @discussion See descriptions of kAudioFilePropertyPreviousIndependentPacket and kAudioFilePropertyNextIndependentPacket @var mPacket a packet number @var mIndependentlyDecodablePacket a packet number not equal to mPacket of an independent packet
type AudioOutputUnitMIDICallbacks ¶
type AudioOutputUnitMIDICallbacks struct {
UserData unsafe.Pointer
MIDIEventProc unsafe.Pointer
MIDISysExProc unsafe.Pointer
}
@struct AudioOutputUnitMIDICallbacks @abstract For inter-app audio, callbacks for receiving MIDI messages. @discussion The supplied callback functions are called from the realtime rendering thread, before each render cycle, to provide any incoming MIDI messages.
type AudioOutputUnitStartAtTimeParams ¶
type AudioOutputUnitStartAtTimeParams struct {
MTimestamp coreaudiotypes.AudioTimeStamp
MFlags uint
}
A timestamp for scheduled starting of an I/O audio unit.
type AudioPacketDependencyInfoTranslation ¶
type AudioPacketDependencyInfoTranslation struct {
MPacket int64
MIsIndependentlyDecodable uint
MNumberPrerollPackets uint
}
@struct AudioPacketDependencyInfoTranslation @abstract used for property kAudioFilePropertyPacketToDependencyInfo @discussion See descriptions of kAudioFilePropertyPacketToDependencyInfo and kAudioFilePropertyRestrictsRandomAccess @var mPacket a packet number @var mIsIndependentlyDecodable 1 means that the specified packet is independently decodable; 0 means it's not @var mNumberPrerollPackets if the packet is independently decodable, the count of packets that must be decoded after the packet with the specified number in order to refresh the decoder
type AudioPacketRangeByteCountTranslation ¶
type AudioPacketRangeByteCountTranslation struct {
MPacket int64
MPacketCount int64
MByteCountUpperBound int64
}
@struct AudioPacketRangeByteCountTranslation @abstract used for property kAudioFilePropertyPacketRangeByteCountUpperBound @discussion See description of kAudioFilePropertyPacketRangeByteCountUpperBound @var mPacket a packet number. @var mPacketCount a packet count. @var mByteCountUpperBound an upper bound for the total size of the specified packets.
type AudioPacketRollDistanceTranslation ¶
@struct AudioPacketRollDistanceTranslation @abstract used for property kAudioFilePropertyPacketToRollDistance @discussion See descriptions of kAudioFilePropertyPacketToRollDistance and kAudioFilePropertyRestrictsRandomAccess @var mPacket a packet number @var mRollDistance a count of packets that must be decoded prior to the packet with the specified number in order to achieve the best practice for the decoding of that packet
type AudioPanningInfo ¶
type AudioPanningInfo struct {
MPanningMode AudioPanningMode
MCoordinateFlags uint
MCoordinates [3]float32
MGainScale float32
MOutputChannelMap *coreaudiotypes.AudioChannelLayout
}
Audio panning information.
type AudioPanningMode ¶
type AudioPanningMode int64
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
type AudioQueueBuffer ¶
type AudioQueueBuffer struct {
MAudioDataBytesCapacity uint
MAudioData unsafe.Pointer
MAudioDataByteSize uint
MUserData unsafe.Pointer
MPacketDescriptionCapacity uint
MPacketDescriptions *coreaudiotypes.AudioStreamPacketDescription
MPacketDescriptionCount uint
}
Defines an audio queue buffer.
type AudioQueueChannelAssignment ¶
@struct AudioQueueChannelAssignment @abstract Specifies an audio device channel to which the queue will play or from which it will record. @var mDeviceUID On iOS, this is a port UID obtained from AVAudioSession. On macOS, this is the UID obtained from an AudioDeviceID. @var mChannelNumber The 1-based index of the channel.
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 int64
const ( KAudioQueueProcessingTap_PreEffects AudioQueueProcessingTapFlags = 1 KAudioQueueProcessingTap_PostEffects AudioQueueProcessingTapFlags = 2 KAudioQueueProcessingTap_Siphon AudioQueueProcessingTapFlags = 4 KAudioQueueProcessingTap_StartOfStream AudioQueueProcessingTapFlags = 256 KAudioQueueProcessingTap_EndOfStream AudioQueueProcessingTapFlags = 512 )
func (AudioQueueProcessingTapFlags) String ¶
func (e AudioQueueProcessingTapFlags) String() string
type AudioSettingsFlags ¶
type AudioSettingsFlags int64
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
type AudioUnitCocoaViewInfo ¶
type AudioUnitCocoaViewInfo struct {
MCocoaAUViewBundleLocation unsafe.Pointer
MCocoaAUViewClass [1]unsafe.Pointer
}
The name and number of custom Cocoa views for an audio unit.
type AudioUnitConnection ¶
type AudioUnitConnection struct {
SourceAudioUnit *carboncore.ComponentInstanceRecord
SourceOutputNumber uint
DestInputNumber uint
}
An audio unit source-to-destination connection specification.
type AudioUnitEvent ¶
type AudioUnitEvent struct {
MEventType AudioUnitEventType
MArgument unsafe.Pointer
}
@struct AudioUnitEvent @abstract Describes a change to an Audio Unit's state. @var mEventType The type of event. @var mArgument Specifies the parameter or property which has changed.
type AudioUnitEventType ¶
type AudioUnitEventType int64
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
type AudioUnitExternalBuffer ¶
Allows an audio unit host application to tell an audio unit to use a specified buffer for its input callback.
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 int
SourceOutputNumber uint
DestNode int
DestInputNumber uint
}
A connection between two node objects in an audio processing graph.
type AudioUnitOtherPluginDesc ¶
type AudioUnitOtherPluginDesc struct {
Format uint
Plugin coreaudiotypes.AudioClassDescription
}
@struct AudioUnitOtherPluginDesc @var format One of the OtherPluginFormat values @var plugin struct AudioClassDescription { OSType mType; OSType mSubType; OSType mManufacturer; }; is defined in <CoreAudioTypes/CoreAudioTypes.h> mType specifies a generic, plug-in format defined descriptor mSubType is usually left to the manufacturer to use at their discretion mManufacturer is a registered code to identify all plugins from the same manufacturer
type AudioUnitParameter ¶
type AudioUnitParameter struct {
MAudioUnit *carboncore.ComponentInstanceRecord
MParameterID uint
MScope uint
MElement uint
}
An adjustable audio unit attribute such as volume, pitch, or filter cutoff frequency.
type AudioUnitParameterEvent ¶
type AudioUnitParameterEvent struct {
Scope uint
Element uint
Parameter uint
EventType AUParameterEventType
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 AudioUnitParameterNameInfo (C typedef AudioUnitParameterIDName).
type AudioUnitParameterInfo ¶
type AudioUnitParameterInfo struct {
Name [52]int8
UnitName unsafe.Pointer
ClumpID uint
CfNameString unsafe.Pointer
Unit AudioUnitParameterUnit
MinValue float32
MaxValue float32
DefaultValue float32
Flags AudioUnitParameterOptions
}
@struct AudioUnitParameterInfo @var name UNUSED - set to zero - UTF8 encoded C string (originally). @var unitName Only valid if the unit field equals kAudioUnitParameterUnit_CustomUnit, in which case, unitName must contain a valid CFStringRef. As with cfNameString, if (flags & kAudioUnitParameterFlag_CFNameRelease) is non-zero, the AudioUnit must return a +1 reference to this string, and the host must release it. @var clumpID Only valid if kAudioUnitParameterFlag_HasClump is set. @var cfNameString Only valid if kAudioUnitParameterFlag_HasCFNameString is set. @var unit If the "unit" field contains a value not in the enum above, then assume kAudioUnitParameterUnit_Generic @var minValue The parameter's minimum value. @var maxValue The parameter's maximum value. @var defaultValue The parameter's default value. @var flags Due to some vagaries about the ways in which Parameter's CFNames have been described, it was necessary to add a flag: kAudioUnitParameterFlag_CFNameRelease. In normal usage a parameter name is essentially a static object, but sometimes an audio unit will generate parameter names dynamically.. As these are expected to be CFStrings, in that case the host should release those names when it is finished with them, but there was no way to communicate this distinction in behavior. Thus, if an audio unit will (or could) generate a name dynamically, it should set this flag in the parameter's info. The host should check for this flag, and if present, release the parameter name when it is finished with it.
type AudioUnitParameterNameInfo ¶
A short version of the name for an audio unit parameter.
type AudioUnitParameterOptions ¶
type AudioUnitParameterOptions int64
Value options for audio unit parameters.
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
func SetAudioUnitParameterDisplayType ¶
func SetAudioUnitParameterDisplayType(flags AudioUnitParameterOptions, displayType AudioUnitParameterOptions) AudioUnitParameterOptions
func (AudioUnitParameterOptions) String ¶
func (e AudioUnitParameterOptions) String() string
type AudioUnitParameterStringFromValue ¶
type AudioUnitParameterStringFromValue struct {
InParamID uint
InValue *float32
OutString unsafe.Pointer
}
A string representation of a parameter’s value.
type AudioUnitParameterUnit ¶
type AudioUnitParameterUnit int64
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
type AudioUnitParameterValueFromString ¶
type AudioUnitParameterValueFromString struct {
InParamID uint
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 uint
OtherValue float32
AuParamID uint
AuValue float32
}
@struct AudioUnitParameterValueTranslation @abstract Used to translate another plug-in's parameter values to audio unit parameter values
type AudioUnitPresetMAS_SettingData ¶
type AudioUnitPresetMAS_SettingData struct {
IsStockSetting uint
SettingID uint
DataLen uint
Data [1]uint8
}
@struct AudioUnitPresetMAS_SettingData @discussion 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 uint
EffectID uint
VariantID uint
SettingsVersion uint
NumberOfSettings uint
Settings [1]AudioUnitPresetMAS_SettingData
}
@struct AudioUnitPresetMAS_Settings @discussion See MAS documentation
type AudioUnitProperty ¶
type AudioUnitProperty struct {
MAudioUnit *carboncore.ComponentInstanceRecord
MPropertyID uint
MScope uint
MElement uint
}
A key-value pair that declares an attribute or behavior for an audio unit.
type AudioUnitRemoteControlEvent ¶
type AudioUnitRemoteControlEvent int64
const ( KAudioUnitRemoteControlEvent_TogglePlayPause AudioUnitRemoteControlEvent = 1 KAudioUnitRemoteControlEvent_ToggleRecord AudioUnitRemoteControlEvent = 2 KAudioUnitRemoteControlEvent_Rewind AudioUnitRemoteControlEvent = 3 )
func (AudioUnitRemoteControlEvent) String ¶
func (e AudioUnitRemoteControlEvent) String() string
type AudioUnitRenderActionFlags ¶
type AudioUnitRenderActionFlags int64
Flags for configuring audio unit rendering.
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 (AudioUnitRenderActionFlags) String ¶
func (e AudioUnitRenderActionFlags) String() string
type AudioUnitRenderContext ¶
A structure that contains thread context information for a real-time rendering operation.
type CABarBeatTime ¶
type CABarBeatTime struct {
Bar int
Beat uint16
Subbeat uint16
SubbeatDivisor uint16
Reserved uint16
}
@struct CABarBeatTime @abstract 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. @var bar A measure number. @var beat A beat number (1..n). @var subbeat The numerator of the fractional number of beats. @var subbeatDivisor The denominator of the fractional number of beats. @var reserved Must be 0.
type CAClockMessage ¶
type CAClockMessage int64
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
type CAClockPropertyID ¶
type CAClockPropertyID int64
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
type CAClockSyncMode ¶
type CAClockSyncMode int64
const ( KCAClockSyncMode_Internal CAClockSyncMode = 1768846450 KCAClockSyncMode_MIDIClockTransport CAClockSyncMode = 1835232363 KCAClockSyncMode_MTCTransport CAClockSyncMode = 1835889763 )
func (CAClockSyncMode) String ¶
func (e CAClockSyncMode) String() string
type CAClockTime ¶
type CAClockTime struct {
Format CAClockTimeFormat
Reserved uint
Time unsafe.Pointer
}
@struct CAClockTime @abstract Represents a time value using one of several possible units. @var format Specifies the time's format and units. @var reserved Must be 0. @var time The time value. Use the member of the union appropriate to the format (see the description of CAClockTimeFormat).
type CAClockTimeFormat ¶
type CAClockTimeFormat int64
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
type CAClockTimebase ¶
type CAClockTimebase int64
const ( KCAClockTimebase_HostTime CAClockTimebase = 1752134516 KCAClockTimebase_AudioDevice CAClockTimebase = 1635083369 KCAClockTimebase_AudioOutputUnit CAClockTimebase = 1635086197 )
func (CAClockTimebase) String ¶
func (e CAClockTimebase) String() string
type CAFAudioDescription ¶
type CAFAudioFormatListItem ¶
type CAFAudioFormatListItem struct {
MFormat CAFAudioDescription
MChannelLayoutTag uint
}
type CAFChunkHeader ¶
type CAFDataChunk ¶
type CAFFileHeader ¶
type CAFFormatFlags ¶
type CAFFormatFlags int64
const ( KCAFLinearPCMFormatFlagIsFloat CAFFormatFlags = 1 KCAFLinearPCMFormatFlagIsLittleEndian CAFFormatFlags = 2 )
func (CAFFormatFlags) String ¶
func (e CAFFormatFlags) String() string
type CAFInfoStrings ¶
type CAFInfoStrings struct {
MNumEntries uint
}
type CAFInstrumentChunk ¶
type CAFMarker ¶
type CAFMarker struct {
MType uint
MFramePosition float64
MMarkerID uint
MSMPTETime CAF_SMPTE_Time
MChannel uint
}
type CAFMarkerChunk ¶
type CAFOverviewChunk ¶
type CAFOverviewChunk struct {
MEditCount uint
MNumFramesPerOVWSample uint
MData [1]CAFOverviewSample
}
type CAFOverviewSample ¶
type CAFPacketTableHeader ¶
type CAFPeakChunk ¶
type CAFPeakChunk struct {
MEditCount uint
MPeaks [1]CAFPositionPeak
}
type CAFPositionPeak ¶
type CAFRegion ¶
type CAFRegion struct {
MRegionID uint
MFlags CAFRegionFlags
MNumberMarkers uint
MMarkers [1]CAFMarker
}
type CAFRegionChunk ¶
type CAFRegionFlags ¶
type CAFRegionFlags int64
const ( KCAFRegionFlag_LoopEnable CAFRegionFlags = 1 KCAFRegionFlag_PlayForward CAFRegionFlags = 2 KCAFRegionFlag_PlayBackward CAFRegionFlags = 4 )
func (CAFRegionFlags) String ¶
func (e CAFRegionFlags) String() string
type CAFStringID ¶
type CAFStrings ¶
type CAFStrings struct {
MNumEntries uint
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 ¶
@struct CAMeterTrackEntry @abstract A time signature change event. The meter track is used for converting between beats as floating-point numbers (CAClockBeats) and their display representations (CABarBeatTime). @var beats The beat time at which the time signature (meter) changes. @var meterNumer The numerator of the new time signature. @var meterDenom The denominator of the new time signature (1, 2, 4, 8, etc.).
type CATempoMapEntry ¶
@struct CATempoMapEntry @abstract 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. @var beats The beat time at which the tempo changes. @var tempoBPM The new tempo as of that time.
type ComponentDescription ¶
type ComponentDescription struct{}
ComponentDescription is an opaque type.
type ComponentInstanceRecord ¶
type ComponentInstanceRecord struct{}
ComponentInstanceRecord is an opaque type.
type Dispatch_autorelease_frequency_t ¶
type Dispatch_autorelease_frequency_t uint64
const ( DISPATCH_AUTORELEASE_FREQUENCY_INHERIT Dispatch_autorelease_frequency_t = 0 DISPATCH_AUTORELEASE_FREQUENCY_WORK_ITEM Dispatch_autorelease_frequency_t = 1 DISPATCH_AUTORELEASE_FREQUENCY_NEVER Dispatch_autorelease_frequency_t = 2 )
func (Dispatch_autorelease_frequency_t) String ¶
func (e Dispatch_autorelease_frequency_t) String() string
type Dispatch_block_flags_t ¶
type Dispatch_block_flags_t uint64
const ( DISPATCH_BLOCK_BARRIER Dispatch_block_flags_t = 1 DISPATCH_BLOCK_DETACHED Dispatch_block_flags_t = 2 DISPATCH_BLOCK_ASSIGN_CURRENT Dispatch_block_flags_t = 4 DISPATCH_BLOCK_NO_QOS_CLASS Dispatch_block_flags_t = 8 DISPATCH_BLOCK_INHERIT_QOS_CLASS Dispatch_block_flags_t = 16 DISPATCH_BLOCK_ENFORCE_QOS_CLASS Dispatch_block_flags_t = 32 )
func (Dispatch_block_flags_t) String ¶
func (e Dispatch_block_flags_t) String() string
type ExtendedAudioFormatInfo ¶
type ExtendedAudioFormatInfo struct {
MASBD coreaudiotypes.AudioStreamBasicDescription
MMagicCookie unsafe.Pointer
MMagicCookieSize uint
MClassDescription coreaudiotypes.AudioClassDescription
}
A specifier for the kAudioFormatProperty_FormatList property, including the codec to use.
type ExtendedControlEvent ¶
type ExtendedNoteOnEvent ¶
type ExtendedNoteOnEvent struct {
InstrumentID uint
GroupID uint
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 Filesec_property_t ¶
type Filesec_property_t int64
const ( FILESEC_OWNER Filesec_property_t = 1 FILESEC_GROUP Filesec_property_t = 2 FILESEC_UUID Filesec_property_t = 3 FILESEC_MODE Filesec_property_t = 4 FILESEC_ACL Filesec_property_t = 5 FILESEC_GRPUUID Filesec_property_t = 6 FILESEC_ACL_RAW Filesec_property_t = 100 FILESEC_ACL_ALLOCSIZE Filesec_property_t = 101 )
func (Filesec_property_t) String ¶
func (e Filesec_property_t) String() string
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 Ipc_info_object_type_t ¶
type Ipc_info_object_type_t int64
const ( IPC_OTYPE_NONE Ipc_info_object_type_t = 0 IPC_OTYPE_THREAD_CONTROL Ipc_info_object_type_t = 1 IPC_OTYPE_TASK_CONTROL Ipc_info_object_type_t = 2 IPC_OTYPE_HOST Ipc_info_object_type_t = 3 IPC_OTYPE_HOST_PRIV Ipc_info_object_type_t = 4 IPC_OTYPE_PROCESSOR Ipc_info_object_type_t = 5 IPC_OTYPE_PROCESSOR_SET Ipc_info_object_type_t = 6 IPC_OTYPE_PROCESSOR_SET_NAME Ipc_info_object_type_t = 7 IPC_OTYPE_TIMER Ipc_info_object_type_t = 8 IPC_OTYPE_PORT_SUBST_ONCE Ipc_info_object_type_t = 9 IPC_OTYPE_MIG Ipc_info_object_type_t = 10 IPC_OTYPE_MEMORY_OBJECT Ipc_info_object_type_t = 11 IPC_OTYPE_XMM_PAGER Ipc_info_object_type_t = 12 IPC_OTYPE_XMM_KERNEL Ipc_info_object_type_t = 13 IPC_OTYPE_XMM_REPLY Ipc_info_object_type_t = 14 IPC_OTYPE_UND_REPLY Ipc_info_object_type_t = 15 IPC_OTYPE_HOST_NOTIFY Ipc_info_object_type_t = 16 IPC_OTYPE_HOST_SECURITY Ipc_info_object_type_t = 17 IPC_OTYPE_LEDGER Ipc_info_object_type_t = 18 IPC_OTYPE_MAIN_DEVICE Ipc_info_object_type_t = 19 IPC_OTYPE_TASK_NAME Ipc_info_object_type_t = 20 IPC_OTYPE_SUBSYSTEM Ipc_info_object_type_t = 21 IPC_OTYPE_IO_DONE_QUEUE Ipc_info_object_type_t = 22 IPC_OTYPE_SEMAPHORE Ipc_info_object_type_t = 23 IPC_OTYPE_LOCK_SET Ipc_info_object_type_t = 24 IPC_OTYPE_CLOCK Ipc_info_object_type_t = 25 IPC_OTYPE_CLOCK_CTRL Ipc_info_object_type_t = 26 IPC_OTYPE_IOKIT_IDENT Ipc_info_object_type_t = 27 IPC_OTYPE_NAMED_ENTRY Ipc_info_object_type_t = 28 IPC_OTYPE_IOKIT_CONNECT Ipc_info_object_type_t = 29 IPC_OTYPE_IOKIT_OBJECT Ipc_info_object_type_t = 30 IPC_OTYPE_UPL Ipc_info_object_type_t = 31 IPC_OTYPE_MEM_OBJ_CONTROL Ipc_info_object_type_t = 32 IPC_OTYPE_AU_SESSIONPORT Ipc_info_object_type_t = 33 IPC_OTYPE_FILEPORT Ipc_info_object_type_t = 34 IPC_OTYPE_LABELH Ipc_info_object_type_t = 35 IPC_OTYPE_TASK_RESUME Ipc_info_object_type_t = 36 IPC_OTYPE_VOUCHER Ipc_info_object_type_t = 37 IPC_OTYPE_VOUCHER_ATTR_CONTROL Ipc_info_object_type_t = 38 IPC_OTYPE_WORK_INTERVAL Ipc_info_object_type_t = 39 IPC_OTYPE_UX_HANDLER Ipc_info_object_type_t = 40 IPC_OTYPE_UEXT_OBJECT Ipc_info_object_type_t = 41 IPC_OTYPE_ARCADE_REG Ipc_info_object_type_t = 42 IPC_OTYPE_EVENTLINK Ipc_info_object_type_t = 43 IPC_OTYPE_TASK_INSPECT Ipc_info_object_type_t = 44 IPC_OTYPE_TASK_READ Ipc_info_object_type_t = 45 IPC_OTYPE_THREAD_INSPECT Ipc_info_object_type_t = 46 IPC_OTYPE_THREAD_READ Ipc_info_object_type_t = 47 IPC_OTYPE_SUID_CRED Ipc_info_object_type_t = 48 IPC_OTYPE_HYPERVISOR Ipc_info_object_type_t = 49 IPC_OTYPE_TASK_ID_TOKEN Ipc_info_object_type_t = 50 IPC_OTYPE_TASK_FATAL Ipc_info_object_type_t = 51 IPC_OTYPE_KCDATA Ipc_info_object_type_t = 52 IPC_OTYPE_EXCLAVES_RESOURCE Ipc_info_object_type_t = 53 IPC_OTYPE_THREAD_RESUME Ipc_info_object_type_t = 54 IPC_OTYPE_UNKNOWN Ipc_info_object_type_t = 4294967295 )
func (Ipc_info_object_type_t) String ¶
func (e Ipc_info_object_type_t) String() string
type Launch_data_type_t ¶
type Launch_data_type_t int64
const ( LAUNCH_DATA_DICTIONARY Launch_data_type_t = 1 LAUNCH_DATA_ARRAY Launch_data_type_t = 2 LAUNCH_DATA_FD Launch_data_type_t = 3 LAUNCH_DATA_INTEGER Launch_data_type_t = 4 LAUNCH_DATA_REAL Launch_data_type_t = 5 LAUNCH_DATA_BOOL Launch_data_type_t = 6 LAUNCH_DATA_STRING Launch_data_type_t = 7 LAUNCH_DATA_OPAQUE Launch_data_type_t = 8 LAUNCH_DATA_ERRNO Launch_data_type_t = 9 LAUNCH_DATA_MACHPORT Launch_data_type_t = 10 )
func (Launch_data_type_t) String ¶
func (e Launch_data_type_t) String() string
type MDLabelDomain ¶
type MDLabelDomain int64
@typedef MDLabelDomain @abstract 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
type MDQueryOptionFlags ¶
type MDQueryOptionFlags int64
const ( KMDQuerySynchronous MDQueryOptionFlags = 1 KMDQueryWantsUpdates MDQueryOptionFlags = 4 KMDQueryAllowFSTranslation MDQueryOptionFlags = 8 )
func (MDQueryOptionFlags) String ¶
func (e MDQueryOptionFlags) String() string
type MDQuerySortOptionFlags ¶
type MDQuerySortOptionFlags int64
@enum MDQuerySortOptionFlags @constant kMDQueryReverseSortOrderFlag Sort the attribute in reverse order.
const (
KMDQueryReverseSortOrderFlag MDQuerySortOptionFlags = 1
)
func (MDQuerySortOptionFlags) String ¶
func (e MDQuerySortOptionFlags) String() string
type MIDIChannelMessage ¶
Describes a MIDI channel message.
type MIDIEventList ¶
type MIDIEventList struct{}
A variable-length list of MIDI event packets. MIDIEventList is an opaque type.
type MIDIMetaEvent ¶
type MIDIMetaEvent struct {
MetaEventType uint8
Unused1 uint8
Unused2 uint8
Unused3 uint8
DataLength uint
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. MIDIPacketList is an opaque type.
type MIDIRawData ¶
Describes a MIDI system-exclusive (SysEx) message.
type Mach_vm_range_flags_t ¶
type Mach_vm_range_flags_t int64
const (
MACH_VM_RANGE_NONE Mach_vm_range_flags_t = 0
)
func (Mach_vm_range_flags_t) String ¶
func (e Mach_vm_range_flags_t) String() string
type Mach_vm_range_flavor_t ¶
type Mach_vm_range_flavor_t int64
const ( MACH_VM_RANGE_FLAVOR_INVALID Mach_vm_range_flavor_t = 0 MACH_VM_RANGE_FLAVOR_V1 Mach_vm_range_flavor_t = 1 )
func (Mach_vm_range_flavor_t) String ¶
func (e Mach_vm_range_flavor_t) String() string
type Mach_vm_range_tag_t ¶
type Mach_vm_range_tag_t int64
const ( MACH_VM_RANGE_DEFAULT Mach_vm_range_tag_t = 0 MACH_VM_RANGE_DATA Mach_vm_range_tag_t = 1 MACH_VM_RANGE_FIXED Mach_vm_range_tag_t = 2 )
func (Mach_vm_range_tag_t) String ¶
func (e Mach_vm_range_tag_t) String() string
type MagicCookieInfo ¶
type MagicCookieInfo = AudioCodecMagicCookieInfo
MagicCookieInfo is an alias for AudioCodecMagicCookieInfo (C typedef MagicCookieInfo).
type MixerDistanceParams ¶
type MixerDistanceParams struct {
MReferenceDistance float32
MMaxDistance float32
MMaxAttenuation float32
}
@struct MixerDistanceParams
type Mpo_flags_t ¶
type Mpo_flags_t int64
const ( MPO_PORT Mpo_flags_t = 0 MPO_SERVICE_PORT Mpo_flags_t = 1024 MPO_CONNECTION_PORT Mpo_flags_t = 2048 MPO_REPLY_PORT Mpo_flags_t = 4096 MPO_WEAK_REPLY_PORT Mpo_flags_t = 16384 MPO_NOTIFICATION_PORT Mpo_flags_t = 17408 MPO_EXCEPTION_PORT Mpo_flags_t = 32768 MPO_CONNECTION_PORT_WITH_PORT_ARRAY Mpo_flags_t = 65536 )
func (Mpo_flags_t) String ¶
func (e Mpo_flags_t) String() string
type MusicDeviceNoteParams ¶
type MusicDeviceNoteParams struct {
ArgCount uint
MPitch float32
MVelocity float32
MControls [1]NoteParamsControlValue
}
@struct MusicDeviceNoteParams @abstract Used to hold the value of the inParams parameter for the MusicDeviceStartNote function. @discussion 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 @var argCount The number of controls + 2 (for mPitch and mVelocity) @var mPitch The pitch of the new note, typically specified using a MIDI note number (and a fractional pitch) within the range of 0 < 128. So 60 is middle C, 60.5 is middle C + 50 cents. @var mVelocity The velocity of the new note - this can be a fractional value - specified as MIDI (within the range of 0 < 128) @var mControls A variable length array with the number of elements: argCount - 2.
type MusicDeviceStdNoteParams ¶
@struct MusicDeviceStdNoteParams @abstract convenience struct for specifying a note and velocity @discussion 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. @var argCount Should be set to 2 @var mPitch The pitch of the new note, typically specified using a MIDI note number (and a fractional pitch) within the range of 0 < 128. So 60 is middle C, 60.5 is middle C + 50 cents. @var mVelocity The velocity of the new note - this can be a fractional value - specified as MIDI (within the range of 0 < 128)
type MusicEventUserData ¶
Describes a user-defined event.
type MusicSequenceFileFlags ¶
type MusicSequenceFileFlags int64
Flags that configure the behavior of the MusicSequenceFileCreate and MusicSequenceFileCreateData functions.
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
type MusicSequenceFileTypeID ¶
type MusicSequenceFileTypeID int64
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
type MusicSequenceLoadFlags ¶
type MusicSequenceLoadFlags int64
Flags used to configure the behavior of the MusicSequenceFileLoad and MusicSequenceFileLoadData functions.
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
type MusicSequenceType ¶
type MusicSequenceType int64
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 (MusicSequenceType) String ¶
func (e MusicSequenceType) String() string
type MusicTrackLoopInfo ¶
Supports control of the looping behavior of a music track.
type NoteParamsControlValue ¶
@struct NoteParamsControlValue @abstract used to describe a control and value @discussion 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. @var mID The parameter ID @var mValue The value of that parameter
type OpaqueAUGraph ¶
type OpaqueAUGraph struct{}
@typedef AUGraph @abstract A reference to an AUGraph object. OpaqueAUGraph is an opaque type.
type OpaqueAudioComponent ¶
type OpaqueAudioComponent struct{}
@typedef AudioComponent @abstract The type used to represent a class of particular audio components @discussion 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. OpaqueAudioComponent is an opaque type.
type OpaqueAudioConverter ¶
type OpaqueAudioConverter struct{}
@typedef AudioConverterRef @abstract A reference to an AudioConverter object. OpaqueAudioConverter is an opaque type.
type OpaqueAudioFileStreamID ¶
type OpaqueAudioFileStreamID struct{}
OpaqueAudioFileStreamID is an opaque type.
type OpaqueAudioQueue ¶
type OpaqueAudioQueue struct{}
@typedef AudioQueueRef @abstract An opaque data type that represents an audio queue. OpaqueAudioQueue is an opaque type.
type OpaqueAudioQueueProcessingTap ¶
type OpaqueAudioQueueProcessingTap struct{}
@typedef AudioQueueProcessingTapRef @abstract An object for intercepting and processing audio within an audio queue. OpaqueAudioQueueProcessingTap is an opaque type.
type OpaqueAudioQueueTimeline ¶
type OpaqueAudioQueueTimeline struct{}
@typedef AudioQueueTimelineRef @abstract 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. OpaqueAudioQueueTimeline is an opaque type.
type OpaqueCAClock ¶
type OpaqueCAClock struct{}
@typedef CAClockRef @abstract A reference to a Core Audio Clock object. OpaqueCAClock is an opaque type.
type OpaqueExtAudioFile ¶
type OpaqueExtAudioFile struct{}
@typedef ExtAudioFileRef @abstract An extended audio file object. OpaqueExtAudioFile is an opaque type.
type OpaqueMusicEventIterator ¶
type OpaqueMusicEventIterator struct{}
OpaqueMusicEventIterator is an opaque type.
type Os_clockid_t ¶
type Os_clockid_t int64
const (
OS_CLOCK_MACH_ABSOLUTE_TIME Os_clockid_t = 32
)
func (Os_clockid_t) String ¶
func (e Os_clockid_t) String() string
type ParameterEvent ¶
Describes an audio unit parameter automation event.
type Ptrauth_key ¶
type Ptrauth_key int64
const ( Ptrauth_key_none Ptrauth_key = -1 Ptrauth_key_asia Ptrauth_key = 0 Ptrauth_key_asib Ptrauth_key = 1 Ptrauth_key_asda Ptrauth_key = 2 Ptrauth_key_asdb Ptrauth_key = 3 Ptrauth_key_process_independent_code Ptrauth_key = 0 Ptrauth_key_process_dependent_code Ptrauth_key = 1 Ptrauth_key_process_independent_data Ptrauth_key = 2 Ptrauth_key_process_dependent_data Ptrauth_key = 3 Ptrauth_key_return_address Ptrauth_key = 1 Ptrauth_key_frame_pointer Ptrauth_key = 3 Ptrauth_key_function_pointer Ptrauth_key = 0 Ptrauth_key_block_function Ptrauth_key = 0 Ptrauth_key_cxx_vtable_pointer Ptrauth_key = 2 Ptrauth_key_method_list_pointer Ptrauth_key = 2 Ptrauth_key_objc_isa_pointer Ptrauth_key = 2 Ptrauth_key_objc_super_pointer Ptrauth_key = 2 Ptrauth_key_objc_sel_pointer Ptrauth_key = 3 Ptrauth_key_objc_class_ro_pointer Ptrauth_key = 2 Ptrauth_key_block_descriptor_pointer Ptrauth_key = 2 Ptrauth_key_init_fini_pointer Ptrauth_key = 0 )
func (Ptrauth_key) String ¶
func (e Ptrauth_key) String() string
type Qos_class_t ¶
type Qos_class_t uint32
const ( QOS_CLASS_USER_INTERACTIVE Qos_class_t = 33 QOS_CLASS_USER_INITIATED Qos_class_t = 25 QOS_CLASS_DEFAULT Qos_class_t = 21 QOS_CLASS_UTILITY Qos_class_t = 17 QOS_CLASS_BACKGROUND Qos_class_t = 9 QOS_CLASS_UNSPECIFIED Qos_class_t = 0 )
func (Qos_class_t) String ¶
func (e Qos_class_t) String() string
type ScheduledAudioFileRegion ¶
type ScheduledAudioFileRegion struct {
MTimeStamp coreaudiotypes.AudioTimeStamp
MCompletionProc unsafe.Pointer
MCompletionProcUserData unsafe.Pointer
MAudioFile unsafe.Pointer
MLoopCount uint
MStartFrame int64
MFramesToPlay uint
}
@struct ScheduledAudioFileRegion @var mTimeStamp @var mCompletionProc may be NULL @var mCompletionProcUserData @var mAudioFile must be a valid and open AudioFileID defined in AudioToolbox/AudioFile.h: typedef struct OpaqueAudioFileID *AudioFileID; @var mLoopCount 0 = don't loop @var mStartFrame offset into file @var mFramesToPlay number of frames to play
type ScheduledAudioSlice ¶
type ScheduledAudioSlice struct {
MTimeStamp coreaudiotypes.AudioTimeStamp
MCompletionProc unsafe.Pointer
MCompletionProcUserData unsafe.Pointer
MFlags AUScheduledAudioSliceFlags
MReserved uint
MReserved2 unsafe.Pointer
MNumberFrames uint
MBufferList *coreaudiotypes.AudioBufferList
}
type Virtual_memory_guard_exception_code_t ¶
type Virtual_memory_guard_exception_code_t int64
const ( KGUARD_EXC_DEALLOC_GAP Virtual_memory_guard_exception_code_t = 1 KGUARD_EXC_RECLAIM_COPYIO_FAILURE Virtual_memory_guard_exception_code_t = 2 KGUARD_EXC_RECLAIM_INDEX_FAILURE Virtual_memory_guard_exception_code_t = 4 KGUARD_EXC_RECLAIM_DEALLOCATE_FAILURE Virtual_memory_guard_exception_code_t = 8 KGUARD_EXC_RECLAIM_ACCOUNTING_FAILURE Virtual_memory_guard_exception_code_t = 9 KGUARD_EXC_SEC_IOPL_ON_EXEC_PAGE Virtual_memory_guard_exception_code_t = 10 KGUARD_EXC_SEC_EXEC_ON_IOPL_PAGE Virtual_memory_guard_exception_code_t = 11 KGUARD_EXC_SEC_UPL_WRITE_ON_EXEC_REGION Virtual_memory_guard_exception_code_t = 12 KGUARD_EXC_LARGE_ALLOCATION_TELEMETRY Virtual_memory_guard_exception_code_t = 13 KGUARD_EXC_SEC_ACCESS_FAULT Virtual_memory_guard_exception_code_t = 98 KGUARD_EXC_SEC_ASYNC_ACCESS_FAULT Virtual_memory_guard_exception_code_t = 99 KGUARD_EXC_SEC_COPY_DENIED Virtual_memory_guard_exception_code_t = 100 KGUARD_EXC_SEC_SHARING_DENIED Virtual_memory_guard_exception_code_t = 101 KGUARD_EXC_MTE_SYNC_FAULT Virtual_memory_guard_exception_code_t = 200 KGUARD_EXC_MTE_ASYNC_USER_FAULT Virtual_memory_guard_exception_code_t = 201 KGUARD_EXC_MTE_ASYNC_KERN_FAULT Virtual_memory_guard_exception_code_t = 202 KGUARD_EXC_GUARD_OBJECT_ASYNC_USER_FAULT Virtual_memory_guard_exception_code_t = 203 KGUARD_EXC_GUARD_OBJECT_ASYNC_KERN_FAULT Virtual_memory_guard_exception_code_t = 204 )
func (Virtual_memory_guard_exception_code_t) String ¶
func (e Virtual_memory_guard_exception_code_t) String() string
type Xpc_listener_create_flags_t ¶
type Xpc_listener_create_flags_t int64
const ( XPC_LISTENER_CREATE_NONE Xpc_listener_create_flags_t = 0 XPC_LISTENER_CREATE_INACTIVE Xpc_listener_create_flags_t = 1 XPC_LISTENER_CREATE_FORCE_MACH Xpc_listener_create_flags_t = 2 XPC_LISTENER_CREATE_FORCE_XPCSERVICE Xpc_listener_create_flags_t = 4 )
func (Xpc_listener_create_flags_t) String ¶
func (e Xpc_listener_create_flags_t) String() string
type Xpc_session_create_flags_t ¶
type Xpc_session_create_flags_t int64
const ( XPC_SESSION_CREATE_NONE Xpc_session_create_flags_t = 0 XPC_SESSION_CREATE_INACTIVE Xpc_session_create_flags_t = 1 XPC_SESSION_CREATE_MACH_PRIVILEGED Xpc_session_create_flags_t = 2 )
func (Xpc_session_create_flags_t) String ¶
func (e Xpc_session_create_flags_t) String() string
Source Files
¶
- AUAudioUnit.go
- AUAudioUnitBus.go
- AUAudioUnitBusArray.go
- AUAudioUnitPreset.go
- AUAudioUnitV2Bridge.go
- AUParameter.go
- AUParameterGroup.go
- AUParameterNode.go
- AUParameterTree.go
- audiotoolbox_enums.go
- audiotoolbox_externs.go
- audiotoolbox_functions.go
- audiotoolbox_protocols.go
- audiotoolbox_runtime.go
- audiotoolbox_structs.go
- doc.go