Documentation
¶
Overview ¶
Package coreaudio provides Go bindings for the CoreAudio framework.
Use the Core Audio framework to interact with device’s audio hardware.
Drivers ¶
- Creating an Audio Server Driver Plug-in: Build a virtual audio device by creating a custom driver plug-in.
- Building an Audio Server Plug-in and Driver Extension: Create a plug-in and driver extension to support an audio device in macOS.
- Capturing system audio with Core Audio taps: Use a Core Audio tap to capture outgoing audio from a process or group of processes.
Classes ¶
Key Types ¶
Code generated from Apple documentation. DO NOT EDIT.
Index ¶
- Constants
- func AudioConvertHostTimeToNanos(inHostTime uint64) uint64
- func AudioConvertNanosToHostTime(inNanos uint64) uint64
- func AudioDeviceAddIOProc(inDevice AudioDeviceID, inProc AudioDeviceIOProc, inClientData unsafe.Pointer) int32deprecated
- func AudioDeviceAddPropertyListener(inDevice AudioDeviceID, inChannel uint32, isInput bool, ...) int32deprecated
- func AudioDeviceCreateIOProcID(inDevice AudioObjectID, inProc AudioDeviceIOProc, inClientData unsafe.Pointer, ...) int32
- func AudioDeviceCreateIOProcIDWithBlock(outIOProcID *AudioDeviceIOProcID, inDevice AudioObjectID, ...) int32
- func AudioDeviceDestroyIOProcID(inDevice AudioObjectID, inIOProcID AudioDeviceIOProcID) int32
- func AudioDeviceGetCurrentTime(inDevice AudioObjectID, outTime *coreaudiotypes.AudioTimeStamp) int32
- func AudioDeviceGetNearestStartTime(inDevice AudioObjectID, ioRequestedStartTime *coreaudiotypes.AudioTimeStamp, ...) int32
- func AudioDeviceGetProperty(inDevice AudioDeviceID, inChannel uint32, isInput bool, ...) int32deprecated
- func AudioDeviceGetPropertyInfo(inDevice AudioDeviceID, inChannel uint32, isInput bool, ...) int32deprecated
- func AudioDeviceRead(inDevice AudioDeviceID, inStartTime *coreaudiotypes.AudioTimeStamp, ...) int32deprecated
- func AudioDeviceRemoveIOProc(inDevice AudioDeviceID, inProc AudioDeviceIOProc) int32deprecated
- func AudioDeviceRemovePropertyListener(inDevice AudioDeviceID, inChannel uint32, isInput bool, ...) int32deprecated
- func AudioDeviceSetProperty(inDevice AudioDeviceID, inWhen *coreaudiotypes.AudioTimeStamp, ...) int32deprecated
- func AudioDeviceStart(inDevice AudioObjectID, inProcID AudioDeviceIOProcID) int32
- func AudioDeviceStartAtTime(inDevice AudioObjectID, inProcID AudioDeviceIOProcID, ...) int32
- func AudioDeviceStop(inDevice AudioObjectID, inProcID AudioDeviceIOProcID) int32
- func AudioDeviceTranslateTime(inDevice AudioObjectID, inTime *coreaudiotypes.AudioTimeStamp, ...) int32
- func AudioDriverPlugInClose(inDevice AudioDeviceID) int32
- func AudioDriverPlugInDeviceGetProperty(inDevice AudioDeviceID, inChannel uint32, isInput bool, ...) int32
- func AudioDriverPlugInDeviceGetPropertyInfo(inDevice AudioDeviceID, inChannel uint32, isInput bool, ...) int32
- func AudioDriverPlugInDeviceSetProperty(inDevice AudioDeviceID, inWhen *coreaudiotypes.AudioTimeStamp, ...) int32
- func AudioDriverPlugInOpen(inHostInfo *AudioDriverPlugInHostInfo) int32
- func AudioDriverPlugInStreamGetProperty(inDevice AudioDeviceID, inIOAudioStream uint32, inChannel uint32, ...) int32
- func AudioDriverPlugInStreamGetPropertyInfo(inDevice AudioDeviceID, inIOAudioStream uint32, inChannel uint32, ...) int32
- func AudioDriverPlugInStreamSetProperty(inDevice AudioDeviceID, inIOAudioStream uint32, ...) int32
- func AudioGetCurrentHostTime() uint64
- func AudioGetHostClockFrequency() float64
- func AudioGetHostClockMinimumTimeDelta() uint32
- func AudioHardwareAddPropertyListener(inPropertyID AudioHardwarePropertyID, inProc AudioHardwarePropertyListenerProc, ...) int32deprecated
- func AudioHardwareAddRunLoopSource(inRunLoopSource corefoundation.CFRunLoopSourceRef) int32deprecated
- func AudioHardwareCreateAggregateDevice(inDescription corefoundation.CFDictionaryRef, outDeviceID *AudioObjectID) int32
- func AudioHardwareCreateProcessTap(inDescription *CATapDescription, outTapID *AudioObjectID) int32
- func AudioHardwareDestroyAggregateDevice(inDeviceID AudioObjectID) int32
- func AudioHardwareDestroyProcessTap(inTapID AudioObjectID) int32
- func AudioHardwareGetProperty(inPropertyID AudioHardwarePropertyID, ioPropertyDataSize *uint32, ...) int32deprecated
- func AudioHardwareGetPropertyInfo(inPropertyID AudioHardwarePropertyID, outSize *uint32, outWritable *bool) int32deprecated
- func AudioHardwareRemovePropertyListener(inPropertyID AudioHardwarePropertyID, inProc AudioHardwarePropertyListenerProc) int32deprecated
- func AudioHardwareRemoveRunLoopSource(inRunLoopSource corefoundation.CFRunLoopSourceRef) int32deprecated
- func AudioHardwareSetProperty(inPropertyID AudioHardwarePropertyID, inPropertyDataSize uint32, ...) int32deprecated
- func AudioHardwareUnload() int32
- func AudioObjectAddPropertyListener(inObjectID AudioObjectID, inAddress *AudioObjectPropertyAddress, ...) int32
- func AudioObjectAddPropertyListenerBlock(inObjectID AudioObjectID, inAddress *AudioObjectPropertyAddress, ...) int32
- func AudioObjectGetPropertyData(inObjectID AudioObjectID, inAddress *AudioObjectPropertyAddress, ...) int32
- func AudioObjectGetPropertyDataSize(inObjectID AudioObjectID, inAddress *AudioObjectPropertyAddress, ...) int32
- func AudioObjectHasProperty(inObjectID AudioObjectID, inAddress *AudioObjectPropertyAddress) bool
- func AudioObjectIsPropertySettable(inObjectID AudioObjectID, inAddress *AudioObjectPropertyAddress, ...) int32
- func AudioObjectRemovePropertyListener(inObjectID AudioObjectID, inAddress *AudioObjectPropertyAddress, ...) int32
- func AudioObjectRemovePropertyListenerBlock(inObjectID AudioObjectID, inAddress *AudioObjectPropertyAddress, ...) int32
- func AudioObjectSetPropertyData(inObjectID AudioObjectID, inAddress *AudioObjectPropertyAddress, ...) int32
- func AudioObjectShow(inObjectID AudioObjectID)
- func AudioStreamAddPropertyListener(inStream AudioStreamID, inChannel uint32, inPropertyID AudioDevicePropertyID, ...) int32deprecated
- func AudioStreamGetProperty(inStream AudioStreamID, inChannel uint32, inPropertyID AudioDevicePropertyID, ...) int32deprecated
- func AudioStreamGetPropertyInfo(inStream AudioStreamID, inChannel uint32, inPropertyID AudioDevicePropertyID, ...) int32deprecated
- func AudioStreamRemovePropertyListener(inStream AudioStreamID, inChannel uint32, inPropertyID AudioDevicePropertyID, ...) int32deprecated
- func AudioStreamSetProperty(inStream AudioStreamID, inWhen *coreaudiotypes.AudioTimeStamp, ...) int32deprecated
- func NewAudioDeviceIOBlock(handler AudioDeviceIOBlock) (objc.ID, func())
- func NewAudioObjectPropertyListenerBlock(handler AudioObjectPropertyListenerBlock) (objc.ID, func())
- type AudioClassID
- type AudioDeviceClockAlgorithmSelector
- type AudioDeviceID
- type AudioDeviceIOBlock
- type AudioDeviceIOProc
- type AudioDeviceIOProcID
- type AudioDevicePropertyID
- type AudioDevicePropertyListenerProc
- type AudioDriverPlugInDevicePropertyChangedProc
- type AudioDriverPlugInHostInfo
- type AudioDriverPlugInStreamPropertyChangedProc
- type AudioHardwareIOProcStreamUsage
- type AudioHardwarePowerHint
- type AudioHardwarePropertyID
- type AudioHardwarePropertyListenerProc
- type AudioLevelControlTransferFunction
- type AudioObjectID
- type AudioObjectPropertyAddress
- type AudioObjectPropertyElement
- type AudioObjectPropertyListenerBlock
- type AudioObjectPropertyListenerProc
- type AudioObjectPropertyScope
- type AudioObjectPropertySelector
- type AudioServerPlugInClientInfo
- type AudioServerPlugInCustomPropertyDataType
- type AudioServerPlugInCustomPropertyInfo
- type AudioServerPlugInDriverInterface
- type AudioServerPlugInDriverRef
- type AudioServerPlugInHostInterface
- type AudioServerPlugInHostRef
- type AudioServerPlugInIOCycleInfo
- type AudioServerPlugInIOOperation
- type AudioStreamID
- type AudioStreamPropertyListenerProc
- type AudioStreamRangedDescription
- type CATapDescription
- func CATapDescriptionFromID(id objc.ID) CATapDescription
- func NewCATapDescription() CATapDescription
- func NewTapDescriptionExcludingProcessesAndDeviceUIDWithStream(processesObjectIDsToExcludeFromTap []foundation.NSNumber, deviceUID string, ...) CATapDescription
- func NewTapDescriptionMonoGlobalTapButExcludeProcesses(processesObjectIDsToExcludeFromTap []foundation.NSNumber) CATapDescription
- func NewTapDescriptionMonoMixdownOfProcesses(processesObjectIDsToIncludeInTap []foundation.NSNumber) CATapDescription
- func NewTapDescriptionStereoGlobalTapButExcludeProcesses(processesObjectIDsToExcludeFromTap []foundation.NSNumber) CATapDescription
- func NewTapDescriptionStereoMixdownOfProcesses(processesObjectIDsToIncludeInTap []foundation.NSNumber) CATapDescription
- func NewTapDescriptionWithProcessesAndDeviceUIDWithStream(processesObjectIDsToIncludeInTap []foundation.NSNumber, deviceUID string, ...) CATapDescription
- func (t CATapDescription) Autorelease() CATapDescription
- func (t CATapDescription) BundleIDs() []string
- func (t CATapDescription) DeviceUID() string
- func (t CATapDescription) Init() CATapDescription
- func (t CATapDescription) InitExcludingProcessesAndDeviceUIDWithStream(processesObjectIDsToExcludeFromTap []foundation.NSNumber, deviceUID string, ...) CATapDescription
- func (t CATapDescription) InitMonoGlobalTapButExcludeProcesses(processesObjectIDsToExcludeFromTap []foundation.NSNumber) CATapDescription
- func (t CATapDescription) InitMonoMixdownOfProcesses(processesObjectIDsToIncludeInTap []foundation.NSNumber) CATapDescription
- func (t CATapDescription) InitStereoGlobalTapButExcludeProcesses(processesObjectIDsToExcludeFromTap []foundation.NSNumber) CATapDescription
- func (t CATapDescription) InitStereoMixdownOfProcesses(processesObjectIDsToIncludeInTap []foundation.NSNumber) CATapDescription
- func (t CATapDescription) InitWithProcessesAndDeviceUIDWithStream(processesObjectIDsToIncludeInTap []foundation.NSNumber, deviceUID string, ...) CATapDescription
- func (t CATapDescription) IsExclusive() bool
- func (t CATapDescription) IsMixdown() bool
- func (t CATapDescription) IsMono() bool
- func (t CATapDescription) IsPrivate() bool
- func (t CATapDescription) IsProcessRestoreEnabled() bool
- func (t CATapDescription) MuteBehavior() CATapMuteBehavior
- func (t CATapDescription) Name() string
- func (t CATapDescription) Processes() []foundation.NSNumber
- func (t CATapDescription) SetBundleIDs(value []string)
- func (t CATapDescription) SetDeviceUID(value string)
- func (t CATapDescription) SetExclusive(value bool)
- func (t CATapDescription) SetMixdown(value bool)
- func (t CATapDescription) SetMono(value bool)
- func (t CATapDescription) SetMuteBehavior(value CATapMuteBehavior)
- func (t CATapDescription) SetName(value string)
- func (t CATapDescription) SetPrivate(value bool)
- func (t CATapDescription) SetProcessRestoreEnabled(value bool)
- func (t CATapDescription) SetProcesses(value []foundation.NSNumber)
- func (t CATapDescription) SetStream(value foundation.NSNumber)
- func (t CATapDescription) SetUUID(value foundation.NSUUID)
- func (t CATapDescription) Stream() foundation.NSNumber
- func (t CATapDescription) UUID() foundation.NSUUID
- type CATapDescriptionClass
- type CATapMuteBehavior
- type ICATapDescription
- type KAudioAggregateDeviceClassI
- type KAudioAggregateDeviceProperty
- type KAudioAggregateDevicePropertyMasterSub
- type KAudioAggregateDriftCompensation
- type KAudioBooleanControlClassID
- type KAudioBooleanControlProperty
- type KAudioBootChimeVolumeControlClassI
- type KAudioBoxClassI
- type KAudioBoxProperty
- type KAudioClockDeviceClassI
- type KAudioClockDeviceProperty
- type KAudioClockSourceControlPropertyItem
- type KAudioClockSourceItemKind
- type KAudioControlClassI
- type KAudioControlPropertyScope
- type KAudioDeviceClassI
- type KAudioDevicePropertyConfigurationApplication
- type KAudioDevicePropertyDeviceName
- type KAudioDevicePropertyJackIsConnected
- type KAudioDevicePropertyPlugIn
- type KAudioDevicePropertyScope
- type KAudioDevicePropertyVolumeDecibelsToScalarTransferFunction
- type KAudioDevicePropertyZeroTimeStampPeriod
- type KAudioDeviceStartTime
- type KAudioDeviceTransportType
- type KAudioDeviceTransportTypeAuto
- type KAudioEndPointClassI
- type KAudioEndPointDeviceClassI
- type KAudioEndPointDeviceProperty
- type KAudioHardwareNoError
- type KAudioHardwarePropertyBootChimeVolume
- type KAudioHardwarePropertyDevices
- type KAudioHardwarePropertyRunLoop
- type KAudioISubOwnerControlClassI
- type KAudioLevelControlClassID
- type KAudioLevelControlProperty
- type KAudioLevelControlPropertyDecibelsToScalarTransfer
- type KAudioObject
- type KAudioObjectClassI
- type KAudioObjectClassID
- type KAudioObjectPlugIn
- type KAudioObjectPropertyBaseClass
- type KAudioObjectPropertyCreator
- type KAudioObjectPropertyCustomPropertyInfo
- type KAudioObjectPropertyElement
- type KAudioObjectPropertyScope
- type KAudioObjectPropertyScopeGlobal
- type KAudioObjectPropertySelector
- type KAudioObjectSystem
- type KAudioPlugIn
- type KAudioPlugInClassI
- type KAudioPlugInProperty
- type KAudioPlugInPropertyResource
- type KAudioProcessClassI
- type KAudioProcessProperty
- type KAudioPropertyWildcardPropertyI
- type KAudioSelectorControlClassID
- type KAudioSelectorControlItemKind
- type KAudioSelectorControlProperty
- type KAudioServerPlugInCustomPropertyDataType
- type KAudioServerPlugInHostClientI
- type KAudioSliderControlClassI
- type KAudioSliderControlProperty
- type KAudioStereoPanControlClassI
- type KAudioStereoPanControlProperty
- type KAudioStream
- type KAudioStreamClassI
- type KAudioStreamPropertyIsActive
- type KAudioStreamPropertyOwningDevice
- type KAudioStreamTerminalType
- type KAudioSubDeviceClassI
- type KAudioSubDeviceDriftCompensation
- type KAudioSubDeviceProperty
- type KAudioSubTapClassI
- type KAudioSubTapProperty
- type KAudioSystemObjectClassI
- type KAudioTapClassI
- type KAudioTapProperty
- type KAudioTransportManager
- type KAudioTransportManagerClassI
- type KAudioTransportManagerProperty
Constants ¶
const KAudioControlPropertyVariant uint32 = 'c'<<24 | 'v'<<16 | 'a'<<8 | 'r' // 'cvar'
const KAudioDeviceUnknown uint32 = 0
const KAudioPropertyWildcardChannel uint32 = 4294967295
const KAudioPropertyWildcardSection uint8 = 0xff
Variables ¶
This section is empty.
Functions ¶
func AudioConvertHostTimeToNanos ¶
AudioConvertHostTimeToNanos.
See: https://developer.apple.com/documentation/CoreAudio/AudioConvertHostTimeToNanos(_:)
func AudioConvertNanosToHostTime ¶
AudioConvertNanosToHostTime.
See: https://developer.apple.com/documentation/CoreAudio/AudioConvertNanosToHostTime(_:)
func AudioDeviceAddIOProc
deprecated
func AudioDeviceAddIOProc(inDevice AudioDeviceID, inProc AudioDeviceIOProc, inClientData unsafe.Pointer) int32
AudioDeviceAddIOProc.
Deprecated: Deprecated since macOS 10.5.
See: https://developer.apple.com/documentation/CoreAudio/AudioDeviceAddIOProc
func AudioDeviceAddPropertyListener
deprecated
func AudioDeviceAddPropertyListener(inDevice AudioDeviceID, inChannel uint32, isInput bool, inPropertyID AudioDevicePropertyID, inProc AudioDevicePropertyListenerProc, inClientData unsafe.Pointer) int32
AudioDeviceAddPropertyListener.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/CoreAudio/AudioDeviceAddPropertyListener
func AudioDeviceCreateIOProcID ¶
func AudioDeviceCreateIOProcID(inDevice AudioObjectID, inProc AudioDeviceIOProc, inClientData unsafe.Pointer, outIOProcID *AudioDeviceIOProcID) int32
AudioDeviceCreateIOProcID.
See: https://developer.apple.com/documentation/CoreAudio/AudioDeviceCreateIOProcID(_:_:_:_:)
func AudioDeviceCreateIOProcIDWithBlock ¶
func AudioDeviceCreateIOProcIDWithBlock(outIOProcID *AudioDeviceIOProcID, inDevice AudioObjectID, inDispatchQueue dispatch.Queue, inIOBlock AudioDeviceIOBlock) int32
AudioDeviceCreateIOProcIDWithBlock.
See: https://developer.apple.com/documentation/CoreAudio/AudioDeviceCreateIOProcIDWithBlock(_:_:_:_:)
func AudioDeviceDestroyIOProcID ¶
func AudioDeviceDestroyIOProcID(inDevice AudioObjectID, inIOProcID AudioDeviceIOProcID) int32
AudioDeviceDestroyIOProcID.
See: https://developer.apple.com/documentation/CoreAudio/AudioDeviceDestroyIOProcID(_:_:)
func AudioDeviceGetCurrentTime ¶
func AudioDeviceGetCurrentTime(inDevice AudioObjectID, outTime *coreaudiotypes.AudioTimeStamp) int32
AudioDeviceGetCurrentTime.
See: https://developer.apple.com/documentation/CoreAudio/AudioDeviceGetCurrentTime(_:_:)
func AudioDeviceGetNearestStartTime ¶
func AudioDeviceGetNearestStartTime(inDevice AudioObjectID, ioRequestedStartTime *coreaudiotypes.AudioTimeStamp, inFlags uint32) int32
AudioDeviceGetNearestStartTime.
See: https://developer.apple.com/documentation/CoreAudio/AudioDeviceGetNearestStartTime(_:_:_:)
func AudioDeviceGetProperty
deprecated
func AudioDeviceGetProperty(inDevice AudioDeviceID, inChannel uint32, isInput bool, inPropertyID AudioDevicePropertyID, ioPropertyDataSize *uint32, outPropertyData unsafe.Pointer) int32
AudioDeviceGetProperty.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/CoreAudio/AudioDeviceGetProperty
func AudioDeviceGetPropertyInfo
deprecated
func AudioDeviceGetPropertyInfo(inDevice AudioDeviceID, inChannel uint32, isInput bool, inPropertyID AudioDevicePropertyID, outSize *uint32, outWritable *bool) int32
AudioDeviceGetPropertyInfo.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/CoreAudio/AudioDeviceGetPropertyInfo
func AudioDeviceRead
deprecated
func AudioDeviceRead(inDevice AudioDeviceID, inStartTime *coreaudiotypes.AudioTimeStamp, outData *coreaudiotypes.AudioBufferList) int32
AudioDeviceRead.
Deprecated: Deprecated since macOS 10.5.
See: https://developer.apple.com/documentation/CoreAudio/AudioDeviceRead
func AudioDeviceRemoveIOProc
deprecated
func AudioDeviceRemoveIOProc(inDevice AudioDeviceID, inProc AudioDeviceIOProc) int32
AudioDeviceRemoveIOProc.
Deprecated: Deprecated since macOS 10.5.
See: https://developer.apple.com/documentation/CoreAudio/AudioDeviceRemoveIOProc
func AudioDeviceRemovePropertyListener
deprecated
func AudioDeviceRemovePropertyListener(inDevice AudioDeviceID, inChannel uint32, isInput bool, inPropertyID AudioDevicePropertyID, inProc AudioDevicePropertyListenerProc) int32
AudioDeviceRemovePropertyListener.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/CoreAudio/AudioDeviceRemovePropertyListener
func AudioDeviceSetProperty
deprecated
func AudioDeviceSetProperty(inDevice AudioDeviceID, inWhen *coreaudiotypes.AudioTimeStamp, inChannel uint32, isInput bool, inPropertyID AudioDevicePropertyID, inPropertyDataSize uint32, inPropertyData unsafe.Pointer) int32
AudioDeviceSetProperty.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/CoreAudio/AudioDeviceSetProperty
func AudioDeviceStart ¶
func AudioDeviceStart(inDevice AudioObjectID, inProcID AudioDeviceIOProcID) int32
AudioDeviceStart.
See: https://developer.apple.com/documentation/CoreAudio/AudioDeviceStart(_:_:)
func AudioDeviceStartAtTime ¶
func AudioDeviceStartAtTime(inDevice AudioObjectID, inProcID AudioDeviceIOProcID, ioRequestedStartTime *coreaudiotypes.AudioTimeStamp, inFlags uint32) int32
AudioDeviceStartAtTime.
See: https://developer.apple.com/documentation/CoreAudio/AudioDeviceStartAtTime(_:_:_:_:)
func AudioDeviceStop ¶
func AudioDeviceStop(inDevice AudioObjectID, inProcID AudioDeviceIOProcID) int32
AudioDeviceStop.
See: https://developer.apple.com/documentation/CoreAudio/AudioDeviceStop(_:_:)
func AudioDeviceTranslateTime ¶
func AudioDeviceTranslateTime(inDevice AudioObjectID, inTime *coreaudiotypes.AudioTimeStamp, outTime *coreaudiotypes.AudioTimeStamp) int32
AudioDeviceTranslateTime.
See: https://developer.apple.com/documentation/CoreAudio/AudioDeviceTranslateTime(_:_:_:)
func AudioDriverPlugInClose ¶
func AudioDriverPlugInClose(inDevice AudioDeviceID) int32
AudioDriverPlugInClose.
See: https://developer.apple.com/documentation/CoreAudio/AudioDriverPlugInClose
func AudioDriverPlugInDeviceGetProperty ¶
func AudioDriverPlugInDeviceGetProperty(inDevice AudioDeviceID, inChannel uint32, isInput bool, inPropertyID AudioDevicePropertyID, ioPropertyDataSize *uint32, outPropertyData unsafe.Pointer) int32
AudioDriverPlugInDeviceGetProperty.
See: https://developer.apple.com/documentation/CoreAudio/AudioDriverPlugInDeviceGetProperty
func AudioDriverPlugInDeviceGetPropertyInfo ¶
func AudioDriverPlugInDeviceGetPropertyInfo(inDevice AudioDeviceID, inChannel uint32, isInput bool, inPropertyID AudioDevicePropertyID, outSize *uint32, outWritable *bool) int32
AudioDriverPlugInDeviceGetPropertyInfo.
See: https://developer.apple.com/documentation/CoreAudio/AudioDriverPlugInDeviceGetPropertyInfo
func AudioDriverPlugInDeviceSetProperty ¶
func AudioDriverPlugInDeviceSetProperty(inDevice AudioDeviceID, inWhen *coreaudiotypes.AudioTimeStamp, inChannel uint32, isInput bool, inPropertyID AudioDevicePropertyID, inPropertyDataSize uint32, inPropertyData unsafe.Pointer) int32
AudioDriverPlugInDeviceSetProperty.
See: https://developer.apple.com/documentation/CoreAudio/AudioDriverPlugInDeviceSetProperty
func AudioDriverPlugInOpen ¶
func AudioDriverPlugInOpen(inHostInfo *AudioDriverPlugInHostInfo) int32
AudioDriverPlugInOpen.
See: https://developer.apple.com/documentation/CoreAudio/AudioDriverPlugInOpen
func AudioDriverPlugInStreamGetProperty ¶
func AudioDriverPlugInStreamGetProperty(inDevice AudioDeviceID, inIOAudioStream uint32, inChannel uint32, inPropertyID AudioDevicePropertyID, ioPropertyDataSize *uint32, outPropertyData unsafe.Pointer) int32
AudioDriverPlugInStreamGetProperty.
See: https://developer.apple.com/documentation/CoreAudio/AudioDriverPlugInStreamGetProperty
func AudioDriverPlugInStreamGetPropertyInfo ¶
func AudioDriverPlugInStreamGetPropertyInfo(inDevice AudioDeviceID, inIOAudioStream uint32, inChannel uint32, inPropertyID AudioDevicePropertyID, outSize *uint32, outWritable *bool) int32
AudioDriverPlugInStreamGetPropertyInfo.
See: https://developer.apple.com/documentation/CoreAudio/AudioDriverPlugInStreamGetPropertyInfo
func AudioDriverPlugInStreamSetProperty ¶
func AudioDriverPlugInStreamSetProperty(inDevice AudioDeviceID, inIOAudioStream uint32, inWhen *coreaudiotypes.AudioTimeStamp, inChannel uint32, inPropertyID AudioDevicePropertyID, inPropertyDataSize uint32, inPropertyData unsafe.Pointer) int32
AudioDriverPlugInStreamSetProperty.
See: https://developer.apple.com/documentation/CoreAudio/AudioDriverPlugInStreamSetProperty
func AudioGetCurrentHostTime ¶
func AudioGetCurrentHostTime() uint64
AudioGetCurrentHostTime.
See: https://developer.apple.com/documentation/CoreAudio/AudioGetCurrentHostTime()
func AudioGetHostClockFrequency ¶
func AudioGetHostClockFrequency() float64
AudioGetHostClockFrequency.
See: https://developer.apple.com/documentation/CoreAudio/AudioGetHostClockFrequency()
func AudioGetHostClockMinimumTimeDelta ¶
func AudioGetHostClockMinimumTimeDelta() uint32
AudioGetHostClockMinimumTimeDelta.
See: https://developer.apple.com/documentation/CoreAudio/AudioGetHostClockMinimumTimeDelta()
func AudioHardwareAddPropertyListener
deprecated
func AudioHardwareAddPropertyListener(inPropertyID AudioHardwarePropertyID, inProc AudioHardwarePropertyListenerProc, inClientData unsafe.Pointer) int32
AudioHardwareAddPropertyListener.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/CoreAudio/AudioHardwareAddPropertyListener
func AudioHardwareAddRunLoopSource
deprecated
func AudioHardwareAddRunLoopSource(inRunLoopSource corefoundation.CFRunLoopSourceRef) int32
AudioHardwareAddRunLoopSource.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/CoreAudio/AudioHardwareAddRunLoopSource
func AudioHardwareCreateAggregateDevice ¶
func AudioHardwareCreateAggregateDevice(inDescription corefoundation.CFDictionaryRef, outDeviceID *AudioObjectID) int32
AudioHardwareCreateAggregateDevice.
See: https://developer.apple.com/documentation/CoreAudio/AudioHardwareCreateAggregateDevice(_:_:)
func AudioHardwareCreateProcessTap ¶
func AudioHardwareCreateProcessTap(inDescription *CATapDescription, outTapID *AudioObjectID) int32
AudioHardwareCreateProcessTap.
See: https://developer.apple.com/documentation/CoreAudio/AudioHardwareCreateProcessTap(_:_:)
func AudioHardwareDestroyAggregateDevice ¶
func AudioHardwareDestroyAggregateDevice(inDeviceID AudioObjectID) int32
AudioHardwareDestroyAggregateDevice.
See: https://developer.apple.com/documentation/CoreAudio/AudioHardwareDestroyAggregateDevice(_:)
func AudioHardwareDestroyProcessTap ¶
func AudioHardwareDestroyProcessTap(inTapID AudioObjectID) int32
AudioHardwareDestroyProcessTap.
See: https://developer.apple.com/documentation/CoreAudio/AudioHardwareDestroyProcessTap(_:)
func AudioHardwareGetProperty
deprecated
func AudioHardwareGetProperty(inPropertyID AudioHardwarePropertyID, ioPropertyDataSize *uint32, outPropertyData unsafe.Pointer) int32
AudioHardwareGetProperty.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/CoreAudio/AudioHardwareGetProperty
func AudioHardwareGetPropertyInfo
deprecated
func AudioHardwareGetPropertyInfo(inPropertyID AudioHardwarePropertyID, outSize *uint32, outWritable *bool) int32
AudioHardwareGetPropertyInfo.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/CoreAudio/AudioHardwareGetPropertyInfo
func AudioHardwareRemovePropertyListener
deprecated
func AudioHardwareRemovePropertyListener(inPropertyID AudioHardwarePropertyID, inProc AudioHardwarePropertyListenerProc) int32
AudioHardwareRemovePropertyListener.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/CoreAudio/AudioHardwareRemovePropertyListener
func AudioHardwareRemoveRunLoopSource
deprecated
func AudioHardwareRemoveRunLoopSource(inRunLoopSource corefoundation.CFRunLoopSourceRef) int32
AudioHardwareRemoveRunLoopSource.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/CoreAudio/AudioHardwareRemoveRunLoopSource
func AudioHardwareSetProperty
deprecated
func AudioHardwareSetProperty(inPropertyID AudioHardwarePropertyID, inPropertyDataSize uint32, inPropertyData unsafe.Pointer) int32
AudioHardwareSetProperty.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/CoreAudio/AudioHardwareSetProperty
func AudioHardwareUnload ¶
func AudioHardwareUnload() int32
AudioHardwareUnload.
See: https://developer.apple.com/documentation/CoreAudio/AudioHardwareUnload()
func AudioObjectAddPropertyListener ¶
func AudioObjectAddPropertyListener(inObjectID AudioObjectID, inAddress *AudioObjectPropertyAddress, inListener AudioObjectPropertyListenerProc, inClientData unsafe.Pointer) int32
AudioObjectAddPropertyListener.
See: https://developer.apple.com/documentation/CoreAudio/AudioObjectAddPropertyListener(_:_:_:_:)
func AudioObjectAddPropertyListenerBlock ¶
func AudioObjectAddPropertyListenerBlock(inObjectID AudioObjectID, inAddress *AudioObjectPropertyAddress, inDispatchQueue dispatch.Queue, inListener AudioObjectPropertyListenerBlock) int32
AudioObjectAddPropertyListenerBlock.
See: https://developer.apple.com/documentation/CoreAudio/AudioObjectAddPropertyListenerBlock(_:_:_:_:)
func AudioObjectGetPropertyData ¶
func AudioObjectGetPropertyData(inObjectID AudioObjectID, inAddress *AudioObjectPropertyAddress, inQualifierDataSize uint32, inQualifierData unsafe.Pointer, ioDataSize *uint32, outData unsafe.Pointer) int32
AudioObjectGetPropertyData.
See: https://developer.apple.com/documentation/CoreAudio/AudioObjectGetPropertyData(_:_:_:_:_:_:)
func AudioObjectGetPropertyDataSize ¶
func AudioObjectGetPropertyDataSize(inObjectID AudioObjectID, inAddress *AudioObjectPropertyAddress, inQualifierDataSize uint32, inQualifierData unsafe.Pointer, outDataSize *uint32) int32
AudioObjectGetPropertyDataSize.
See: https://developer.apple.com/documentation/CoreAudio/AudioObjectGetPropertyDataSize(_:_:_:_:_:)
func AudioObjectHasProperty ¶
func AudioObjectHasProperty(inObjectID AudioObjectID, inAddress *AudioObjectPropertyAddress) bool
AudioObjectHasProperty.
See: https://developer.apple.com/documentation/CoreAudio/AudioObjectHasProperty(_:_:)
func AudioObjectIsPropertySettable ¶
func AudioObjectIsPropertySettable(inObjectID AudioObjectID, inAddress *AudioObjectPropertyAddress, outIsSettable *bool) int32
AudioObjectIsPropertySettable.
See: https://developer.apple.com/documentation/CoreAudio/AudioObjectIsPropertySettable(_:_:_:)
func AudioObjectRemovePropertyListener ¶
func AudioObjectRemovePropertyListener(inObjectID AudioObjectID, inAddress *AudioObjectPropertyAddress, inListener AudioObjectPropertyListenerProc, inClientData unsafe.Pointer) int32
AudioObjectRemovePropertyListener.
See: https://developer.apple.com/documentation/CoreAudio/AudioObjectRemovePropertyListener(_:_:_:_:)
func AudioObjectRemovePropertyListenerBlock ¶
func AudioObjectRemovePropertyListenerBlock(inObjectID AudioObjectID, inAddress *AudioObjectPropertyAddress, inDispatchQueue dispatch.Queue, inListener AudioObjectPropertyListenerBlock) int32
AudioObjectRemovePropertyListenerBlock.
See: https://developer.apple.com/documentation/CoreAudio/AudioObjectRemovePropertyListenerBlock(_:_:_:_:)
func AudioObjectSetPropertyData ¶
func AudioObjectSetPropertyData(inObjectID AudioObjectID, inAddress *AudioObjectPropertyAddress, inQualifierDataSize uint32, inQualifierData unsafe.Pointer, inDataSize uint32, inData unsafe.Pointer) int32
AudioObjectSetPropertyData.
See: https://developer.apple.com/documentation/CoreAudio/AudioObjectSetPropertyData(_:_:_:_:_:_:)
func AudioObjectShow ¶
func AudioObjectShow(inObjectID AudioObjectID)
AudioObjectShow.
See: https://developer.apple.com/documentation/CoreAudio/AudioObjectShow(_:)
func AudioStreamAddPropertyListener
deprecated
func AudioStreamAddPropertyListener(inStream AudioStreamID, inChannel uint32, inPropertyID AudioDevicePropertyID, inProc AudioStreamPropertyListenerProc, inClientData unsafe.Pointer) int32
AudioStreamAddPropertyListener.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/CoreAudio/AudioStreamAddPropertyListener
func AudioStreamGetProperty
deprecated
func AudioStreamGetProperty(inStream AudioStreamID, inChannel uint32, inPropertyID AudioDevicePropertyID, ioPropertyDataSize *uint32, outPropertyData unsafe.Pointer) int32
AudioStreamGetProperty.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/CoreAudio/AudioStreamGetProperty
func AudioStreamGetPropertyInfo
deprecated
func AudioStreamGetPropertyInfo(inStream AudioStreamID, inChannel uint32, inPropertyID AudioDevicePropertyID, outSize *uint32, outWritable *bool) int32
AudioStreamGetPropertyInfo.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/CoreAudio/AudioStreamGetPropertyInfo
func AudioStreamRemovePropertyListener
deprecated
func AudioStreamRemovePropertyListener(inStream AudioStreamID, inChannel uint32, inPropertyID AudioDevicePropertyID, inProc AudioStreamPropertyListenerProc) int32
AudioStreamRemovePropertyListener.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/CoreAudio/AudioStreamRemovePropertyListener
func AudioStreamSetProperty
deprecated
func AudioStreamSetProperty(inStream AudioStreamID, inWhen *coreaudiotypes.AudioTimeStamp, inChannel uint32, inPropertyID AudioDevicePropertyID, inPropertyDataSize uint32, inPropertyData unsafe.Pointer) int32
AudioStreamSetProperty.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/CoreAudio/AudioStreamSetProperty
func NewAudioDeviceIOBlock ¶ added in v0.6.16
func NewAudioDeviceIOBlock(handler AudioDeviceIOBlock) (objc.ID, func())
NewAudioDeviceIOBlock wraps a Go AudioDeviceIOBlock as an Objective-C block. The caller must defer the returned cleanup function.
func NewAudioObjectPropertyListenerBlock ¶ added in v0.6.16
func NewAudioObjectPropertyListenerBlock(handler AudioObjectPropertyListenerBlock) (objc.ID, func())
NewAudioObjectPropertyListenerBlock wraps a Go AudioObjectPropertyListenerBlock as an Objective-C block. The caller must defer the returned cleanup function.
Types ¶
type AudioClassID ¶
type AudioClassID = uint32
See: https://developer.apple.com/documentation/CoreAudio/AudioClassID
type AudioDeviceClockAlgorithmSelector ¶
type AudioDeviceClockAlgorithmSelector uint32
See: https://developer.apple.com/documentation/CoreAudio/AudioDeviceClockAlgorithmSelector
const ( KAudioDeviceClockAlgorithm12PtMovingWindowAverage AudioDeviceClockAlgorithmSelector = 0 KAudioDeviceClockAlgorithmRaw AudioDeviceClockAlgorithmSelector = 0 KAudioDeviceClockAlgorithmSimpleIIR AudioDeviceClockAlgorithmSelector = 0 )
func (AudioDeviceClockAlgorithmSelector) String ¶
func (e AudioDeviceClockAlgorithmSelector) String() string
type AudioDeviceID ¶
type AudioDeviceID = uint32
See: https://developer.apple.com/documentation/CoreAudio/AudioDeviceID
type AudioDeviceIOBlock ¶
type AudioDeviceIOBlock = func(inNow *coreaudiotypes.AudioTimeStamp, inInputData *coreaudiotypes.AudioBufferList, inInputTime *coreaudiotypes.AudioTimeStamp, outOutputData *coreaudiotypes.AudioBufferList, inOutputTime *coreaudiotypes.AudioTimeStamp)
See: https://developer.apple.com/documentation/CoreAudio/AudioDeviceIOBlock
type AudioDeviceIOProc ¶
type AudioDeviceIOProc = func(inDevice uint32, inNow uintptr, inInputData uintptr, inInputTime uintptr, outOutputData uintptr, inOutputTime uintptr, inClientData unsafe.Pointer) int32
See: https://developer.apple.com/documentation/CoreAudio/AudioDeviceIOProc
type AudioDeviceIOProcID ¶
See: https://developer.apple.com/documentation/CoreAudio/AudioDeviceIOProcID
type AudioDevicePropertyID ¶
type AudioDevicePropertyID = uint32
See: https://developer.apple.com/documentation/CoreAudio/AudioDevicePropertyID
type AudioDevicePropertyListenerProc ¶
type AudioDevicePropertyListenerProc = func(inDevice uint32, inChannel uint32, isInput uint8, inPropertyID uint32, inClientData unsafe.Pointer) int32
See: https://developer.apple.com/documentation/CoreAudio/AudioDevicePropertyListenerProc
type AudioDriverPlugInDevicePropertyChangedProc ¶
type AudioDriverPlugInDevicePropertyChangedProc = func(inDevice uint32, inChannel uint32, isInput uint8, inPropertyID uint32) int32
See: https://developer.apple.com/documentation/CoreAudio/AudioDriverPlugInDevicePropertyChangedProc
type AudioDriverPlugInHostInfo ¶
type AudioDriverPlugInHostInfo struct {
MDeviceID AudioDeviceID
MIOAudioDevice uint32
MIOAudioEngine uint32
MDevicePropertyChangedProc AudioDriverPlugInDevicePropertyChangedProc
MStreamPropertyChangedProc AudioDriverPlugInStreamPropertyChangedProc
}
AudioDriverPlugInHostInfo
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreAudio/AudioDriverPlugInHostInfo
type AudioDriverPlugInStreamPropertyChangedProc ¶
type AudioDriverPlugInStreamPropertyChangedProc = func(inDevice uint32, inIOAudioStream uint32, inChannel uint32, inPropertyID uint32) int32
See: https://developer.apple.com/documentation/CoreAudio/AudioDriverPlugInStreamPropertyChangedProc
type AudioHardwareIOProcStreamUsage ¶
type AudioHardwareIOProcStreamUsage struct {
MIOProc unsafe.Pointer
MNumberStreams uint32
MStreamIsOn [1]uint32
}
AudioHardwareIOProcStreamUsage - This structure describes which streams a given AudioDeviceIOProc will use. It is used in conjunction with kAudioDevicePropertyIOProcStreamUsage.
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreAudio/AudioHardwareIOProcStreamUsage
type AudioHardwarePowerHint ¶
type AudioHardwarePowerHint uint32
See: https://developer.apple.com/documentation/CoreAudio/AudioHardwarePowerHint
const ( KAudioHardwarePowerHintFavorSavingPower AudioHardwarePowerHint = 1 KAudioHardwarePowerHintNone AudioHardwarePowerHint = 0 )
func (AudioHardwarePowerHint) String ¶
func (e AudioHardwarePowerHint) String() string
type AudioHardwarePropertyID ¶
type AudioHardwarePropertyID = uint32
See: https://developer.apple.com/documentation/CoreAudio/AudioHardwarePropertyID
type AudioHardwarePropertyListenerProc ¶
type AudioHardwarePropertyListenerProc = func(inPropertyID uint32, inClientData unsafe.Pointer) int32
See: https://developer.apple.com/documentation/CoreAudio/AudioHardwarePropertyListenerProc
type AudioLevelControlTransferFunction ¶
type AudioLevelControlTransferFunction uint32
See: https://developer.apple.com/documentation/CoreAudio/AudioLevelControlTransferFunction
const ( KAudioLevelControlTranferFunction10Over1 AudioLevelControlTransferFunction = 13 KAudioLevelControlTranferFunction11Over1 AudioLevelControlTransferFunction = 14 KAudioLevelControlTranferFunction12Over1 AudioLevelControlTransferFunction = 15 KAudioLevelControlTranferFunction1Over2 AudioLevelControlTransferFunction = 2 KAudioLevelControlTranferFunction1Over3 AudioLevelControlTransferFunction = 1 KAudioLevelControlTranferFunction2Over1 AudioLevelControlTransferFunction = 5 KAudioLevelControlTranferFunction3Over1 AudioLevelControlTransferFunction = 6 KAudioLevelControlTranferFunction3Over2 AudioLevelControlTransferFunction = 4 KAudioLevelControlTranferFunction3Over4 AudioLevelControlTransferFunction = 3 KAudioLevelControlTranferFunction4Over1 AudioLevelControlTransferFunction = 7 KAudioLevelControlTranferFunction5Over1 AudioLevelControlTransferFunction = 8 KAudioLevelControlTranferFunction6Over1 AudioLevelControlTransferFunction = 9 KAudioLevelControlTranferFunction7Over1 AudioLevelControlTransferFunction = 10 KAudioLevelControlTranferFunction8Over1 AudioLevelControlTransferFunction = 11 KAudioLevelControlTranferFunction9Over1 AudioLevelControlTransferFunction = 12 KAudioLevelControlTranferFunctionLinear AudioLevelControlTransferFunction = 0 )
func (AudioLevelControlTransferFunction) String ¶
func (e AudioLevelControlTransferFunction) String() string
type AudioObjectID ¶
type AudioObjectID = uint32
See: https://developer.apple.com/documentation/CoreAudio/AudioObjectID
type AudioObjectPropertyAddress ¶
type AudioObjectPropertyAddress struct {
MSelector AudioObjectPropertySelector
MScope AudioObjectPropertyScope
MElement AudioObjectPropertyElement
}
AudioObjectPropertyAddress - An AudioObjectPropertyAddress collects the three parts that identify a specific property together in a struct for easy transmission.
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreAudio/AudioObjectPropertyAddress
type AudioObjectPropertyElement ¶
type AudioObjectPropertyElement = uint32
See: https://developer.apple.com/documentation/CoreAudio/AudioObjectPropertyElement
type AudioObjectPropertyListenerBlock ¶
type AudioObjectPropertyListenerBlock = func(inNumberAddresses uint32, inAddresses *AudioObjectPropertyAddress)
See: https://developer.apple.com/documentation/CoreAudio/AudioObjectPropertyListenerBlock
type AudioObjectPropertyListenerProc ¶
type AudioObjectPropertyListenerProc = func(inObjectID uint32, inNumberAddresses uint32, inAddresses uintptr, inClientData unsafe.Pointer) int32
See: https://developer.apple.com/documentation/CoreAudio/AudioObjectPropertyListenerProc
type AudioObjectPropertyScope ¶
type AudioObjectPropertyScope = uint32
See: https://developer.apple.com/documentation/CoreAudio/AudioObjectPropertyScope
type AudioObjectPropertySelector ¶
type AudioObjectPropertySelector = uint32
See: https://developer.apple.com/documentation/CoreAudio/AudioObjectPropertySelector
type AudioServerPlugInClientInfo ¶
type AudioServerPlugInClientInfo struct {
MClientID uint32
MProcessID int32
MIsNativeEndian bool
MBundleID corefoundation.CFStringRef
}
AudioServerPlugInClientInfo
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreAudio/AudioServerPlugInClientInfo
type AudioServerPlugInCustomPropertyDataType ¶
type AudioServerPlugInCustomPropertyDataType = uint32
AudioServerPlugInCustomPropertyDataType is the set of data types the Host knows how to marshal between the server and the client.
See: https://developer.apple.com/documentation/CoreAudio/AudioServerPlugInCustomPropertyDataType
type AudioServerPlugInCustomPropertyInfo ¶
type AudioServerPlugInCustomPropertyInfo struct {
MSelector AudioObjectPropertySelector
MPropertyDataType uint32
MQualifierDataType uint32
}
AudioServerPlugInCustomPropertyInfo
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreAudio/AudioServerPlugInCustomPropertyInfo
type AudioServerPlugInDriverInterface ¶
type AudioServerPlugInDriverInterface struct {
QueryInterface func(unsafe.Pointer, corefoundation.CFUUIDBytes, unsafe.Pointer) int32
AddRef func(unsafe.Pointer) uint32
Release func(unsafe.Pointer) uint32
Initialize func(uintptr, uintptr) int32
CreateDevice func(uintptr, uintptr, uintptr, *uint32) int32
DestroyDevice func(uintptr, uint32) int32
AddDeviceClient func(uintptr, uint32, uintptr) int32
RemoveDeviceClient func(uintptr, uint32, uintptr) int32
PerformDeviceConfigurationChange func(uintptr, uint32, uint64, unsafe.Pointer) int32
AbortDeviceConfigurationChange func(uintptr, uint32, uint64, unsafe.Pointer) int32
HasProperty func(uintptr, uint32, int32, uintptr) uint8
IsPropertySettable func(uintptr, uint32, int32, uintptr, *byte) int32
GetPropertyDataSize func(uintptr, uint32, int32, uintptr, uint32, unsafe.Pointer, *uint32) int32
GetPropertyData func(uintptr, uint32, int32, uintptr, uint32, unsafe.Pointer, uint32, *uint32, unsafe.Pointer) int32
SetPropertyData func(uintptr, uint32, int32, uintptr, uint32, unsafe.Pointer, uint32, unsafe.Pointer) int32
StartIO func(uintptr, uint32, uint32) int32
StopIO func(uintptr, uint32, uint32) int32
GetZeroTimeStamp func(uintptr, uint32, uint32, []float64, *uint64, *uint64) int32
WillDoIOOperation func(uintptr, uint32, uint32, uint32, *byte, *byte) int32
BeginIOOperation func(uintptr, uint32, uint32, uint32, uint32, uintptr) int32
DoIOOperation func(uintptr, uint32, uint32, uint32, uint32, uint32, uintptr, unsafe.Pointer, unsafe.Pointer) int32
EndIOOperation func(uintptr, uint32, uint32, uint32, uint32, uintptr) int32
// contains filtered or unexported fields
}
AudioServerPlugInDriverInterface
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreAudio/AudioServerPlugInDriverInterface
type AudioServerPlugInDriverRef ¶
type AudioServerPlugInDriverRef = **AudioServerPlugInDriverInterface
See: https://developer.apple.com/documentation/CoreAudio/AudioServerPlugInDriverRef
type AudioServerPlugInHostInterface ¶
type AudioServerPlugInHostInterface struct {
PropertiesChanged func(uintptr, uint32, uint32, uintptr) int32
CopyFromStorage func(uintptr, uintptr, unsafe.Pointer) int32
WriteToStorage func(uintptr, uintptr, unsafe.Pointer) int32
DeleteFromStorage func(uintptr, uintptr) int32
RequestDeviceConfigurationChange func(uintptr, uint32, uint64, unsafe.Pointer) int32
}
AudioServerPlugInHostInterface
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreAudio/AudioServerPlugInHostInterface
type AudioServerPlugInHostRef ¶
type AudioServerPlugInHostRef = *AudioServerPlugInHostInterface
See: https://developer.apple.com/documentation/CoreAudio/AudioServerPlugInHostRef
type AudioServerPlugInIOCycleInfo ¶
type AudioServerPlugInIOCycleInfo struct {
MIOCycleCounter uint64
MNominalIOBufferFrameSize uint32
MCurrentTime coreaudiotypes.AudioTimeStamp
MInputTime coreaudiotypes.AudioTimeStamp
MOutputTime coreaudiotypes.AudioTimeStamp
MMainHostTicksPerFrame float64
MDeviceHostTicksPerFrame float64
}
AudioServerPlugInIOCycleInfo
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreAudio/AudioServerPlugInIOCycleInfo
type AudioServerPlugInIOOperation ¶
type AudioServerPlugInIOOperation uint32
See: https://developer.apple.com/documentation/CoreAudio/AudioServerPlugInIOOperation
const ( KAudioServerPlugInIOOperationConvertInput AudioServerPlugInIOOperation = 0 KAudioServerPlugInIOOperationConvertMix AudioServerPlugInIOOperation = 0 KAudioServerPlugInIOOperationCycle AudioServerPlugInIOOperation = 0 KAudioServerPlugInIOOperationMixOutput AudioServerPlugInIOOperation = 0 KAudioServerPlugInIOOperationProcessInput AudioServerPlugInIOOperation = 0 KAudioServerPlugInIOOperationProcessMix AudioServerPlugInIOOperation = 0 KAudioServerPlugInIOOperationProcessOutput AudioServerPlugInIOOperation = 0 KAudioServerPlugInIOOperationReadInput AudioServerPlugInIOOperation = 0 KAudioServerPlugInIOOperationThread AudioServerPlugInIOOperation = 0 KAudioServerPlugInIOOperationWriteMix AudioServerPlugInIOOperation = 0 )
func (AudioServerPlugInIOOperation) String ¶
func (e AudioServerPlugInIOOperation) String() string
type AudioStreamID ¶
type AudioStreamID = uint32
See: https://developer.apple.com/documentation/CoreAudio/AudioStreamID
type AudioStreamPropertyListenerProc ¶
type AudioStreamPropertyListenerProc = func(inStream uint32, inChannel uint32, inPropertyID uint32, inClientData unsafe.Pointer) int32
See: https://developer.apple.com/documentation/CoreAudio/AudioStreamPropertyListenerProc
type AudioStreamRangedDescription ¶
type AudioStreamRangedDescription struct {
MFormat coreaudiotypes.AudioStreamBasicDescription
MSampleRateRange coreaudiotypes.AudioValueRange
}
AudioStreamRangedDescription - This structure allows a specific sample rate range to be associated with an AudioStreamBasicDescription that specifies its sample rate as kAudioStreamAnyRate.
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreAudio/AudioStreamRangedDescription
type CATapDescription ¶
type CATapDescription struct {
objectivec.Object
}
Overview ¶
This class describes a tap object that contains an input stream. The input stream is a mix of all of the specified processes output audio.
Instance Properties ¶
- CATapDescription.BundleIDs
- CATapDescription.SetBundleIDs
- CATapDescription.DeviceUID
- CATapDescription.SetDeviceUID
- CATapDescription.IsExclusive
- CATapDescription.SetExclusive
- CATapDescription.IsMixdown
- CATapDescription.SetMixdown
- CATapDescription.IsMono
- CATapDescription.SetMono
- CATapDescription.IsPrivate
- CATapDescription.SetPrivate
- CATapDescription.IsProcessRestoreEnabled
- CATapDescription.SetProcessRestoreEnabled
- CATapDescription.MuteBehavior
- CATapDescription.SetMuteBehavior
- CATapDescription.Name
- CATapDescription.SetName
- CATapDescription.Processes
- CATapDescription.SetProcesses
- CATapDescription.Stream
- CATapDescription.SetStream
- CATapDescription.UUID
- CATapDescription.SetUUID
See: https://developer.apple.com/documentation/CoreAudio/CATapDescription
func CATapDescriptionFromID ¶
func CATapDescriptionFromID(id objc.ID) CATapDescription
CATapDescriptionFromID constructs a CATapDescription from an objc.ID.
func NewCATapDescription ¶
func NewCATapDescription() CATapDescription
NewCATapDescription creates a new CATapDescription instance.
func NewTapDescriptionExcludingProcessesAndDeviceUIDWithStream ¶
func NewTapDescriptionExcludingProcessesAndDeviceUIDWithStream(processesObjectIDsToExcludeFromTap []foundation.NSNumber, deviceUID string, stream int) CATapDescription
processesObjectIDsToExcludeFromTap: An NSArray of NSNumbers where each NSNumber holds an AudioObjectID of the process object to exclude from the tap. All other processes that output audio will be included in the tap.
deviceUID: The device UID of the output device whose audio will be captured
stream: NSInteger that represents the index of the stream on the device whose audio will be captured. The format of the tap will match the format of this stream.
Discussion ¶
Mix all process audio streams destined for the selected device stream except the given processes
func NewTapDescriptionMonoGlobalTapButExcludeProcesses ¶
func NewTapDescriptionMonoGlobalTapButExcludeProcesses(processesObjectIDsToExcludeFromTap []foundation.NSNumber) CATapDescription
processesObjectIDsToExcludeFromTap: An NSArray of NSNumbers where each NSNumber holds an AudioObjectID of the process object to exclude from the tap. All other processes that output audio will be included in the tap.
Discussion ¶
Mix all processes to a mono stream except the given processes ¶
func NewTapDescriptionMonoMixdownOfProcesses ¶
func NewTapDescriptionMonoMixdownOfProcesses(processesObjectIDsToIncludeInTap []foundation.NSNumber) CATapDescription
processesObjectIDsToIncludeInTap: An NSArray of NSNumbers where each NSNumber holds an AudioObjectID of the process object to include in the tap
Discussion ¶
Mix all given process audio streams audio to mono.
See: https://developer.apple.com/documentation/CoreAudio/CATapDescription/initMonoMixdownOfProcesses:
func NewTapDescriptionStereoGlobalTapButExcludeProcesses ¶
func NewTapDescriptionStereoGlobalTapButExcludeProcesses(processesObjectIDsToExcludeFromTap []foundation.NSNumber) CATapDescription
processesObjectIDsToExcludeFromTap: An NSArray of NSNumbers where each NSNumber holds an AudioObjectID of the process object to exclude from the tap. All other processes that output audio will be included in the tap.
Discussion ¶
Mix all processes to a stereo stream except the given processes. Mono sources will be duplicated in both right and left channels.
func NewTapDescriptionStereoMixdownOfProcesses ¶
func NewTapDescriptionStereoMixdownOfProcesses(processesObjectIDsToIncludeInTap []foundation.NSNumber) CATapDescription
processesObjectIDsToIncludeInTap: An NSArray of NSNumbers where each NSNumber holds an AudioObjectID of the process object to include in the tap
Discussion ¶
Mix all given process audio streams down to stereo. Mono sources will be duplicated in both right and left channels.
See: https://developer.apple.com/documentation/CoreAudio/CATapDescription/initStereoMixdownOfProcesses:
func NewTapDescriptionWithProcessesAndDeviceUIDWithStream ¶
func NewTapDescriptionWithProcessesAndDeviceUIDWithStream(processesObjectIDsToIncludeInTap []foundation.NSNumber, deviceUID string, stream int) CATapDescription
processesObjectIDsToIncludeInTap: An NSArray of NSNumbers where each NSNumber holds an AudioObjectID of the process object to exclude from the tap. All other processes that output audio will be included in the tap.
deviceUID: The device UID of the output device whose audio will be captured
stream: NSInteger that represents the index of the stream on the device whose audio will be captured. The format of the tap will match the format of this stream.
Discussion ¶
Mix all given process audio streams destined for the selected device stream ¶
func (CATapDescription) Autorelease ¶
func (t CATapDescription) Autorelease() CATapDescription
Autorelease adds the receiver to the current autorelease pool.
func (CATapDescription) BundleIDs ¶
func (t CATapDescription) BundleIDs() []string
Discussion ¶
An Array of Strings where each String holds the bundle ID of a process to tap or exclude.
See: https://developer.apple.com/documentation/CoreAudio/CATapDescription/bundleIDs
func (CATapDescription) DeviceUID ¶
func (t CATapDescription) DeviceUID() string
Discussion ¶
An optional deviceUID that will have a value if this tap only taps a specific hardware device
See: https://developer.apple.com/documentation/CoreAudio/CATapDescription/deviceUID
func (CATapDescription) Init ¶
func (t CATapDescription) Init() CATapDescription
Init initializes the instance.
func (CATapDescription) InitExcludingProcessesAndDeviceUIDWithStream ¶
func (t CATapDescription) InitExcludingProcessesAndDeviceUIDWithStream(processesObjectIDsToExcludeFromTap []foundation.NSNumber, deviceUID string, stream int) CATapDescription
processesObjectIDsToExcludeFromTap: An NSArray of NSNumbers where each NSNumber holds an AudioObjectID of the process object to exclude from the tap. All other processes that output audio will be included in the tap.
deviceUID: The device UID of the output device whose audio will be captured
stream: NSInteger that represents the index of the stream on the device whose audio will be captured. The format of the tap will match the format of this stream.
Discussion ¶
Mix all process audio streams destined for the selected device stream except the given processes
func (CATapDescription) InitMonoGlobalTapButExcludeProcesses ¶
func (t CATapDescription) InitMonoGlobalTapButExcludeProcesses(processesObjectIDsToExcludeFromTap []foundation.NSNumber) CATapDescription
processesObjectIDsToExcludeFromTap: An NSArray of NSNumbers where each NSNumber holds an AudioObjectID of the process object to exclude from the tap. All other processes that output audio will be included in the tap.
Discussion ¶
Mix all processes to a mono stream except the given processes ¶
func (CATapDescription) InitMonoMixdownOfProcesses ¶
func (t CATapDescription) InitMonoMixdownOfProcesses(processesObjectIDsToIncludeInTap []foundation.NSNumber) CATapDescription
processesObjectIDsToIncludeInTap: An NSArray of NSNumbers where each NSNumber holds an AudioObjectID of the process object to include in the tap
Discussion ¶
Mix all given process audio streams audio to mono.
See: https://developer.apple.com/documentation/CoreAudio/CATapDescription/initMonoMixdownOfProcesses:
func (CATapDescription) InitStereoGlobalTapButExcludeProcesses ¶
func (t CATapDescription) InitStereoGlobalTapButExcludeProcesses(processesObjectIDsToExcludeFromTap []foundation.NSNumber) CATapDescription
processesObjectIDsToExcludeFromTap: An NSArray of NSNumbers where each NSNumber holds an AudioObjectID of the process object to exclude from the tap. All other processes that output audio will be included in the tap.
Discussion ¶
Mix all processes to a stereo stream except the given processes. Mono sources will be duplicated in both right and left channels.
func (CATapDescription) InitStereoMixdownOfProcesses ¶
func (t CATapDescription) InitStereoMixdownOfProcesses(processesObjectIDsToIncludeInTap []foundation.NSNumber) CATapDescription
processesObjectIDsToIncludeInTap: An NSArray of NSNumbers where each NSNumber holds an AudioObjectID of the process object to include in the tap
Discussion ¶
Mix all given process audio streams down to stereo. Mono sources will be duplicated in both right and left channels.
See: https://developer.apple.com/documentation/CoreAudio/CATapDescription/initStereoMixdownOfProcesses:
func (CATapDescription) InitWithProcessesAndDeviceUIDWithStream ¶
func (t CATapDescription) InitWithProcessesAndDeviceUIDWithStream(processesObjectIDsToIncludeInTap []foundation.NSNumber, deviceUID string, stream int) CATapDescription
processesObjectIDsToIncludeInTap: An NSArray of NSNumbers where each NSNumber holds an AudioObjectID of the process object to exclude from the tap. All other processes that output audio will be included in the tap.
deviceUID: The device UID of the output device whose audio will be captured
stream: NSInteger that represents the index of the stream on the device whose audio will be captured. The format of the tap will match the format of this stream.
Discussion ¶
Mix all given process audio streams destined for the selected device stream ¶
func (CATapDescription) IsExclusive ¶ added in v0.6.5
func (t CATapDescription) IsExclusive() bool
Discussion ¶
True if this description should tap all processes except the process listed in the ‘processes’ property.
See: https://developer.apple.com/documentation/CoreAudio/CATapDescription/isExclusive
func (CATapDescription) IsMixdown ¶ added in v0.6.5
func (t CATapDescription) IsMixdown() bool
Discussion ¶
True if this description is a mono or stereo mix of the tapped device’s channels.
See: https://developer.apple.com/documentation/CoreAudio/CATapDescription/isMixdown
func (CATapDescription) IsMono ¶ added in v0.6.5
func (t CATapDescription) IsMono() bool
Discussion ¶
True if this description is a mono mixdown of channels.
See: https://developer.apple.com/documentation/CoreAudio/CATapDescription/isMono
func (CATapDescription) IsPrivate ¶ added in v0.6.5
func (t CATapDescription) IsPrivate() bool
Discussion ¶
True if this tap is only visible to the client process that created the tap.
See: https://developer.apple.com/documentation/CoreAudio/CATapDescription/isPrivate
func (CATapDescription) IsProcessRestoreEnabled ¶ added in v0.6.5
func (t CATapDescription) IsProcessRestoreEnabled() bool
Discussion ¶
True if this tap should save tapped processes by bundle ID when they exit, and restore them to the tap when they start up again.
See: https://developer.apple.com/documentation/CoreAudio/CATapDescription/isProcessRestoreEnabled
func (CATapDescription) MuteBehavior ¶
func (t CATapDescription) MuteBehavior() CATapMuteBehavior
Discussion ¶
Set the tap’s mute behavior. See CATapMuteBehavior above.
See: https://developer.apple.com/documentation/CoreAudio/CATapDescription/muteBehavior
func (CATapDescription) Name ¶
func (t CATapDescription) Name() string
Discussion ¶
Human readable name of this tap.
See: https://developer.apple.com/documentation/CoreAudio/CATapDescription/name
func (CATapDescription) Processes ¶
func (t CATapDescription) Processes() []foundation.NSNumber
Discussion ¶
An NSArray of NSNumbers where each NSNumber holds the AudioObjectID of a process object to tap or exclude.
See: https://developer.apple.com/documentation/CoreAudio/CATapDescription/processes-3cdzw
func (CATapDescription) SetBundleIDs ¶
func (t CATapDescription) SetBundleIDs(value []string)
func (CATapDescription) SetDeviceUID ¶
func (t CATapDescription) SetDeviceUID(value string)
func (CATapDescription) SetExclusive ¶
func (t CATapDescription) SetExclusive(value bool)
func (CATapDescription) SetMixdown ¶
func (t CATapDescription) SetMixdown(value bool)
func (CATapDescription) SetMono ¶
func (t CATapDescription) SetMono(value bool)
func (CATapDescription) SetMuteBehavior ¶
func (t CATapDescription) SetMuteBehavior(value CATapMuteBehavior)
func (CATapDescription) SetName ¶
func (t CATapDescription) SetName(value string)
func (CATapDescription) SetPrivate ¶ added in v0.6.4
func (t CATapDescription) SetPrivate(value bool)
func (CATapDescription) SetProcessRestoreEnabled ¶
func (t CATapDescription) SetProcessRestoreEnabled(value bool)
func (CATapDescription) SetProcesses ¶
func (t CATapDescription) SetProcesses(value []foundation.NSNumber)
func (CATapDescription) SetStream ¶
func (t CATapDescription) SetStream(value foundation.NSNumber)
func (CATapDescription) SetUUID ¶
func (t CATapDescription) SetUUID(value foundation.NSUUID)
func (CATapDescription) Stream ¶
func (t CATapDescription) Stream() foundation.NSNumber
Discussion ¶
An optional NSNumber that will have a value if this tap taps a specific device stream. The value represents the index of the hardware stream.
See: https://developer.apple.com/documentation/CoreAudio/CATapDescription/stream-u4ff
func (CATapDescription) UUID ¶
func (t CATapDescription) UUID() foundation.NSUUID
Discussion ¶
UID of this tap.
See: https://developer.apple.com/documentation/CoreAudio/CATapDescription/uuid
type CATapDescriptionClass ¶
type CATapDescriptionClass struct {
// contains filtered or unexported fields
}
func GetCATapDescriptionClass ¶
func GetCATapDescriptionClass() CATapDescriptionClass
GetCATapDescriptionClass returns the class object for CATapDescription.
func (CATapDescriptionClass) Alloc ¶
func (cc CATapDescriptionClass) Alloc() CATapDescription
Alloc allocates memory for a new instance of the class.
func (CATapDescriptionClass) Class ¶
func (cc CATapDescriptionClass) Class() objc.Class
Class returns the underlying Objective-C class pointer.
type CATapMuteBehavior ¶
type CATapMuteBehavior int
See: https://developer.apple.com/documentation/CoreAudio/CATapMuteBehavior
const ( CATapMuted CATapMuteBehavior = 0 CATapMutedWhenTapped CATapMuteBehavior = 0 CATapUnmuted CATapMuteBehavior = 0 )
func (CATapMuteBehavior) String ¶
func (e CATapMuteBehavior) String() string
type ICATapDescription ¶
type ICATapDescription interface {
objectivec.IObject
BundleIDs() []string
SetBundleIDs(value []string)
DeviceUID() string
SetDeviceUID(value string)
IsExclusive() bool
SetExclusive(value bool)
IsMixdown() bool
SetMixdown(value bool)
IsMono() bool
SetMono(value bool)
IsPrivate() bool
SetPrivate(value bool)
IsProcessRestoreEnabled() bool
SetProcessRestoreEnabled(value bool)
MuteBehavior() CATapMuteBehavior
SetMuteBehavior(value CATapMuteBehavior)
Name() string
SetName(value string)
Processes() []foundation.NSNumber
SetProcesses(value []foundation.NSNumber)
Stream() foundation.NSNumber
SetStream(value foundation.NSNumber)
UUID() foundation.NSUUID
SetUUID(value foundation.NSUUID)
InitExcludingProcessesAndDeviceUIDWithStream(processesObjectIDsToExcludeFromTap []foundation.NSNumber, deviceUID string, stream int) CATapDescription
InitMonoGlobalTapButExcludeProcesses(processesObjectIDsToExcludeFromTap []foundation.NSNumber) CATapDescription
InitMonoMixdownOfProcesses(processesObjectIDsToIncludeInTap []foundation.NSNumber) CATapDescription
InitStereoGlobalTapButExcludeProcesses(processesObjectIDsToExcludeFromTap []foundation.NSNumber) CATapDescription
InitStereoMixdownOfProcesses(processesObjectIDsToIncludeInTap []foundation.NSNumber) CATapDescription
InitWithProcessesAndDeviceUIDWithStream(processesObjectIDsToIncludeInTap []foundation.NSNumber, deviceUID string, stream int) CATapDescription
}
An interface definition for the CATapDescription class.
Instance Properties ¶
- ICATapDescription.BundleIDs
- ICATapDescription.SetBundleIDs
- ICATapDescription.DeviceUID
- ICATapDescription.SetDeviceUID
- ICATapDescription.IsExclusive
- ICATapDescription.SetExclusive
- ICATapDescription.IsMixdown
- ICATapDescription.SetMixdown
- ICATapDescription.IsMono
- ICATapDescription.SetMono
- ICATapDescription.IsPrivate
- ICATapDescription.SetPrivate
- ICATapDescription.IsProcessRestoreEnabled
- ICATapDescription.SetProcessRestoreEnabled
- ICATapDescription.MuteBehavior
- ICATapDescription.SetMuteBehavior
- ICATapDescription.Name
- ICATapDescription.SetName
- ICATapDescription.Processes
- ICATapDescription.SetProcesses
- ICATapDescription.Stream
- ICATapDescription.SetStream
- ICATapDescription.UUID
- ICATapDescription.SetUUID
See: https://developer.apple.com/documentation/CoreAudio/CATapDescription
type KAudioAggregateDeviceClassI ¶
type KAudioAggregateDeviceClassI uint32
const (
KAudioAggregateDeviceClassID KAudioAggregateDeviceClassI = 'a'<<24 | 'a'<<16 | 'g'<<8 | 'g' // 'aagg'
)
func (KAudioAggregateDeviceClassI) String ¶
func (e KAudioAggregateDeviceClassI) String() string
type KAudioAggregateDeviceProperty ¶
type KAudioAggregateDeviceProperty uint32
const ( KAudioAggregateDevicePropertyActiveSubDeviceList KAudioAggregateDeviceProperty = 'a'<<24 | 'g'<<16 | 'r'<<8 | 'p' // 'agrp' KAudioAggregateDevicePropertyClockDevice KAudioAggregateDeviceProperty = 'a'<<24 | 'p'<<16 | 'c'<<8 | 'd' // 'apcd' KAudioAggregateDevicePropertyComposition KAudioAggregateDeviceProperty = 'a'<<24 | 'c'<<16 | 'o'<<8 | 'm' // 'acom' KAudioAggregateDevicePropertyFullSubDeviceList KAudioAggregateDeviceProperty = 'g'<<24 | 'r'<<16 | 'u'<<8 | 'p' // 'grup' KAudioAggregateDevicePropertyMainSubDevice KAudioAggregateDeviceProperty = 'a'<<24 | 'm'<<16 | 's'<<8 | 't' // 'amst' KAudioAggregateDevicePropertySubTapList KAudioAggregateDeviceProperty = 'a'<<24 | 't'<<16 | 'a'<<8 | 'p' // 'atap' KAudioAggregateDevicePropertyTapList KAudioAggregateDeviceProperty = 't'<<24 | 'a'<<16 | 'p'<<8 | '#' // 'tap#' )
func (KAudioAggregateDeviceProperty) String ¶
func (e KAudioAggregateDeviceProperty) String() string
type KAudioAggregateDevicePropertyMasterSub ¶
type KAudioAggregateDevicePropertyMasterSub uint32
const ( // Deprecated: use kAudioAggregateDevicePropertyMainSubDevice. KAudioAggregateDevicePropertyMasterSubDevice KAudioAggregateDevicePropertyMasterSub = 'a'<<24 | 'm'<<16 | 's'<<8 | 't' // 'amst' )
func (KAudioAggregateDevicePropertyMasterSub) String ¶
func (e KAudioAggregateDevicePropertyMasterSub) String() string
type KAudioAggregateDriftCompensation ¶
type KAudioAggregateDriftCompensation uint32
const ( KAudioAggregateDriftCompensationHighQuality KAudioAggregateDriftCompensation = 0x60 KAudioAggregateDriftCompensationLowQuality KAudioAggregateDriftCompensation = 0x20 KAudioAggregateDriftCompensationMaxQuality KAudioAggregateDriftCompensation = 0x7f KAudioAggregateDriftCompensationMediumQuality KAudioAggregateDriftCompensation = 0x40 KAudioAggregateDriftCompensationMinQuality KAudioAggregateDriftCompensation = 0 )
func (KAudioAggregateDriftCompensation) String ¶
func (e KAudioAggregateDriftCompensation) String() string
type KAudioBooleanControlClassID ¶
type KAudioBooleanControlClassID uint32
const ( KAudioBooleanControlClassIDValue KAudioBooleanControlClassID = 't'<<24 | 'o'<<16 | 'g'<<8 | 'l' // 'togl' KAudioClipLightControlClassID KAudioBooleanControlClassID = 'c'<<24 | 'l'<<16 | 'i'<<8 | 'p' // 'clip' KAudioJackControlClassID KAudioBooleanControlClassID = 'j'<<24 | 'a'<<16 | 'c'<<8 | 'k' // 'jack' KAudioLFEMuteControlClassID KAudioBooleanControlClassID = 's'<<24 | 'u'<<16 | 'b'<<8 | 'm' // 'subm' KAudioListenbackControlClassID KAudioBooleanControlClassID = 'l'<<24 | 's'<<16 | 'n'<<8 | 'b' // 'lsnb' KAudioMuteControlClassID KAudioBooleanControlClassID = 'm'<<24 | 'u'<<16 | 't'<<8 | 'e' // 'mute' KAudioPhantomPowerControlClassID KAudioBooleanControlClassID = 'p'<<24 | 'h'<<16 | 'a'<<8 | 'n' // 'phan' KAudioPhaseInvertControlClassID KAudioBooleanControlClassID = 'p'<<24 | 'h'<<16 | 's'<<8 | 'i' // 'phsi' KAudioSoloControlClassID KAudioBooleanControlClassID = 's'<<24 | 'o'<<16 | 'l'<<8 | 'o' // 'solo' KAudioTalkbackControlClassID KAudioBooleanControlClassID = 't'<<24 | 'a'<<16 | 'l'<<8 | 'b' // 'talb' )
func (KAudioBooleanControlClassID) String ¶ added in v0.6.17
func (e KAudioBooleanControlClassID) String() string
type KAudioBooleanControlProperty ¶
type KAudioBooleanControlProperty uint32
const (
KAudioBooleanControlPropertyValue KAudioBooleanControlProperty = 'b'<<24 | 'c'<<16 | 'v'<<8 | 'l' // 'bcvl'
)
func (KAudioBooleanControlProperty) String ¶
func (e KAudioBooleanControlProperty) String() string
type KAudioBootChimeVolumeControlClassI ¶
type KAudioBootChimeVolumeControlClassI uint32
const (
KAudioBootChimeVolumeControlClassID KAudioBootChimeVolumeControlClassI = 'p'<<24 | 'r'<<16 | 'a'<<8 | 'm' // 'pram'
)
func (KAudioBootChimeVolumeControlClassI) String ¶
func (e KAudioBootChimeVolumeControlClassI) String() string
type KAudioBoxClassI ¶
type KAudioBoxClassI uint32
const (
KAudioBoxClassID KAudioBoxClassI = 'a'<<24 | 'b'<<16 | 'o'<<8 | 'x' // 'abox'
)
func (KAudioBoxClassI) String ¶
func (e KAudioBoxClassI) String() string
type KAudioBoxProperty ¶
type KAudioBoxProperty uint32
const ( KAudioBoxPropertyAcquired KAudioBoxProperty = 'b'<<24 | 'x'<<16 | 'o'<<8 | 'n' // 'bxon' KAudioBoxPropertyAcquisitionFailed KAudioBoxProperty = 'b'<<24 | 'x'<<16 | 'o'<<8 | 'f' // 'bxof' KAudioBoxPropertyBoxUID KAudioBoxProperty = 'b'<<24 | 'u'<<16 | 'i'<<8 | 'd' // 'buid' KAudioBoxPropertyClockDeviceList KAudioBoxProperty = 'b'<<24 | 'c'<<16 | 'l'<<8 | '#' // 'bcl#' KAudioBoxPropertyDeviceList KAudioBoxProperty = 'b'<<24 | 'd'<<16 | 'v'<<8 | '#' // 'bdv#' KAudioBoxPropertyHasAudio KAudioBoxProperty = 'b'<<24 | 'h'<<16 | 'a'<<8 | 'u' // 'bhau' KAudioBoxPropertyHasMIDI KAudioBoxProperty = 'b'<<24 | 'h'<<16 | 'm'<<8 | 'i' // 'bhmi' KAudioBoxPropertyHasVideo KAudioBoxProperty = 'b'<<24 | 'h'<<16 | 'v'<<8 | 'i' // 'bhvi' KAudioBoxPropertyIsProtected KAudioBoxProperty = 'b'<<24 | 'p'<<16 | 'r'<<8 | 'o' // 'bpro' KAudioBoxPropertyTransportType KAudioBoxProperty = 't'<<24 | 'r'<<16 | 'a'<<8 | 'n' // 'tran' )
func (KAudioBoxProperty) String ¶
func (e KAudioBoxProperty) String() string
type KAudioClockDeviceClassI ¶
type KAudioClockDeviceClassI uint32
const (
KAudioClockDeviceClassID KAudioClockDeviceClassI = 'a'<<24 | 'c'<<16 | 'l'<<8 | 'k' // 'aclk'
)
func (KAudioClockDeviceClassI) String ¶
func (e KAudioClockDeviceClassI) String() string
type KAudioClockDeviceProperty ¶
type KAudioClockDeviceProperty uint32
const ( KAudioClockDevicePropertyAvailableNominalSampleRates KAudioClockDeviceProperty = 'n'<<24 | 's'<<16 | 'r'<<8 | '#' // 'nsr#' KAudioClockDevicePropertyClockDomain KAudioClockDeviceProperty = 'c'<<24 | 'l'<<16 | 'k'<<8 | 'd' // 'clkd' KAudioClockDevicePropertyControlList KAudioClockDeviceProperty = 'c'<<24 | 't'<<16 | 'r'<<8 | 'l' // 'ctrl' KAudioClockDevicePropertyDeviceIsAlive KAudioClockDeviceProperty = 'l'<<24 | 'i'<<16 | 'v'<<8 | 'n' // 'livn' KAudioClockDevicePropertyDeviceIsRunning KAudioClockDeviceProperty = 'g'<<24 | 'o'<<16 | 'i'<<8 | 'n' // 'goin' KAudioClockDevicePropertyDeviceUID KAudioClockDeviceProperty = 'c'<<24 | 'u'<<16 | 'i'<<8 | 'd' // 'cuid' KAudioClockDevicePropertyLatency KAudioClockDeviceProperty = 'l'<<24 | 't'<<16 | 'n'<<8 | 'c' // 'ltnc' KAudioClockDevicePropertyNominalSampleRate KAudioClockDeviceProperty = 'n'<<24 | 's'<<16 | 'r'<<8 | 't' // 'nsrt' KAudioClockDevicePropertyTransportType KAudioClockDeviceProperty = 't'<<24 | 'r'<<16 | 'a'<<8 | 'n' // 'tran' )
func (KAudioClockDeviceProperty) String ¶
func (e KAudioClockDeviceProperty) String() string
type KAudioClockSourceControlPropertyItem ¶
type KAudioClockSourceControlPropertyItem uint32
const (
KAudioClockSourceControlPropertyItemKind KAudioClockSourceControlPropertyItem = 'c'<<24 | 'l'<<16 | 'k'<<8 | 'k' // 'clkk'
)
func (KAudioClockSourceControlPropertyItem) String ¶
func (e KAudioClockSourceControlPropertyItem) String() string
type KAudioClockSourceItemKind ¶
type KAudioClockSourceItemKind uint32
const (
KAudioClockSourceItemKindInternal KAudioClockSourceItemKind = 'i'<<24 | 'n'<<16 | 't'<<8 | ' ' // 'int '
)
func (KAudioClockSourceItemKind) String ¶
func (e KAudioClockSourceItemKind) String() string
type KAudioControlClassI ¶
type KAudioControlClassI uint32
const (
KAudioControlClassID KAudioControlClassI = 'a'<<24 | 'c'<<16 | 't'<<8 | 'l' // 'actl'
)
func (KAudioControlClassI) String ¶
func (e KAudioControlClassI) String() string
type KAudioControlPropertyScope ¶
type KAudioControlPropertyScope uint32
const ( KAudioControlPropertyElement KAudioControlPropertyScope = 'c'<<24 | 'e'<<16 | 'l'<<8 | 'm' // 'celm' KAudioControlPropertyScopeValue KAudioControlPropertyScope = 'c'<<24 | 's'<<16 | 'c'<<8 | 'p' // 'cscp' )
func (KAudioControlPropertyScope) String ¶ added in v0.6.17
func (e KAudioControlPropertyScope) String() string
type KAudioDeviceClassI ¶
type KAudioDeviceClassI uint32
const (
KAudioDeviceClassID KAudioDeviceClassI = 'a'<<24 | 'd'<<16 | 'e'<<8 | 'v' // 'adev'
)
func (KAudioDeviceClassI) String ¶
func (e KAudioDeviceClassI) String() string
type KAudioDevicePropertyConfigurationApplication ¶
type KAudioDevicePropertyConfigurationApplication uint32
const ( KAudioDevicePropertyAvailableNominalSampleRates KAudioDevicePropertyConfigurationApplication = 'n'<<24 | 's'<<16 | 'r'<<8 | '#' // 'nsr#' KAudioDevicePropertyClockDomain KAudioDevicePropertyConfigurationApplication = 'c'<<24 | 'l'<<16 | 'k'<<8 | 'd' // 'clkd' KAudioDevicePropertyConfigurationApplicationValue KAudioDevicePropertyConfigurationApplication = 'c'<<24 | 'a'<<16 | 'p'<<8 | 'p' // 'capp' KAudioDevicePropertyDeviceCanBeDefaultDevice KAudioDevicePropertyConfigurationApplication = 'd'<<24 | 'f'<<16 | 'l'<<8 | 't' // 'dflt' KAudioDevicePropertyDeviceCanBeDefaultSystemDevice KAudioDevicePropertyConfigurationApplication = 's'<<24 | 'f'<<16 | 'l'<<8 | 't' // 'sflt' KAudioDevicePropertyDeviceIsAlive KAudioDevicePropertyConfigurationApplication = 'l'<<24 | 'i'<<16 | 'v'<<8 | 'n' // 'livn' KAudioDevicePropertyDeviceIsRunning KAudioDevicePropertyConfigurationApplication = 'g'<<24 | 'o'<<16 | 'i'<<8 | 'n' // 'goin' KAudioDevicePropertyDeviceUID KAudioDevicePropertyConfigurationApplication = 'u'<<24 | 'i'<<16 | 'd'<<8 | ' ' // 'uid ' KAudioDevicePropertyIcon KAudioDevicePropertyConfigurationApplication = 'i'<<24 | 'c'<<16 | 'o'<<8 | 'n' // 'icon' KAudioDevicePropertyIsHidden KAudioDevicePropertyConfigurationApplication = 'h'<<24 | 'i'<<16 | 'd'<<8 | 'n' // 'hidn' KAudioDevicePropertyLatency KAudioDevicePropertyConfigurationApplication = 'l'<<24 | 't'<<16 | 'n'<<8 | 'c' // 'ltnc' KAudioDevicePropertyModelUID KAudioDevicePropertyConfigurationApplication = 'm'<<24 | 'u'<<16 | 'i'<<8 | 'd' // 'muid' KAudioDevicePropertyNominalSampleRate KAudioDevicePropertyConfigurationApplication = 'n'<<24 | 's'<<16 | 'r'<<8 | 't' // 'nsrt' KAudioDevicePropertyPreferredChannelLayout KAudioDevicePropertyConfigurationApplication = 's'<<24 | 'r'<<16 | 'n'<<8 | 'd' // 'srnd' KAudioDevicePropertyPreferredChannelsForStereo KAudioDevicePropertyConfigurationApplication = 'd'<<24 | 'c'<<16 | 'h'<<8 | '2' // 'dch2' KAudioDevicePropertyRelatedDevices KAudioDevicePropertyConfigurationApplication = 'a'<<24 | 'k'<<16 | 'i'<<8 | 'n' // 'akin' KAudioDevicePropertySafetyOffset KAudioDevicePropertyConfigurationApplication = 's'<<24 | 'a'<<16 | 'f'<<8 | 't' // 'saft' KAudioDevicePropertyStreams KAudioDevicePropertyConfigurationApplication = 's'<<24 | 't'<<16 | 'm'<<8 | '#' // 'stm#' KAudioDevicePropertyTransportType KAudioDevicePropertyConfigurationApplication = 't'<<24 | 'r'<<16 | 'a'<<8 | 'n' // 'tran' KAudioObjectPropertyControlList KAudioDevicePropertyConfigurationApplication = 'c'<<24 | 't'<<16 | 'r'<<8 | 'l' // 'ctrl' )
func (KAudioDevicePropertyConfigurationApplication) String ¶ added in v0.6.17
func (e KAudioDevicePropertyConfigurationApplication) String() string
type KAudioDevicePropertyDeviceName ¶
type KAudioDevicePropertyDeviceName uint32
const ( KAudioDevicePropertyBufferSize KAudioDevicePropertyDeviceName = 'b'<<24 | 's'<<16 | 'i'<<8 | 'z' // 'bsiz' KAudioDevicePropertyBufferSizeRange KAudioDevicePropertyDeviceName = 'b'<<24 | 's'<<16 | 'z'<<8 | '#' // 'bsz#' KAudioDevicePropertyChannelCategoryName KAudioDevicePropertyDeviceName = 'c'<<24 | 'c'<<16 | 'n'<<8 | 'm' // 'ccnm' KAudioDevicePropertyChannelCategoryNameCFString KAudioDevicePropertyDeviceName = 'l'<<24 | 'c'<<16 | 'c'<<8 | 'n' // 'lccn' KAudioDevicePropertyChannelName KAudioDevicePropertyDeviceName = 'c'<<24 | 'h'<<16 | 'n'<<8 | 'm' // 'chnm' KAudioDevicePropertyChannelNameCFString KAudioDevicePropertyDeviceName = 'l'<<24 | 'c'<<16 | 'h'<<8 | 'n' // 'lchn' KAudioDevicePropertyChannelNominalLineLevelNameForID KAudioDevicePropertyDeviceName = 'c'<<24 | 'n'<<16 | 'l'<<8 | 'v' // 'cnlv' KAudioDevicePropertyChannelNumberName KAudioDevicePropertyDeviceName = 'c'<<24 | 'n'<<16 | 'n'<<8 | 'm' // 'cnnm' KAudioDevicePropertyChannelNumberNameCFString KAudioDevicePropertyDeviceName = 'l'<<24 | 'c'<<16 | 'n'<<8 | 'n' // 'lcnn' KAudioDevicePropertyClockSourceNameForID KAudioDevicePropertyDeviceName = 'c'<<24 | 's'<<16 | 'c'<<8 | 'n' // 'cscn' KAudioDevicePropertyDataSourceNameForID KAudioDevicePropertyDeviceName = 's'<<24 | 's'<<16 | 'c'<<8 | 'n' // 'sscn' KAudioDevicePropertyDeviceManufacturer KAudioDevicePropertyDeviceName = 'm'<<24 | 'a'<<16 | 'k'<<8 | 'r' // 'makr' KAudioDevicePropertyDeviceManufacturerCFString KAudioDevicePropertyDeviceName = 'l'<<24 | 'm'<<16 | 'a'<<8 | 'k' // 'lmak' KAudioDevicePropertyDeviceNameValue KAudioDevicePropertyDeviceName = 'n'<<24 | 'a'<<16 | 'm'<<8 | 'e' // 'name' KAudioDevicePropertyDeviceNameCFString KAudioDevicePropertyDeviceName = 'l'<<24 | 'n'<<16 | 'a'<<8 | 'm' // 'lnam' KAudioDevicePropertyHighPassFilterSettingNameForID KAudioDevicePropertyDeviceName = 'c'<<24 | 'h'<<16 | 'i'<<8 | 'p' // 'chip' KAudioDevicePropertyPlayThruDestinationNameForID KAudioDevicePropertyDeviceName = 'm'<<24 | 'd'<<16 | 'd'<<8 | 'n' // 'mddn' KAudioDevicePropertyRegisterBufferList KAudioDevicePropertyDeviceName = 'r'<<24 | 'b'<<16 | 'u'<<8 | 'f' // 'rbuf' KAudioDevicePropertyStreamFormat KAudioDevicePropertyDeviceName = 's'<<24 | 'f'<<16 | 'm'<<8 | 't' // 'sfmt' KAudioDevicePropertyStreamFormatMatch KAudioDevicePropertyDeviceName = 's'<<24 | 'f'<<16 | 'm'<<8 | 'm' // 'sfmm' KAudioDevicePropertyStreamFormatSupported KAudioDevicePropertyDeviceName = 's'<<24 | 'f'<<16 | 'm'<<8 | '?' // 'sfm?' KAudioDevicePropertyStreamFormats KAudioDevicePropertyDeviceName = 's'<<24 | 'f'<<16 | 'm'<<8 | '#' // 'sfm#' KAudioDevicePropertySupportsMixing KAudioDevicePropertyDeviceName = 'm'<<24 | 'i'<<16 | 'x'<<8 | '?' // 'mix?' )
func (KAudioDevicePropertyDeviceName) String ¶ added in v0.6.17
func (e KAudioDevicePropertyDeviceName) String() string
type KAudioDevicePropertyJackIsConnected ¶
type KAudioDevicePropertyJackIsConnected uint32
const ( KAudioDevicePropertyChannelNominalLineLevel KAudioDevicePropertyJackIsConnected = 'n'<<24 | 'l'<<16 | 'v'<<8 | 'l' // 'nlvl' KAudioDevicePropertyChannelNominalLineLevelNameForIDCFString KAudioDevicePropertyJackIsConnected = 'l'<<24 | 'c'<<16 | 'n'<<8 | 'l' // 'lcnl' KAudioDevicePropertyChannelNominalLineLevels KAudioDevicePropertyJackIsConnected = 'n'<<24 | 'l'<<16 | 'v'<<8 | '#' // 'nlv#' KAudioDevicePropertyClipLight KAudioDevicePropertyJackIsConnected = 'c'<<24 | 'l'<<16 | 'i'<<8 | 'p' // 'clip' KAudioDevicePropertyClockSource KAudioDevicePropertyJackIsConnected = 'c'<<24 | 's'<<16 | 'r'<<8 | 'c' // 'csrc' KAudioDevicePropertyClockSourceKindForID KAudioDevicePropertyJackIsConnected = 'c'<<24 | 's'<<16 | 'c'<<8 | 'k' // 'csck' KAudioDevicePropertyClockSourceNameForIDCFString KAudioDevicePropertyJackIsConnected = 'l'<<24 | 'c'<<16 | 's'<<8 | 'n' // 'lcsn' KAudioDevicePropertyClockSources KAudioDevicePropertyJackIsConnected = 'c'<<24 | 's'<<16 | 'c'<<8 | '#' // 'csc#' KAudioDevicePropertyDataSource KAudioDevicePropertyJackIsConnected = 's'<<24 | 's'<<16 | 'r'<<8 | 'c' // 'ssrc' KAudioDevicePropertyDataSourceKindForID KAudioDevicePropertyJackIsConnected = 's'<<24 | 's'<<16 | 'c'<<8 | 'k' // 'ssck' KAudioDevicePropertyDataSourceNameForIDCFString KAudioDevicePropertyJackIsConnected = 'l'<<24 | 's'<<16 | 'c'<<8 | 'n' // 'lscn' KAudioDevicePropertyDataSources KAudioDevicePropertyJackIsConnected = 's'<<24 | 's'<<16 | 'c'<<8 | '#' // 'ssc#' KAudioDevicePropertyHighPassFilterSetting KAudioDevicePropertyJackIsConnected = 'h'<<24 | 'i'<<16 | 'p'<<8 | 'f' // 'hipf' KAudioDevicePropertyHighPassFilterSettingNameForIDCFString KAudioDevicePropertyJackIsConnected = 'h'<<24 | 'i'<<16 | 'p'<<8 | 'l' // 'hipl' KAudioDevicePropertyHighPassFilterSettings KAudioDevicePropertyJackIsConnected = 'h'<<24 | 'i'<<16 | 'p'<<8 | '#' // 'hip#' KAudioDevicePropertyJackIsConnectedValue KAudioDevicePropertyJackIsConnected = 'j'<<24 | 'a'<<16 | 'c'<<8 | 'k' // 'jack' KAudioDevicePropertyListenback KAudioDevicePropertyJackIsConnected = 'l'<<24 | 's'<<16 | 'n'<<8 | 'b' // 'lsnb' KAudioDevicePropertyMute KAudioDevicePropertyJackIsConnected = 'm'<<24 | 'u'<<16 | 't'<<8 | 'e' // 'mute' KAudioDevicePropertyPhantomPower KAudioDevicePropertyJackIsConnected = 'p'<<24 | 'h'<<16 | 'a'<<8 | 'n' // 'phan' KAudioDevicePropertyPhaseInvert KAudioDevicePropertyJackIsConnected = 'p'<<24 | 'h'<<16 | 's'<<8 | 'i' // 'phsi' KAudioDevicePropertyPlayThru KAudioDevicePropertyJackIsConnected = 't'<<24 | 'h'<<16 | 'r'<<8 | 'u' // 'thru' KAudioDevicePropertyPlayThruDestination KAudioDevicePropertyJackIsConnected = 'm'<<24 | 'd'<<16 | 'd'<<8 | 's' // 'mdds' KAudioDevicePropertyPlayThruDestinationNameForIDCFString KAudioDevicePropertyJackIsConnected = 'm'<<24 | 'd'<<16 | 'd'<<8 | 'c' // 'mddc' KAudioDevicePropertyPlayThruDestinations KAudioDevicePropertyJackIsConnected = 'm'<<24 | 'd'<<16 | 'd'<<8 | '#' // 'mdd#' KAudioDevicePropertyPlayThruSolo KAudioDevicePropertyJackIsConnected = 't'<<24 | 'h'<<16 | 'r'<<8 | 's' // 'thrs' KAudioDevicePropertyPlayThruStereoPan KAudioDevicePropertyJackIsConnected = 'm'<<24 | 's'<<16 | 'p'<<8 | 'n' // 'mspn' KAudioDevicePropertyPlayThruStereoPanChannels KAudioDevicePropertyJackIsConnected = 'm'<<24 | 's'<<16 | 'p'<<8 | '#' // 'msp#' KAudioDevicePropertyPlayThruVolumeDecibels KAudioDevicePropertyJackIsConnected = 'm'<<24 | 'v'<<16 | 'd'<<8 | 'b' // 'mvdb' KAudioDevicePropertyPlayThruVolumeDecibelsToScalar KAudioDevicePropertyJackIsConnected = 'm'<<24 | 'v'<<16 | '2'<<8 | 's' // 'mv2s' KAudioDevicePropertyPlayThruVolumeRangeDecibels KAudioDevicePropertyJackIsConnected = 'm'<<24 | 'v'<<16 | 'd'<<8 | '#' // 'mvd#' KAudioDevicePropertyPlayThruVolumeScalar KAudioDevicePropertyJackIsConnected = 'm'<<24 | 'v'<<16 | 's'<<8 | 'c' // 'mvsc' KAudioDevicePropertyPlayThruVolumeScalarToDecibels KAudioDevicePropertyJackIsConnected = 'm'<<24 | 'v'<<16 | '2'<<8 | 'd' // 'mv2d' KAudioDevicePropertySolo KAudioDevicePropertyJackIsConnected = 's'<<24 | 'o'<<16 | 'l'<<8 | 'o' // 'solo' KAudioDevicePropertyStereoPan KAudioDevicePropertyJackIsConnected = 's'<<24 | 'p'<<16 | 'a'<<8 | 'n' // 'span' KAudioDevicePropertyStereoPanChannels KAudioDevicePropertyJackIsConnected = 's'<<24 | 'p'<<16 | 'n'<<8 | '#' // 'spn#' KAudioDevicePropertySubMute KAudioDevicePropertyJackIsConnected = 's'<<24 | 'm'<<16 | 'u'<<8 | 't' // 'smut' KAudioDevicePropertySubVolumeDecibels KAudioDevicePropertyJackIsConnected = 's'<<24 | 'v'<<16 | 'l'<<8 | 'd' // 'svld' KAudioDevicePropertySubVolumeDecibelsToScalar KAudioDevicePropertyJackIsConnected = 's'<<24 | 'd'<<16 | '2'<<8 | 'v' // 'sd2v' KAudioDevicePropertySubVolumeRangeDecibels KAudioDevicePropertyJackIsConnected = 's'<<24 | 'v'<<16 | 'd'<<8 | '#' // 'svd#' KAudioDevicePropertySubVolumeScalar KAudioDevicePropertyJackIsConnected = 's'<<24 | 'v'<<16 | 'l'<<8 | 'm' // 'svlm' KAudioDevicePropertySubVolumeScalarToDecibels KAudioDevicePropertyJackIsConnected = 's'<<24 | 'v'<<16 | '2'<<8 | 'd' // 'sv2d' KAudioDevicePropertyTalkback KAudioDevicePropertyJackIsConnected = 't'<<24 | 'a'<<16 | 'l'<<8 | 'b' // 'talb' KAudioDevicePropertyVoiceActivityDetectionEnable KAudioDevicePropertyJackIsConnected = 'v'<<24 | 'A'<<16 | 'd'<<8 | '+' // 'vAd+' KAudioDevicePropertyVoiceActivityDetectionState KAudioDevicePropertyJackIsConnected = 'v'<<24 | 'A'<<16 | 'd'<<8 | 'S' // 'vAdS' KAudioDevicePropertyVolumeDecibels KAudioDevicePropertyJackIsConnected = 'v'<<24 | 'o'<<16 | 'l'<<8 | 'd' // 'vold' KAudioDevicePropertyVolumeDecibelsToScalar KAudioDevicePropertyJackIsConnected = 'd'<<24 | 'b'<<16 | '2'<<8 | 'v' // 'db2v' KAudioDevicePropertyVolumeRangeDecibels KAudioDevicePropertyJackIsConnected = 'v'<<24 | 'd'<<16 | 'b'<<8 | '#' // 'vdb#' KAudioDevicePropertyVolumeScalar KAudioDevicePropertyJackIsConnected = 'v'<<24 | 'o'<<16 | 'l'<<8 | 'm' // 'volm' KAudioDevicePropertyVolumeScalarToDecibels KAudioDevicePropertyJackIsConnected = 'v'<<24 | '2'<<16 | 'd'<<8 | 'b' // 'v2db' KAudioDevicePropertyWantsControlsRestored KAudioDevicePropertyJackIsConnected = 'r'<<24 | 'e'<<16 | 's'<<8 | 'c' // 'resc' KAudioDevicePropertyWantsStreamFormatsRestored KAudioDevicePropertyJackIsConnected = 'r'<<24 | 'e'<<16 | 's'<<8 | 'f' // 'resf' )
func (KAudioDevicePropertyJackIsConnected) String ¶ added in v0.6.17
func (e KAudioDevicePropertyJackIsConnected) String() string
type KAudioDevicePropertyPlugIn ¶
type KAudioDevicePropertyPlugIn uint32
const ( KAudioDeviceProcessorOverload KAudioDevicePropertyPlugIn = 'o'<<24 | 'v'<<16 | 'e'<<8 | 'r' // 'over' KAudioDevicePropertyActualSampleRate KAudioDevicePropertyPlugIn = 'a'<<24 | 's'<<16 | 'r'<<8 | 't' // 'asrt' KAudioDevicePropertyBufferFrameSize KAudioDevicePropertyPlugIn = 'f'<<24 | 's'<<16 | 'i'<<8 | 'z' // 'fsiz' KAudioDevicePropertyBufferFrameSizeRange KAudioDevicePropertyPlugIn = 'f'<<24 | 's'<<16 | 'z'<<8 | '#' // 'fsz#' KAudioDevicePropertyClockDevice KAudioDevicePropertyPlugIn = 'a'<<24 | 'p'<<16 | 'c'<<8 | 'd' // 'apcd' KAudioDevicePropertyDeviceHasChanged KAudioDevicePropertyPlugIn = 'd'<<24 | 'i'<<16 | 'f'<<8 | 'f' // 'diff' KAudioDevicePropertyDeviceIsRunningSomewhere KAudioDevicePropertyPlugIn = 'g'<<24 | 'o'<<16 | 'n'<<8 | 'e' // 'gone' KAudioDevicePropertyHogMode KAudioDevicePropertyPlugIn = 'o'<<24 | 'i'<<16 | 'n'<<8 | 'k' // 'oink' KAudioDevicePropertyIOCycleUsage KAudioDevicePropertyPlugIn = 'n'<<24 | 'c'<<16 | 'y'<<8 | 'c' // 'ncyc' KAudioDevicePropertyIOProcStreamUsage KAudioDevicePropertyPlugIn = 's'<<24 | 'u'<<16 | 's'<<8 | 'e' // 'suse' KAudioDevicePropertyIOStoppedAbnormally KAudioDevicePropertyPlugIn = 's'<<24 | 't'<<16 | 'p'<<8 | 'd' // 'stpd' // KAudioDevicePropertyIOThreadOSWorkgroup: The device’s workgroup object, which you use to coordinate your threads with the threads of the device. KAudioDevicePropertyIOThreadOSWorkgroup KAudioDevicePropertyPlugIn = 'o'<<24 | 's'<<16 | 'w'<<8 | 'g' // 'oswg' KAudioDevicePropertyPlugInValue KAudioDevicePropertyPlugIn = 'p'<<24 | 'l'<<16 | 'u'<<8 | 'g' // 'plug' KAudioDevicePropertyProcessMute KAudioDevicePropertyPlugIn = 'a'<<24 | 'p'<<16 | 'p'<<8 | 'm' // 'appm' KAudioDevicePropertyStreamConfiguration KAudioDevicePropertyPlugIn = 's'<<24 | 'l'<<16 | 'a'<<8 | 'y' // 'slay' KAudioDevicePropertyUsesVariableBufferFrameSizes KAudioDevicePropertyPlugIn = 'v'<<24 | 'f'<<16 | 's'<<8 | 'z' // 'vfsz' )
func (KAudioDevicePropertyPlugIn) String ¶ added in v0.6.17
func (e KAudioDevicePropertyPlugIn) String() string
type KAudioDevicePropertyScope ¶
type KAudioDevicePropertyScope uint32
const ( KAudioDevicePropertyScopeInput KAudioDevicePropertyScope = 'i'<<24 | 'n'<<16 | 'p'<<8 | 't' // 'inpt' KAudioDevicePropertyScopeOutput KAudioDevicePropertyScope = 'o'<<24 | 'u'<<16 | 't'<<8 | 'p' // 'outp' KAudioDevicePropertyScopePlayThrough KAudioDevicePropertyScope = 'p'<<24 | 't'<<16 | 'r'<<8 | 'u' // 'ptru' )
func (KAudioDevicePropertyScope) String ¶
func (e KAudioDevicePropertyScope) String() string
type KAudioDevicePropertyVolumeDecibelsToScalarTransferFunction ¶
type KAudioDevicePropertyVolumeDecibelsToScalarTransferFunction uint32
const ( KAudioDevicePropertyDriverShouldOwniSub KAudioDevicePropertyVolumeDecibelsToScalarTransferFunction = 'i'<<24 | 's'<<16 | 'u'<<8 | 'b' // 'isub' KAudioDevicePropertyPlayThruVolumeDecibelsToScalarTransferFunction KAudioDevicePropertyVolumeDecibelsToScalarTransferFunction = 'm'<<24 | 'v'<<16 | 't'<<8 | 'f' // 'mvtf' KAudioDevicePropertySubVolumeDecibelsToScalarTransferFunction KAudioDevicePropertyVolumeDecibelsToScalarTransferFunction = 's'<<24 | 'v'<<16 | 't'<<8 | 'f' // 'svtf' KAudioDevicePropertyVolumeDecibelsToScalarTransferFunctionValue KAudioDevicePropertyVolumeDecibelsToScalarTransferFunction = 'v'<<24 | 'c'<<16 | 't'<<8 | 'f' // 'vctf' )
func (KAudioDevicePropertyVolumeDecibelsToScalarTransferFunction) String ¶ added in v0.6.17
func (e KAudioDevicePropertyVolumeDecibelsToScalarTransferFunction) String() string
type KAudioDevicePropertyZeroTimeStampPeriod ¶
type KAudioDevicePropertyZeroTimeStampPeriod uint
const ( KAudioDevicePropertyClockAlgorithm KAudioDevicePropertyZeroTimeStampPeriod = 0 KAudioDevicePropertyClockIsStable KAudioDevicePropertyZeroTimeStampPeriod = 0 KAudioDevicePropertyZeroTimeStampPeriodValue KAudioDevicePropertyZeroTimeStampPeriod = 0 )
func (KAudioDevicePropertyZeroTimeStampPeriod) String ¶ added in v0.6.17
func (e KAudioDevicePropertyZeroTimeStampPeriod) String() string
type KAudioDeviceStartTime ¶
type KAudioDeviceStartTime uint32
const ( KAudioDeviceStartTimeDontConsultDeviceFlag KAudioDeviceStartTime = 2 KAudioDeviceStartTimeDontConsultHALFlag KAudioDeviceStartTime = 4 KAudioDeviceStartTimeIsInputFlag KAudioDeviceStartTime = 1 )
func (KAudioDeviceStartTime) String ¶
func (e KAudioDeviceStartTime) String() string
type KAudioDeviceTransportType ¶
type KAudioDeviceTransportType uint32
const ( KAudioDeviceTransportTypeAVB KAudioDeviceTransportType = 'e'<<24 | 'a'<<16 | 'v'<<8 | 'b' // 'eavb' KAudioDeviceTransportTypeAggregate KAudioDeviceTransportType = 'g'<<24 | 'r'<<16 | 'u'<<8 | 'p' // 'grup' KAudioDeviceTransportTypeAirPlay KAudioDeviceTransportType = 'a'<<24 | 'i'<<16 | 'r'<<8 | 'p' // 'airp' KAudioDeviceTransportTypeBluetooth KAudioDeviceTransportType = 'b'<<24 | 'l'<<16 | 'u'<<8 | 'e' // 'blue' KAudioDeviceTransportTypeBluetoothLE KAudioDeviceTransportType = 'b'<<24 | 'l'<<16 | 'e'<<8 | 'a' // 'blea' KAudioDeviceTransportTypeBuiltIn KAudioDeviceTransportType = 'b'<<24 | 'l'<<16 | 't'<<8 | 'n' // 'bltn' KAudioDeviceTransportTypeContinuityCaptureWired KAudioDeviceTransportType = 'c'<<24 | 'c'<<16 | 'w'<<8 | 'd' // 'ccwd' KAudioDeviceTransportTypeContinuityCaptureWireless KAudioDeviceTransportType = 'c'<<24 | 'c'<<16 | 'w'<<8 | 'l' // 'ccwl' KAudioDeviceTransportTypeDisplayPort KAudioDeviceTransportType = 'd'<<24 | 'p'<<16 | 'r'<<8 | 't' // 'dprt' KAudioDeviceTransportTypeFireWire KAudioDeviceTransportType = '1'<<24 | '3'<<16 | '9'<<8 | '4' // '1394' KAudioDeviceTransportTypeHDMI KAudioDeviceTransportType = 'h'<<24 | 'd'<<16 | 'm'<<8 | 'i' // 'hdmi' KAudioDeviceTransportTypePCI KAudioDeviceTransportType = 'p'<<24 | 'c'<<16 | 'i'<<8 | ' ' // 'pci ' KAudioDeviceTransportTypeThunderbolt KAudioDeviceTransportType = 't'<<24 | 'h'<<16 | 'u'<<8 | 'n' // 'thun' KAudioDeviceTransportTypeUSB KAudioDeviceTransportType = 'u'<<24 | 's'<<16 | 'b'<<8 | ' ' // 'usb ' KAudioDeviceTransportTypeUnknown KAudioDeviceTransportType = 0 KAudioDeviceTransportTypeVirtual KAudioDeviceTransportType = 'v'<<24 | 'i'<<16 | 'r'<<8 | 't' // 'virt' // Deprecated. KAudioDeviceTransportTypeContinuityCapture KAudioDeviceTransportType = 'c'<<24 | 'c'<<16 | 'a'<<8 | 'p' // 'ccap' )
func (KAudioDeviceTransportType) String ¶
func (e KAudioDeviceTransportType) String() string
type KAudioDeviceTransportTypeAuto ¶
type KAudioDeviceTransportTypeAuto uint32
const (
KAudioDeviceTransportTypeAutoAggregate KAudioDeviceTransportTypeAuto = 'f'<<24 | 'g'<<16 | 'r'<<8 | 'p' // 'fgrp'
)
func (KAudioDeviceTransportTypeAuto) String ¶
func (e KAudioDeviceTransportTypeAuto) String() string
type KAudioEndPointClassI ¶
type KAudioEndPointClassI uint32
const (
KAudioEndPointClassID KAudioEndPointClassI = 'e'<<24 | 'n'<<16 | 'd'<<8 | 'p' // 'endp'
)
func (KAudioEndPointClassI) String ¶
func (e KAudioEndPointClassI) String() string
type KAudioEndPointDeviceClassI ¶
type KAudioEndPointDeviceClassI uint32
const (
KAudioEndPointDeviceClassID KAudioEndPointDeviceClassI = 'e'<<24 | 'd'<<16 | 'e'<<8 | 'v' // 'edev'
)
func (KAudioEndPointDeviceClassI) String ¶
func (e KAudioEndPointDeviceClassI) String() string
type KAudioEndPointDeviceProperty ¶
type KAudioEndPointDeviceProperty uint32
const ( KAudioEndPointDevicePropertyComposition KAudioEndPointDeviceProperty = 'a'<<24 | 'c'<<16 | 'o'<<8 | 'm' // 'acom' KAudioEndPointDevicePropertyEndPointList KAudioEndPointDeviceProperty = 'a'<<24 | 'g'<<16 | 'r'<<8 | 'p' // 'agrp' KAudioEndPointDevicePropertyIsPrivate KAudioEndPointDeviceProperty = 'p'<<24 | 'r'<<16 | 'i'<<8 | 'v' // 'priv' )
func (KAudioEndPointDeviceProperty) String ¶
func (e KAudioEndPointDeviceProperty) String() string
type KAudioHardwareNoError ¶
type KAudioHardwareNoError int32
const ( KAudioDevicePermissionsError KAudioHardwareNoError = '!'<<24 | 'h'<<16 | 'o'<<8 | 'g' // '!hog' KAudioDeviceUnsupportedFormatError KAudioHardwareNoError = '!'<<24 | 'd'<<16 | 'a'<<8 | 't' // '!dat' KAudioHardwareBadDeviceError KAudioHardwareNoError = '!'<<24 | 'd'<<16 | 'e'<<8 | 'v' // '!dev' KAudioHardwareBadObjectError KAudioHardwareNoError = '!'<<24 | 'o'<<16 | 'b'<<8 | 'j' // '!obj' KAudioHardwareBadPropertySizeError KAudioHardwareNoError = '!'<<24 | 's'<<16 | 'i'<<8 | 'z' // '!siz' KAudioHardwareBadStreamError KAudioHardwareNoError = '!'<<24 | 's'<<16 | 't'<<8 | 'r' // '!str' KAudioHardwareIllegalOperationError KAudioHardwareNoError = 'n'<<24 | 'o'<<16 | 'p'<<8 | 'e' // 'nope' KAudioHardwareNoErrorValue KAudioHardwareNoError = 0 KAudioHardwareNotReadyError KAudioHardwareNoError = 'n'<<24 | 'r'<<16 | 'd'<<8 | 'y' // 'nrdy' KAudioHardwareNotRunningError KAudioHardwareNoError = 's'<<24 | 't'<<16 | 'o'<<8 | 'p' // 'stop' KAudioHardwareUnknownPropertyError KAudioHardwareNoError = 'w'<<24 | 'h'<<16 | 'o'<<8 | '?' // 'who?' KAudioHardwareUnspecifiedError KAudioHardwareNoError = 'w'<<24 | 'h'<<16 | 'a'<<8 | 't' // 'what' KAudioHardwareUnsupportedOperationError KAudioHardwareNoError = 'u'<<24 | 'n'<<16 | 'o'<<8 | 'p' // 'unop' )
func (KAudioHardwareNoError) String ¶ added in v0.6.17
func (e KAudioHardwareNoError) String() string
type KAudioHardwarePropertyBootChimeVolume ¶
type KAudioHardwarePropertyBootChimeVolume uint32
const ( KAudioHardwarePropertyBootChimeVolumeDecibels KAudioHardwarePropertyBootChimeVolume = 'b'<<24 | 'b'<<16 | 'v'<<8 | 'd' // 'bbvd' KAudioHardwarePropertyBootChimeVolumeDecibelsToScalar KAudioHardwarePropertyBootChimeVolume = 'b'<<24 | 'd'<<16 | '2'<<8 | 'v' // 'bd2v' KAudioHardwarePropertyBootChimeVolumeDecibelsToScalarTransferFunction KAudioHardwarePropertyBootChimeVolume = 'b'<<24 | 'v'<<16 | 't'<<8 | 'f' // 'bvtf' KAudioHardwarePropertyBootChimeVolumeRangeDecibels KAudioHardwarePropertyBootChimeVolume = 'b'<<24 | 'b'<<16 | 'd'<<8 | '#' // 'bbd#' KAudioHardwarePropertyBootChimeVolumeScalar KAudioHardwarePropertyBootChimeVolume = 'b'<<24 | 'b'<<16 | 'v'<<8 | 's' // 'bbvs' KAudioHardwarePropertyBootChimeVolumeScalarToDecibels KAudioHardwarePropertyBootChimeVolume = 'b'<<24 | 'v'<<16 | '2'<<8 | 'd' // 'bv2d' )
func (KAudioHardwarePropertyBootChimeVolume) String ¶
func (e KAudioHardwarePropertyBootChimeVolume) String() string
type KAudioHardwarePropertyDevices ¶
type KAudioHardwarePropertyDevices uint32
const ( KAudioHardwarePropertyBoxList KAudioHardwarePropertyDevices = 'b'<<24 | 'o'<<16 | 'x'<<8 | '#' // 'box#' KAudioHardwarePropertyClockDeviceList KAudioHardwarePropertyDevices = 'c'<<24 | 'l'<<16 | 'k'<<8 | '#' // 'clk#' KAudioHardwarePropertyDefaultInputDevice KAudioHardwarePropertyDevices = 'd'<<24 | 'I'<<16 | 'n'<<8 | ' ' // 'dIn ' KAudioHardwarePropertyDefaultOutputDevice KAudioHardwarePropertyDevices = 'd'<<24 | 'O'<<16 | 'u'<<8 | 't' // 'dOut' KAudioHardwarePropertyDefaultSystemOutputDevice KAudioHardwarePropertyDevices = 's'<<24 | 'O'<<16 | 'u'<<8 | 't' // 'sOut' KAudioHardwarePropertyDevicesValue KAudioHardwarePropertyDevices = 'd'<<24 | 'e'<<16 | 'v'<<8 | '#' // 'dev#' KAudioHardwarePropertyHogModeIsAllowed KAudioHardwarePropertyDevices = 'h'<<24 | 'o'<<16 | 'g'<<8 | 'r' // 'hogr' KAudioHardwarePropertyIsInitingOrExiting KAudioHardwarePropertyDevices = 'i'<<24 | 'n'<<16 | 'o'<<8 | 't' // 'inot' KAudioHardwarePropertyMixStereoToMono KAudioHardwarePropertyDevices = 's'<<24 | 't'<<16 | 'm'<<8 | 'o' // 'stmo' KAudioHardwarePropertyPlugInList KAudioHardwarePropertyDevices = 'p'<<24 | 'l'<<16 | 'g'<<8 | '#' // 'plg#' KAudioHardwarePropertyPowerHint KAudioHardwarePropertyDevices = 'p'<<24 | 'o'<<16 | 'w'<<8 | 'h' // 'powh' KAudioHardwarePropertyProcessInputMute KAudioHardwarePropertyDevices = 'p'<<24 | 'm'<<16 | 'i'<<8 | 'n' // 'pmin' KAudioHardwarePropertyProcessIsAudible KAudioHardwarePropertyDevices = 'p'<<24 | 'm'<<16 | 'u'<<8 | 't' // 'pmut' KAudioHardwarePropertyProcessIsMain KAudioHardwarePropertyDevices = 'm'<<24 | 'a'<<16 | 'i'<<8 | 'n' // 'main' KAudioHardwarePropertyProcessObjectList KAudioHardwarePropertyDevices = 'p'<<24 | 'r'<<16 | 's'<<8 | '#' // 'prs#' KAudioHardwarePropertyServiceRestarted KAudioHardwarePropertyDevices = 's'<<24 | 'r'<<16 | 's'<<8 | 't' // 'srst' KAudioHardwarePropertySleepingIsAllowed KAudioHardwarePropertyDevices = 's'<<24 | 'l'<<16 | 'e'<<8 | 'p' // 'slep' KAudioHardwarePropertyTapList KAudioHardwarePropertyDevices = 't'<<24 | 'p'<<16 | 's'<<8 | '#' // 'tps#' KAudioHardwarePropertyTranslateBundleIDToPlugIn KAudioHardwarePropertyDevices = 'b'<<24 | 'i'<<16 | 'd'<<8 | 'p' // 'bidp' KAudioHardwarePropertyTranslateBundleIDToTransportManager KAudioHardwarePropertyDevices = 't'<<24 | 'm'<<16 | 'b'<<8 | 'i' // 'tmbi' KAudioHardwarePropertyTranslatePIDToProcessObject KAudioHardwarePropertyDevices = 'i'<<24 | 'd'<<16 | '2'<<8 | 'p' // 'id2p' KAudioHardwarePropertyTranslateUIDToBox KAudioHardwarePropertyDevices = 'u'<<24 | 'i'<<16 | 'd'<<8 | 'b' // 'uidb' KAudioHardwarePropertyTranslateUIDToClockDevice KAudioHardwarePropertyDevices = 'u'<<24 | 'i'<<16 | 'd'<<8 | 'c' // 'uidc' KAudioHardwarePropertyTranslateUIDToDevice KAudioHardwarePropertyDevices = 'u'<<24 | 'i'<<16 | 'd'<<8 | 'd' // 'uidd' KAudioHardwarePropertyTranslateUIDToTap KAudioHardwarePropertyDevices = 'u'<<24 | 'i'<<16 | 'd'<<8 | 't' // 'uidt' KAudioHardwarePropertyTransportManagerList KAudioHardwarePropertyDevices = 't'<<24 | 'm'<<16 | 'g'<<8 | '#' // 'tmg#' KAudioHardwarePropertyUnloadingIsAllowed KAudioHardwarePropertyDevices = 'u'<<24 | 'n'<<16 | 'l'<<8 | 'd' // 'unld' KAudioHardwarePropertyUserIDChanged KAudioHardwarePropertyDevices = 'e'<<24 | 'u'<<16 | 'i'<<8 | 'd' // 'euid' KAudioHardwarePropertyUserSessionIsActiveOrHeadless KAudioHardwarePropertyDevices = 'u'<<24 | 's'<<16 | 'e'<<8 | 'r' // 'user' )
func (KAudioHardwarePropertyDevices) String ¶ added in v0.6.17
func (e KAudioHardwarePropertyDevices) String() string
type KAudioHardwarePropertyRunLoop ¶
type KAudioHardwarePropertyRunLoop uint32
const ( KAudioHardwarePropertyDeviceForUID KAudioHardwarePropertyRunLoop = 'd'<<24 | 'u'<<16 | 'i'<<8 | 'd' // 'duid' KAudioHardwarePropertyPlugInForBundleID KAudioHardwarePropertyRunLoop = 'p'<<24 | 'i'<<16 | 'b'<<8 | 'i' // 'pibi' KAudioHardwarePropertyRunLoopValue KAudioHardwarePropertyRunLoop = 'r'<<24 | 'n'<<16 | 'l'<<8 | 'p' // 'rnlp' // Deprecated: use kAudioHardwarePropertyProcessIsMain. KAudioHardwarePropertyProcessIsMaster KAudioHardwarePropertyRunLoop = 'm'<<24 | 'a'<<16 | 's'<<8 | 't' // 'mast' )
func (KAudioHardwarePropertyRunLoop) String ¶ added in v0.6.17
func (e KAudioHardwarePropertyRunLoop) String() string
type KAudioISubOwnerControlClassI ¶
type KAudioISubOwnerControlClassI uint32
const (
KAudioISubOwnerControlClassID KAudioISubOwnerControlClassI = 'a'<<24 | 't'<<16 | 'c'<<8 | 'h' // 'atch'
)
func (KAudioISubOwnerControlClassI) String ¶
func (e KAudioISubOwnerControlClassI) String() string
type KAudioLevelControlClassID ¶
type KAudioLevelControlClassID uint32
const ( KAudioLFEVolumeControlClassID KAudioLevelControlClassID = 's'<<24 | 'u'<<16 | 'b'<<8 | 'v' // 'subv' KAudioLevelControlClassIDValue KAudioLevelControlClassID = 'l'<<24 | 'e'<<16 | 'v'<<8 | 'l' // 'levl' KAudioVolumeControlClassID KAudioLevelControlClassID = 'v'<<24 | 'l'<<16 | 'm'<<8 | 'e' // 'vlme' )
func (KAudioLevelControlClassID) String ¶ added in v0.6.17
func (e KAudioLevelControlClassID) String() string
type KAudioLevelControlProperty ¶
type KAudioLevelControlProperty uint32
const ( KAudioLevelControlPropertyConvertDecibelsToScalar KAudioLevelControlProperty = 'l'<<24 | 'c'<<16 | 'd'<<8 | 's' // 'lcds' KAudioLevelControlPropertyConvertScalarToDecibels KAudioLevelControlProperty = 'l'<<24 | 'c'<<16 | 's'<<8 | 'd' // 'lcsd' KAudioLevelControlPropertyDecibelRange KAudioLevelControlProperty = 'l'<<24 | 'c'<<16 | 'd'<<8 | 'r' // 'lcdr' KAudioLevelControlPropertyDecibelValue KAudioLevelControlProperty = 'l'<<24 | 'c'<<16 | 'd'<<8 | 'v' // 'lcdv' KAudioLevelControlPropertyScalarValue KAudioLevelControlProperty = 'l'<<24 | 'c'<<16 | 's'<<8 | 'v' // 'lcsv' )
func (KAudioLevelControlProperty) String ¶
func (e KAudioLevelControlProperty) String() string
type KAudioLevelControlPropertyDecibelsToScalarTransfer ¶
type KAudioLevelControlPropertyDecibelsToScalarTransfer uint32
const (
KAudioLevelControlPropertyDecibelsToScalarTransferFunction KAudioLevelControlPropertyDecibelsToScalarTransfer = 'l'<<24 | 'c'<<16 | 't'<<8 | 'f' // 'lctf'
)
func (KAudioLevelControlPropertyDecibelsToScalarTransfer) String ¶
func (e KAudioLevelControlPropertyDecibelsToScalarTransfer) String() string
type KAudioObject ¶
type KAudioObject uint32
const (
KAudioObjectUnknown KAudioObject = 0
)
func (KAudioObject) String ¶
func (e KAudioObject) String() string
type KAudioObjectClassI ¶
type KAudioObjectClassI uint32
const (
KAudioObjectClassIDValue KAudioObjectClassI = 'a'<<24 | 'o'<<16 | 'b'<<8 | 'j' // 'aobj'
)
func (KAudioObjectClassI) String ¶
func (e KAudioObjectClassI) String() string
type KAudioObjectClassID ¶
type KAudioObjectClassID uint32
const (
KAudioObjectClassIDWildcard KAudioObjectClassID = '*'<<24 | '*'<<16 | '*'<<8 | '*' // '****'
)
func (KAudioObjectClassID) String ¶ added in v0.5.1
func (e KAudioObjectClassID) String() string
type KAudioObjectPlugIn ¶
type KAudioObjectPlugIn uint
const (
KAudioObjectPlugInObject KAudioObjectPlugIn = 0
)
func (KAudioObjectPlugIn) String ¶
func (e KAudioObjectPlugIn) String() string
type KAudioObjectPropertyBaseClass ¶
type KAudioObjectPropertyBaseClass uint32
const ( KAudioObjectPropertyBaseClassValue KAudioObjectPropertyBaseClass = 'b'<<24 | 'c'<<16 | 'l'<<8 | 's' // 'bcls' KAudioObjectPropertyClass KAudioObjectPropertyBaseClass = 'c'<<24 | 'l'<<16 | 'a'<<8 | 's' // 'clas' KAudioObjectPropertyElementCategoryName KAudioObjectPropertyBaseClass = 'l'<<24 | 'c'<<16 | 'c'<<8 | 'n' // 'lccn' KAudioObjectPropertyElementName KAudioObjectPropertyBaseClass = 'l'<<24 | 'c'<<16 | 'h'<<8 | 'n' // 'lchn' KAudioObjectPropertyElementNumberName KAudioObjectPropertyBaseClass = 'l'<<24 | 'c'<<16 | 'n'<<8 | 'n' // 'lcnn' KAudioObjectPropertyFirmwareVersion KAudioObjectPropertyBaseClass = 'f'<<24 | 'w'<<16 | 'v'<<8 | 'n' // 'fwvn' KAudioObjectPropertyIdentify KAudioObjectPropertyBaseClass = 'i'<<24 | 'd'<<16 | 'e'<<8 | 'n' // 'iden' KAudioObjectPropertyManufacturer KAudioObjectPropertyBaseClass = 'l'<<24 | 'm'<<16 | 'a'<<8 | 'k' // 'lmak' KAudioObjectPropertyModelName KAudioObjectPropertyBaseClass = 'l'<<24 | 'm'<<16 | 'o'<<8 | 'd' // 'lmod' KAudioObjectPropertyName KAudioObjectPropertyBaseClass = 'l'<<24 | 'n'<<16 | 'a'<<8 | 'm' // 'lnam' KAudioObjectPropertyOwnedObjects KAudioObjectPropertyBaseClass = 'o'<<24 | 'w'<<16 | 'n'<<8 | 'd' // 'ownd' KAudioObjectPropertyOwner KAudioObjectPropertyBaseClass = 's'<<24 | 't'<<16 | 'd'<<8 | 'v' // 'stdv' KAudioObjectPropertySerialNumber KAudioObjectPropertyBaseClass = 's'<<24 | 'n'<<16 | 'u'<<8 | 'm' // 'snum' )
func (KAudioObjectPropertyBaseClass) String ¶ added in v0.6.17
func (e KAudioObjectPropertyBaseClass) String() string
type KAudioObjectPropertyCreator ¶
type KAudioObjectPropertyCreator uint32
const ( KAudioObjectPropertyCreatorValue KAudioObjectPropertyCreator = 'o'<<24 | 'p'<<16 | 'l'<<8 | 'g' // 'oplg' KAudioObjectPropertyListenerAdded KAudioObjectPropertyCreator = 'l'<<24 | 'i'<<16 | 's'<<8 | 'a' // 'lisa' KAudioObjectPropertyListenerRemoved KAudioObjectPropertyCreator = 'l'<<24 | 'i'<<16 | 's'<<8 | 'r' // 'lisr' )
func (KAudioObjectPropertyCreator) String ¶ added in v0.6.17
func (e KAudioObjectPropertyCreator) String() string
type KAudioObjectPropertyCustomPropertyInfo ¶
type KAudioObjectPropertyCustomPropertyInfo uint
const (
KAudioObjectPropertyCustomPropertyInfoList KAudioObjectPropertyCustomPropertyInfo = 0
)
func (KAudioObjectPropertyCustomPropertyInfo) String ¶
func (e KAudioObjectPropertyCustomPropertyInfo) String() string
type KAudioObjectPropertyElement ¶
type KAudioObjectPropertyElement uint32
const (
KAudioObjectPropertyElementWildcard KAudioObjectPropertyElement = 0xffffffff
)
func (KAudioObjectPropertyElement) String ¶
func (e KAudioObjectPropertyElement) String() string
type KAudioObjectPropertyScope ¶
type KAudioObjectPropertyScope uint32
const (
KAudioObjectPropertyScopeWildcard KAudioObjectPropertyScope = '*'<<24 | '*'<<16 | '*'<<8 | '*' // '****'
)
func (KAudioObjectPropertyScope) String ¶
func (e KAudioObjectPropertyScope) String() string
type KAudioObjectPropertyScopeGlobal ¶
type KAudioObjectPropertyScopeGlobal uint32
const ( KAudioObjectPropertyElementMain KAudioObjectPropertyScopeGlobal = 0 KAudioObjectPropertyScopeGlobalValue KAudioObjectPropertyScopeGlobal = 'g'<<24 | 'l'<<16 | 'o'<<8 | 'b' // 'glob' KAudioObjectPropertyScopeInput KAudioObjectPropertyScopeGlobal = 'i'<<24 | 'n'<<16 | 'p'<<8 | 't' // 'inpt' KAudioObjectPropertyScopeOutput KAudioObjectPropertyScopeGlobal = 'o'<<24 | 'u'<<16 | 't'<<8 | 'p' // 'outp' KAudioObjectPropertyScopePlayThrough KAudioObjectPropertyScopeGlobal = 'p'<<24 | 't'<<16 | 'r'<<8 | 'u' // 'ptru' // Deprecated: use KAudioObjectPropertyElementMain. KAudioObjectPropertyElementMaster KAudioObjectPropertyScopeGlobal = 0 )
func (KAudioObjectPropertyScopeGlobal) String ¶ added in v0.6.17
func (e KAudioObjectPropertyScopeGlobal) String() string
type KAudioObjectPropertySelector ¶
type KAudioObjectPropertySelector uint32
const (
KAudioObjectPropertySelectorWildcard KAudioObjectPropertySelector = '*'<<24 | '*'<<16 | '*'<<8 | '*' // '****'
)
func (KAudioObjectPropertySelector) String ¶
func (e KAudioObjectPropertySelector) String() string
type KAudioObjectSystem ¶
type KAudioObjectSystem int32
const (
KAudioObjectSystemObject KAudioObjectSystem = 1
)
func (KAudioObjectSystem) String ¶
func (e KAudioObjectSystem) String() string
type KAudioPlugIn ¶
type KAudioPlugIn uint32
const ( KAudioPlugInCreateAggregateDevice KAudioPlugIn = 'c'<<24 | 'a'<<16 | 'g'<<8 | 'g' // 'cagg' KAudioPlugInDestroyAggregateDevice KAudioPlugIn = 'd'<<24 | 'a'<<16 | 'g'<<8 | 'g' // 'dagg' )
func (KAudioPlugIn) String ¶
func (e KAudioPlugIn) String() string
type KAudioPlugInClassI ¶
type KAudioPlugInClassI uint32
const (
KAudioPlugInClassID KAudioPlugInClassI = 'a'<<24 | 'p'<<16 | 'l'<<8 | 'g' // 'aplg'
)
func (KAudioPlugInClassI) String ¶
func (e KAudioPlugInClassI) String() string
type KAudioPlugInProperty ¶
type KAudioPlugInProperty uint32
const ( KAudioPlugInPropertyBoxList KAudioPlugInProperty = 'b'<<24 | 'o'<<16 | 'x'<<8 | '#' // 'box#' KAudioPlugInPropertyBundleID KAudioPlugInProperty = 'p'<<24 | 'i'<<16 | 'i'<<8 | 'd' // 'piid' KAudioPlugInPropertyClockDeviceList KAudioPlugInProperty = 'c'<<24 | 'l'<<16 | 'k'<<8 | '#' // 'clk#' KAudioPlugInPropertyDeviceList KAudioPlugInProperty = 'd'<<24 | 'e'<<16 | 'v'<<8 | '#' // 'dev#' KAudioPlugInPropertyTranslateUIDToBox KAudioPlugInProperty = 'u'<<24 | 'i'<<16 | 'd'<<8 | 'b' // 'uidb' KAudioPlugInPropertyTranslateUIDToClockDevice KAudioPlugInProperty = 'u'<<24 | 'i'<<16 | 'd'<<8 | 'c' // 'uidc' KAudioPlugInPropertyTranslateUIDToDevice KAudioPlugInProperty = 'u'<<24 | 'i'<<16 | 'd'<<8 | 'd' // 'uidd' )
func (KAudioPlugInProperty) String ¶
func (e KAudioPlugInProperty) String() string
type KAudioPlugInPropertyResource ¶
type KAudioPlugInPropertyResource uint
const (
KAudioPlugInPropertyResourceBundle KAudioPlugInPropertyResource = 0
)
func (KAudioPlugInPropertyResource) String ¶
func (e KAudioPlugInPropertyResource) String() string
type KAudioProcessClassI ¶
type KAudioProcessClassI uint32
const (
KAudioProcessClassID KAudioProcessClassI = 'c'<<24 | 'l'<<16 | 'n'<<8 | 't' // 'clnt'
)
func (KAudioProcessClassI) String ¶
func (e KAudioProcessClassI) String() string
type KAudioProcessProperty ¶
type KAudioProcessProperty uint32
const ( KAudioProcessPropertyBundleID KAudioProcessProperty = 'p'<<24 | 'b'<<16 | 'i'<<8 | 'd' // 'pbid' KAudioProcessPropertyDevices KAudioProcessProperty = 'p'<<24 | 'd'<<16 | 'v'<<8 | '#' // 'pdv#' KAudioProcessPropertyIsRunning KAudioProcessProperty = 'p'<<24 | 'i'<<16 | 'r'<<8 | '?' // 'pir?' KAudioProcessPropertyIsRunningInput KAudioProcessProperty = 'p'<<24 | 'i'<<16 | 'r'<<8 | 'i' // 'piri' KAudioProcessPropertyIsRunningOutput KAudioProcessProperty = 'p'<<24 | 'i'<<16 | 'r'<<8 | 'o' // 'piro' KAudioProcessPropertyPID KAudioProcessProperty = 'p'<<24 | 'p'<<16 | 'i'<<8 | 'd' // 'ppid' )
func (KAudioProcessProperty) String ¶
func (e KAudioProcessProperty) String() string
type KAudioPropertyWildcardPropertyI ¶
type KAudioPropertyWildcardPropertyI uint32
const (
KAudioPropertyWildcardPropertyID KAudioPropertyWildcardPropertyI = '*'<<24 | '*'<<16 | '*'<<8 | '*' // '****'
)
func (KAudioPropertyWildcardPropertyI) String ¶
func (e KAudioPropertyWildcardPropertyI) String() string
type KAudioSelectorControlClassID ¶
type KAudioSelectorControlClassID uint32
const ( KAudioClockSourceControlClassID KAudioSelectorControlClassID = 'c'<<24 | 'l'<<16 | 'c'<<8 | 'k' // 'clck' KAudioDataDestinationControlClassID KAudioSelectorControlClassID = 'd'<<24 | 'e'<<16 | 's'<<8 | 't' // 'dest' KAudioDataSourceControlClassID KAudioSelectorControlClassID = 'd'<<24 | 's'<<16 | 'r'<<8 | 'c' // 'dsrc' KAudioHighPassFilterControlClassID KAudioSelectorControlClassID = 'h'<<24 | 'i'<<16 | 'p'<<8 | 'f' // 'hipf' KAudioLineLevelControlClassID KAudioSelectorControlClassID = 'n'<<24 | 'l'<<16 | 'v'<<8 | 'l' // 'nlvl' KAudioSelectorControlClassIDValue KAudioSelectorControlClassID = 's'<<24 | 'l'<<16 | 'c'<<8 | 't' // 'slct' )
func (KAudioSelectorControlClassID) String ¶ added in v0.6.17
func (e KAudioSelectorControlClassID) String() string
type KAudioSelectorControlItemKind ¶
type KAudioSelectorControlItemKind uint32
const (
KAudioSelectorControlItemKindSpacer KAudioSelectorControlItemKind = 's'<<24 | 'p'<<16 | 'c'<<8 | 'r' // 'spcr'
)
func (KAudioSelectorControlItemKind) String ¶
func (e KAudioSelectorControlItemKind) String() string
type KAudioSelectorControlProperty ¶
type KAudioSelectorControlProperty uint32
const ( KAudioSelectorControlPropertyAvailableItems KAudioSelectorControlProperty = 's'<<24 | 'c'<<16 | 'a'<<8 | 'i' // 'scai' KAudioSelectorControlPropertyCurrentItem KAudioSelectorControlProperty = 's'<<24 | 'c'<<16 | 'c'<<8 | 'i' // 'scci' KAudioSelectorControlPropertyItemKind KAudioSelectorControlProperty = 'c'<<24 | 'l'<<16 | 'k'<<8 | 'k' // 'clkk' KAudioSelectorControlPropertyItemName KAudioSelectorControlProperty = 's'<<24 | 'c'<<16 | 'i'<<8 | 'n' // 'scin' )
func (KAudioSelectorControlProperty) String ¶
func (e KAudioSelectorControlProperty) String() string
type KAudioServerPlugInCustomPropertyDataType ¶
type KAudioServerPlugInCustomPropertyDataType uint
const ( KAudioServerPlugInCustomPropertyDataTypeCFPropertyList KAudioServerPlugInCustomPropertyDataType = 0 KAudioServerPlugInCustomPropertyDataTypeCFString KAudioServerPlugInCustomPropertyDataType = 0 KAudioServerPlugInCustomPropertyDataTypeNone KAudioServerPlugInCustomPropertyDataType = 0 )
func (KAudioServerPlugInCustomPropertyDataType) String ¶
func (e KAudioServerPlugInCustomPropertyDataType) String() string
type KAudioServerPlugInHostClientI ¶
type KAudioServerPlugInHostClientI uint
const (
KAudioServerPlugInHostClientID KAudioServerPlugInHostClientI = 0
)
func (KAudioServerPlugInHostClientI) String ¶
func (e KAudioServerPlugInHostClientI) String() string
type KAudioSliderControlClassI ¶
type KAudioSliderControlClassI uint32
const (
KAudioSliderControlClassID KAudioSliderControlClassI = 's'<<24 | 'l'<<16 | 'd'<<8 | 'r' // 'sldr'
)
func (KAudioSliderControlClassI) String ¶
func (e KAudioSliderControlClassI) String() string
type KAudioSliderControlProperty ¶
type KAudioSliderControlProperty uint32
const ( KAudioSliderControlPropertyRange KAudioSliderControlProperty = 's'<<24 | 'd'<<16 | 'r'<<8 | 'r' // 'sdrr' KAudioSliderControlPropertyValue KAudioSliderControlProperty = 's'<<24 | 'd'<<16 | 'r'<<8 | 'v' // 'sdrv' )
func (KAudioSliderControlProperty) String ¶
func (e KAudioSliderControlProperty) String() string
type KAudioStereoPanControlClassI ¶
type KAudioStereoPanControlClassI uint32
const (
KAudioStereoPanControlClassID KAudioStereoPanControlClassI = 's'<<24 | 'p'<<16 | 'a'<<8 | 'n' // 'span'
)
func (KAudioStereoPanControlClassI) String ¶
func (e KAudioStereoPanControlClassI) String() string
type KAudioStereoPanControlProperty ¶
type KAudioStereoPanControlProperty uint32
const ( KAudioStereoPanControlPropertyPanningChannels KAudioStereoPanControlProperty = 's'<<24 | 'p'<<16 | 'c'<<8 | 'c' // 'spcc' KAudioStereoPanControlPropertyValue KAudioStereoPanControlProperty = 's'<<24 | 'p'<<16 | 'c'<<8 | 'v' // 'spcv' )
func (KAudioStereoPanControlProperty) String ¶
func (e KAudioStereoPanControlProperty) String() string
type KAudioStream ¶
type KAudioStream uint32
const (
KAudioStreamUnknown KAudioStream = 0
)
func (KAudioStream) String ¶
func (e KAudioStream) String() string
type KAudioStreamClassI ¶
type KAudioStreamClassI uint32
const (
KAudioStreamClassID KAudioStreamClassI = 'a'<<24 | 's'<<16 | 't'<<8 | 'r' // 'astr'
)
func (KAudioStreamClassI) String ¶
func (e KAudioStreamClassI) String() string
type KAudioStreamPropertyIsActive ¶
type KAudioStreamPropertyIsActive uint32
const ( KAudioStreamPropertyAvailablePhysicalFormats KAudioStreamPropertyIsActive = 'p'<<24 | 'f'<<16 | 't'<<8 | 'a' // 'pfta' KAudioStreamPropertyAvailableVirtualFormats KAudioStreamPropertyIsActive = 's'<<24 | 'f'<<16 | 'm'<<8 | 'a' // 'sfma' KAudioStreamPropertyDirection KAudioStreamPropertyIsActive = 's'<<24 | 'd'<<16 | 'i'<<8 | 'r' // 'sdir' KAudioStreamPropertyIsActiveValue KAudioStreamPropertyIsActive = 's'<<24 | 'a'<<16 | 'c'<<8 | 't' // 'sact' KAudioStreamPropertyLatency KAudioStreamPropertyIsActive = 'l'<<24 | 't'<<16 | 'n'<<8 | 'c' // 'ltnc' KAudioStreamPropertyPhysicalFormat KAudioStreamPropertyIsActive = 'p'<<24 | 'f'<<16 | 't'<<8 | ' ' // 'pft ' KAudioStreamPropertyStartingChannel KAudioStreamPropertyIsActive = 's'<<24 | 'c'<<16 | 'h'<<8 | 'n' // 'schn' KAudioStreamPropertyTerminalType KAudioStreamPropertyIsActive = 't'<<24 | 'e'<<16 | 'r'<<8 | 'm' // 'term' KAudioStreamPropertyVirtualFormat KAudioStreamPropertyIsActive = 's'<<24 | 'f'<<16 | 'm'<<8 | 't' // 'sfmt' )
func (KAudioStreamPropertyIsActive) String ¶ added in v0.6.17
func (e KAudioStreamPropertyIsActive) String() string
type KAudioStreamPropertyOwningDevice ¶
type KAudioStreamPropertyOwningDevice uint32
const ( KAudioStreamPropertyOwningDeviceValue KAudioStreamPropertyOwningDevice = 's'<<24 | 't'<<16 | 'd'<<8 | 'v' // 'stdv' KAudioStreamPropertyPhysicalFormatMatch KAudioStreamPropertyOwningDevice = 'p'<<24 | 'f'<<16 | 't'<<8 | 'm' // 'pftm' KAudioStreamPropertyPhysicalFormatSupported KAudioStreamPropertyOwningDevice = 'p'<<24 | 'f'<<16 | 't'<<8 | '?' // 'pft?' KAudioStreamPropertyPhysicalFormats KAudioStreamPropertyOwningDevice = 'p'<<24 | 'f'<<16 | 't'<<8 | '#' // 'pft#' )
func (KAudioStreamPropertyOwningDevice) String ¶ added in v0.6.17
func (e KAudioStreamPropertyOwningDevice) String() string
type KAudioStreamTerminalType ¶
type KAudioStreamTerminalType uint32
const ( KAudioStreamTerminalTypeDigitalAudioInterface KAudioStreamTerminalType = 's'<<24 | 'p'<<16 | 'd'<<8 | 'f' // 'spdf' KAudioStreamTerminalTypeDisplayPort KAudioStreamTerminalType = 'd'<<24 | 'p'<<16 | 'r'<<8 | 't' // 'dprt' KAudioStreamTerminalTypeHDMI KAudioStreamTerminalType = 'h'<<24 | 'd'<<16 | 'm'<<8 | 'i' // 'hdmi' KAudioStreamTerminalTypeHeadphones KAudioStreamTerminalType = 'h'<<24 | 'd'<<16 | 'p'<<8 | 'h' // 'hdph' KAudioStreamTerminalTypeHeadsetMicrophone KAudioStreamTerminalType = 'h'<<24 | 'm'<<16 | 'i'<<8 | 'c' // 'hmic' KAudioStreamTerminalTypeLFESpeaker KAudioStreamTerminalType = 'l'<<24 | 'f'<<16 | 'e'<<8 | 's' // 'lfes' KAudioStreamTerminalTypeLine KAudioStreamTerminalType = 'l'<<24 | 'i'<<16 | 'n'<<8 | 'e' // 'line' KAudioStreamTerminalTypeMicrophone KAudioStreamTerminalType = 'm'<<24 | 'i'<<16 | 'c'<<8 | 'r' // 'micr' KAudioStreamTerminalTypeReceiverMicrophone KAudioStreamTerminalType = 'r'<<24 | 'm'<<16 | 'i'<<8 | 'c' // 'rmic' KAudioStreamTerminalTypeReceiverSpeaker KAudioStreamTerminalType = 'r'<<24 | 's'<<16 | 'p'<<8 | 'k' // 'rspk' KAudioStreamTerminalTypeSpeaker KAudioStreamTerminalType = 's'<<24 | 'p'<<16 | 'k'<<8 | 'r' // 'spkr' KAudioStreamTerminalTypeTTY KAudioStreamTerminalType = 't'<<24 | 't'<<16 | 'y'<<8 | '_' // 'tty_' KAudioStreamTerminalTypeUnknown KAudioStreamTerminalType = 0 )
func (KAudioStreamTerminalType) String ¶
func (e KAudioStreamTerminalType) String() string
type KAudioSubDeviceClassI ¶
type KAudioSubDeviceClassI uint32
const (
KAudioSubDeviceClassID KAudioSubDeviceClassI = 'a'<<24 | 's'<<16 | 'u'<<8 | 'b' // 'asub'
)
func (KAudioSubDeviceClassI) String ¶
func (e KAudioSubDeviceClassI) String() string
type KAudioSubDeviceDriftCompensation ¶
type KAudioSubDeviceDriftCompensation uint32
const ( // Deprecated: use kAudioAggregateDriftCompensationHighQuality. KAudioSubDeviceDriftCompensationHighQuality KAudioSubDeviceDriftCompensation = 0x60 // Deprecated: use kAudioAggregateDriftCompensationLowQuality. KAudioSubDeviceDriftCompensationLowQuality KAudioSubDeviceDriftCompensation = 0x20 // Deprecated: use kAudioAggregateDriftCompensationMaxQuality. KAudioSubDeviceDriftCompensationMaxQuality KAudioSubDeviceDriftCompensation = 0x7f // Deprecated: use kAudioAggregateDriftCompensationMediumQuality. KAudioSubDeviceDriftCompensationMediumQuality KAudioSubDeviceDriftCompensation = 0x40 // Deprecated: use kAudioAggregateDriftCompensationMinQuality. KAudioSubDeviceDriftCompensationMinQuality KAudioSubDeviceDriftCompensation = 0 )
func (KAudioSubDeviceDriftCompensation) String ¶
func (e KAudioSubDeviceDriftCompensation) String() string
type KAudioSubDeviceProperty ¶
type KAudioSubDeviceProperty uint32
const ( KAudioSubDevicePropertyDriftCompensation KAudioSubDeviceProperty = 'd'<<24 | 'r'<<16 | 'f'<<8 | 't' // 'drft' KAudioSubDevicePropertyDriftCompensationQuality KAudioSubDeviceProperty = 'd'<<24 | 'r'<<16 | 'f'<<8 | 'q' // 'drfq' KAudioSubDevicePropertyExtraLatency KAudioSubDeviceProperty = 'x'<<24 | 'l'<<16 | 't'<<8 | 'c' // 'xltc' )
func (KAudioSubDeviceProperty) String ¶
func (e KAudioSubDeviceProperty) String() string
type KAudioSubTapClassI ¶
type KAudioSubTapClassI uint32
const (
KAudioSubTapClassID KAudioSubTapClassI = 's'<<24 | 't'<<16 | 'a'<<8 | 'p' // 'stap'
)
func (KAudioSubTapClassI) String ¶
func (e KAudioSubTapClassI) String() string
type KAudioSubTapProperty ¶
type KAudioSubTapProperty uint32
const ( KAudioSubTapPropertyDriftCompensation KAudioSubTapProperty = 'd'<<24 | 'r'<<16 | 'f'<<8 | 't' // 'drft' KAudioSubTapPropertyDriftCompensationQuality KAudioSubTapProperty = 'd'<<24 | 'r'<<16 | 'f'<<8 | 'q' // 'drfq' KAudioSubTapPropertyExtraLatency KAudioSubTapProperty = 'x'<<24 | 'l'<<16 | 't'<<8 | 'c' // 'xltc' )
func (KAudioSubTapProperty) String ¶
func (e KAudioSubTapProperty) String() string
type KAudioSystemObjectClassI ¶
type KAudioSystemObjectClassI uint32
const (
KAudioSystemObjectClassID KAudioSystemObjectClassI = 'a'<<24 | 's'<<16 | 'y'<<8 | 's' // 'asys'
)
func (KAudioSystemObjectClassI) String ¶
func (e KAudioSystemObjectClassI) String() string
type KAudioTapClassI ¶
type KAudioTapClassI uint32
const (
KAudioTapClassID KAudioTapClassI = 't'<<24 | 'c'<<16 | 'l'<<8 | 's' // 'tcls'
)
func (KAudioTapClassI) String ¶
func (e KAudioTapClassI) String() string
type KAudioTapProperty ¶
type KAudioTapProperty uint32
const ( KAudioTapPropertyDescription KAudioTapProperty = 't'<<24 | 'd'<<16 | 's'<<8 | 'c' // 'tdsc' KAudioTapPropertyFormat KAudioTapProperty = 't'<<24 | 'f'<<16 | 'm'<<8 | 't' // 'tfmt' KAudioTapPropertyUID KAudioTapProperty = 't'<<24 | 'u'<<16 | 'i'<<8 | 'd' // 'tuid' )
func (KAudioTapProperty) String ¶
func (e KAudioTapProperty) String() string
type KAudioTransportManager ¶
type KAudioTransportManager uint32
const ( KAudioTransportManagerCreateEndPointDevice KAudioTransportManager = 'c'<<24 | 'd'<<16 | 'e'<<8 | 'v' // 'cdev' KAudioTransportManagerDestroyEndPointDevice KAudioTransportManager = 'd'<<24 | 'd'<<16 | 'e'<<8 | 'v' // 'ddev' )
func (KAudioTransportManager) String ¶
func (e KAudioTransportManager) String() string
type KAudioTransportManagerClassI ¶
type KAudioTransportManagerClassI uint32
const (
KAudioTransportManagerClassID KAudioTransportManagerClassI = 't'<<24 | 'r'<<16 | 'p'<<8 | 'm' // 'trpm'
)
func (KAudioTransportManagerClassI) String ¶
func (e KAudioTransportManagerClassI) String() string
type KAudioTransportManagerProperty ¶
type KAudioTransportManagerProperty uint32
const ( KAudioTransportManagerPropertyEndPointList KAudioTransportManagerProperty = 'e'<<24 | 'n'<<16 | 'd'<<8 | '#' // 'end#' KAudioTransportManagerPropertyTranslateUIDToEndPoint KAudioTransportManagerProperty = 'u'<<24 | 'i'<<16 | 'd'<<8 | 'e' // 'uide' KAudioTransportManagerPropertyTransportType KAudioTransportManagerProperty = 't'<<24 | 'r'<<16 | 'a'<<8 | 'n' // 'tran' )
func (KAudioTransportManagerProperty) String ¶
func (e KAudioTransportManagerProperty) String() string