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 ¶
- AudioHardwareAggregateDevice: Instances of the AudioHardwareAggregateDevice class encapsulate a single audio aggregate device, which is a virtual device that combines the input and output streams of multiple real devices or taps.
- AudioHardwareBox: Instances of the AudioHardwareBox class encapsulate a single audio box, which is a container for other objects (typically device objects).
- AudioHardwareClock: Instances of the AudioHardwareClock class encapsulate individual audio clocks.
- AudioHardwareControl: Instances of the AudioHardwareControl class encapsulate a single audio control, which provides properties that describe/manipulate a particular aspect of the owning object such as gain, mute, data source selection, etc.
- AudioHardwareDevice: Instances of the AudioHardwareDevice class encapsulate individual audio devices.
- AudioHardwareObject: The audio HAL provides an abstraction through which applications can access audio hardware.
- AudioHardwarePlugin: Instances of the AudioHardwarePlugin class encapsulate a single audio HAL plugin, which is a CFBundle loaded by the HAL as a driver to implement device-specific properties and routines.
- AudioHardwareProcess: Instances of the AudioHardwareProcess class encapsulate a single audio process, which contains information about a client process connected to the HAL.
- AudioHardwareStream: Instances of the AudioHardwareStream class encapsulate a single audio stream, which represents a single buffer of data for transferring across the user/kernel boundary.
- AudioHardwareSystem: The audio objects in the HAL are arranged in a containment hierarchy.
- AudioHardwareTap: Instances of the AudioHardwareTap class encapsulate a single audio tap, which can capture outgoing audio from a process or group of processes, and be used as an input stream source in an aggregate device.
- CATapDescription
Protocols ¶
- PropertyListenerDelegate: A delegate protocol for receiving notifications when properties registered with AudioHardwareObject.addPropertyListener change.
Variables ¶
- kAudioDevicePropertyWantsControlsRestored
- kAudioDevicePropertyWantsStreamFormatsRestored
Key Types ¶
Code generated from Apple documentation. DO NOT EDIT.
Index ¶
- func AudioConvertHostTimeToNanos(inHostTime uint64) uint64
- func AudioConvertNanosToHostTime(inNanos uint64) uint64
- func AudioDeviceAddIOProc(inDevice uint32, inProc AudioDeviceIOProc, inClientData unsafe.Pointer) int32deprecated
- func AudioDeviceAddPropertyListener(inDevice uint32, inChannel uint32, isInput bool, inPropertyID uint32, ...) int32deprecated
- func AudioDeviceCreateIOProcID(inDevice uint32, inProc AudioDeviceIOProc, inClientData unsafe.Pointer, ...) int32
- func AudioDeviceCreateIOProcIDWithBlock(outIOProcID *AudioDeviceIOProcID, inDevice uint32, ...) int32
- func AudioDeviceDestroyIOProcID(inDevice uint32, inIOProcID AudioDeviceIOProcID) int32
- func AudioDeviceGetCurrentTime(inDevice uint32, outTime uintptr) int32
- func AudioDeviceGetNearestStartTime(inDevice uint32, ioRequestedStartTime uintptr, inFlags uint32) int32
- func AudioDeviceGetProperty(inDevice uint32, inChannel uint32, isInput bool, inPropertyID uint32, ...) int32deprecated
- func AudioDeviceGetPropertyInfo(inDevice uint32, inChannel uint32, isInput bool, inPropertyID uint32, ...) int32deprecated
- func AudioDeviceRead(inDevice uint32, inStartTime uintptr, outData uintptr) int32deprecated
- func AudioDeviceRemoveIOProc(inDevice uint32, inProc AudioDeviceIOProc) int32deprecated
- func AudioDeviceRemovePropertyListener(inDevice uint32, inChannel uint32, isInput bool, inPropertyID uint32, ...) int32deprecated
- func AudioDeviceSetProperty(inDevice uint32, inWhen uintptr, inChannel uint32, isInput bool, ...) int32deprecated
- func AudioDeviceStart(inDevice uint32, inProcID AudioDeviceIOProcID) int32
- func AudioDeviceStartAtTime(inDevice uint32, inProcID AudioDeviceIOProcID, ioRequestedStartTime uintptr, ...) int32
- func AudioDeviceStop(inDevice uint32, inProcID AudioDeviceIOProcID) int32
- func AudioDeviceTranslateTime(inDevice uint32, inTime uintptr, outTime uintptr) int32
- func AudioDriverPlugInClose(inDevice uint32) int32
- func AudioDriverPlugInDeviceGetProperty(inDevice uint32, inChannel uint32, isInput bool, inPropertyID uint32, ...) int32
- func AudioDriverPlugInDeviceGetPropertyInfo(inDevice uint32, inChannel uint32, isInput bool, inPropertyID uint32, ...) int32
- func AudioDriverPlugInDeviceSetProperty(inDevice uint32, inWhen uintptr, inChannel uint32, isInput bool, ...) int32
- func AudioDriverPlugInOpen(inHostInfo *AudioDriverPlugInHostInfo) int32
- func AudioDriverPlugInStreamGetProperty(inDevice uint32, inIOAudioStream uintptr, inChannel uint32, ...) int32
- func AudioDriverPlugInStreamGetPropertyInfo(inDevice uint32, inIOAudioStream uintptr, inChannel uint32, ...) int32
- func AudioDriverPlugInStreamSetProperty(inDevice uint32, inIOAudioStream uintptr, inWhen uintptr, inChannel uint32, ...) int32
- func AudioGetCurrentHostTime() uint64
- func AudioGetHostClockFrequency() float64
- func AudioGetHostClockMinimumTimeDelta() uint32
- func AudioHardwareAddPropertyListener(inPropertyID uint32, inProc AudioHardwarePropertyListenerProc, ...) int32deprecated
- func AudioHardwareAddRunLoopSource(inRunLoopSource corefoundation.CFRunLoopSourceRef) int32deprecated
- func AudioHardwareCreateAggregateDevice(inDescription corefoundation.CFDictionaryRef, outDeviceID *uint32) int32
- func AudioHardwareCreateProcessTap(inDescription *CATapDescription, outTapID *uint32) int32
- func AudioHardwareDestroyAggregateDevice(inDeviceID uint32) int32
- func AudioHardwareDestroyProcessTap(inTapID uint32) int32
- func AudioHardwareGetProperty(inPropertyID uint32, ioPropertyDataSize *uint32, ...) int32deprecated
- func AudioHardwareGetPropertyInfo(inPropertyID uint32, outSize *uint32, outWritable *bool) int32deprecated
- func AudioHardwareRemovePropertyListener(inPropertyID uint32, inProc AudioHardwarePropertyListenerProc) int32deprecated
- func AudioHardwareRemoveRunLoopSource(inRunLoopSource corefoundation.CFRunLoopSourceRef) int32deprecated
- func AudioHardwareSetProperty(inPropertyID uint32, inPropertyDataSize uint32, inPropertyData unsafe.Pointer) int32deprecated
- func AudioHardwareUnload() int32
- func AudioObjectAddPropertyListener(inObjectID uint32, inAddress *AudioObjectPropertyAddress, ...) int32
- func AudioObjectAddPropertyListenerBlock(inObjectID uint32, inAddress *AudioObjectPropertyAddress, ...) int32
- func AudioObjectGetPropertyData(inObjectID uint32, inAddress *AudioObjectPropertyAddress, ...) int32
- func AudioObjectGetPropertyDataSize(inObjectID uint32, inAddress *AudioObjectPropertyAddress, ...) int32
- func AudioObjectHasProperty(inObjectID uint32, inAddress *AudioObjectPropertyAddress) bool
- func AudioObjectIsPropertySettable(inObjectID uint32, inAddress *AudioObjectPropertyAddress, outIsSettable *bool) int32
- func AudioObjectRemovePropertyListener(inObjectID uint32, inAddress *AudioObjectPropertyAddress, ...) int32
- func AudioObjectRemovePropertyListenerBlock(inObjectID uint32, inAddress *AudioObjectPropertyAddress, ...) int32
- func AudioObjectSetPropertyData(inObjectID uint32, inAddress *AudioObjectPropertyAddress, ...) int32
- func AudioObjectShow(inObjectID uint32)
- func AudioStreamAddPropertyListener(inStream uint32, inChannel uint32, inPropertyID uint32, ...) int32deprecated
- func AudioStreamGetProperty(inStream uint32, inChannel uint32, inPropertyID uint32, ...) int32deprecated
- func AudioStreamGetPropertyInfo(inStream uint32, inChannel uint32, inPropertyID uint32, outSize *uint32, ...) int32deprecated
- func AudioStreamRemovePropertyListener(inStream uint32, inChannel uint32, inPropertyID uint32, ...) int32deprecated
- func AudioStreamSetProperty(inStream uint32, inWhen uintptr, inChannel uint32, inPropertyID uint32, ...) int32deprecated
- 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) Exclusive() bool
- 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) Mixdown() bool
- func (t CATapDescription) Mono() bool
- func (t CATapDescription) MuteBehavior() CATapMuteBehavior
- func (t CATapDescription) Name() string
- func (t CATapDescription) PrivateTap() bool
- func (t CATapDescription) ProcessRestoreEnabled() bool
- 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) SetPrivateTap(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 KAudio
- type KAudioAggregateDeviceClassI
- type KAudioAggregateDeviceProperty
- type KAudioAggregateDevicePropertyMasterSub
- type KAudioAggregateDriftCompensation
- type KAudioBooleanControlProperty
- type KAudioBootChimeVolumeControlClassI
- type KAudioBoxClassI
- type KAudioBoxProperty
- type KAudioClockDeviceClassI
- type KAudioClockDeviceProperty
- type KAudioClockSourceControlPropertyItem
- type KAudioClockSourceItemKind
- type KAudioControlClassI
- type KAudioControlProperty
- type KAudioDevice
- type KAudioDeviceClassI
- type KAudioDeviceProperty
- type KAudioDevicePropertyScope
- type KAudioDeviceStartTime
- type KAudioDeviceTransportType
- type KAudioDeviceTransportTypeAuto
- type KAudioEndPointClassI
- type KAudioEndPointDeviceClassI
- type KAudioEndPointDeviceProperty
- type KAudioHardwareProperty
- type KAudioHardwarePropertyBootChimeVolume
- type KAudioISubOwnerControlClassI
- type KAudioLevelControlProperty
- type KAudioLevelControlPropertyDecibelsToScalarTransfer
- type KAudioObject
- type KAudioObjectClassI
- type KAudioObjectClassID
- type KAudioObjectPlugIn
- type KAudioObjectProperty
- type KAudioObjectPropertyCustomPropertyInfo
- type KAudioObjectPropertyElement
- type KAudioObjectPropertyScope
- type KAudioObjectPropertySelector
- type KAudioObjectSystem
- type KAudioPlugIn
- type KAudioPlugInClassI
- type KAudioPlugInProperty
- type KAudioPlugInPropertyResource
- type KAudioProcessClassI
- type KAudioProcessProperty
- type KAudioPropertyWildcard
- type KAudioPropertyWildcardPropertyI
- type KAudioSelectorControlItemKind
- type KAudioSelectorControlProperty
- type KAudioServerPlugInCustomPropertyDataType
- type KAudioServerPlugInHostClientI
- type KAudioSliderControlClassI
- type KAudioSliderControlProperty
- type KAudioStereoPanControlClassI
- type KAudioStereoPanControlProperty
- type KAudioStream
- type KAudioStreamClassI
- type KAudioStreamProperty
- 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 ¶
This section is empty.
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 uint32, 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 uint32, inChannel uint32, isInput bool, inPropertyID uint32, 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 uint32, inProc AudioDeviceIOProc, inClientData unsafe.Pointer, outIOProcID *AudioDeviceIOProcID) int32
AudioDeviceCreateIOProcID.
See: https://developer.apple.com/documentation/CoreAudio/AudioDeviceCreateIOProcID(_:_:_:_:)
func AudioDeviceCreateIOProcIDWithBlock ¶
func AudioDeviceCreateIOProcIDWithBlock(outIOProcID *AudioDeviceIOProcID, inDevice uint32, inDispatchQueue dispatch.Queue, inIOBlock AudioDeviceIOBlock) int32
AudioDeviceCreateIOProcIDWithBlock.
See: https://developer.apple.com/documentation/CoreAudio/AudioDeviceCreateIOProcIDWithBlock(_:_:_:_:)
func AudioDeviceDestroyIOProcID ¶
func AudioDeviceDestroyIOProcID(inDevice uint32, inIOProcID AudioDeviceIOProcID) int32
AudioDeviceDestroyIOProcID.
See: https://developer.apple.com/documentation/CoreAudio/AudioDeviceDestroyIOProcID(_:_:)
func AudioDeviceGetCurrentTime ¶
AudioDeviceGetCurrentTime.
See: https://developer.apple.com/documentation/CoreAudio/AudioDeviceGetCurrentTime(_:_:)
func AudioDeviceGetNearestStartTime ¶
func AudioDeviceGetNearestStartTime(inDevice uint32, ioRequestedStartTime uintptr, inFlags uint32) int32
AudioDeviceGetNearestStartTime.
See: https://developer.apple.com/documentation/CoreAudio/AudioDeviceGetNearestStartTime(_:_:_:)
func AudioDeviceGetProperty
deprecated
func AudioDeviceGetProperty(inDevice uint32, inChannel uint32, isInput bool, inPropertyID uint32, 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 AudioDeviceRead
deprecated
AudioDeviceRead.
Deprecated: Deprecated since macOS 10.5.
See: https://developer.apple.com/documentation/CoreAudio/AudioDeviceRead
func AudioDeviceRemoveIOProc
deprecated
func AudioDeviceRemoveIOProc(inDevice uint32, inProc AudioDeviceIOProc) int32
AudioDeviceRemoveIOProc.
Deprecated: Deprecated since macOS 10.5.
See: https://developer.apple.com/documentation/CoreAudio/AudioDeviceRemoveIOProc
func AudioDeviceRemovePropertyListener
deprecated
func AudioDeviceRemovePropertyListener(inDevice uint32, inChannel uint32, isInput bool, inPropertyID uint32, inProc AudioDevicePropertyListenerProc) int32
AudioDeviceRemovePropertyListener.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/CoreAudio/AudioDeviceRemovePropertyListener
func AudioDeviceSetProperty
deprecated
func AudioDeviceSetProperty(inDevice uint32, inWhen uintptr, inChannel uint32, isInput bool, inPropertyID uint32, 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 uint32, inProcID AudioDeviceIOProcID) int32
AudioDeviceStart.
See: https://developer.apple.com/documentation/CoreAudio/AudioDeviceStart(_:_:)
func AudioDeviceStartAtTime ¶
func AudioDeviceStartAtTime(inDevice uint32, inProcID AudioDeviceIOProcID, ioRequestedStartTime uintptr, inFlags uint32) int32
AudioDeviceStartAtTime.
See: https://developer.apple.com/documentation/CoreAudio/AudioDeviceStartAtTime(_:_:_:_:)
func AudioDeviceStop ¶
func AudioDeviceStop(inDevice uint32, inProcID AudioDeviceIOProcID) int32
AudioDeviceStop.
See: https://developer.apple.com/documentation/CoreAudio/AudioDeviceStop(_:_:)
func AudioDeviceTranslateTime ¶
AudioDeviceTranslateTime.
See: https://developer.apple.com/documentation/CoreAudio/AudioDeviceTranslateTime(_:_:_:)
func AudioDriverPlugInClose ¶
AudioDriverPlugInClose.
See: https://developer.apple.com/documentation/CoreAudio/AudioDriverPlugInClose
func AudioDriverPlugInDeviceGetProperty ¶
func AudioDriverPlugInDeviceGetProperty(inDevice uint32, inChannel uint32, isInput bool, inPropertyID uint32, ioPropertyDataSize *uint32, outPropertyData unsafe.Pointer) int32
AudioDriverPlugInDeviceGetProperty.
See: https://developer.apple.com/documentation/CoreAudio/AudioDriverPlugInDeviceGetProperty
func AudioDriverPlugInDeviceGetPropertyInfo ¶
func AudioDriverPlugInDeviceGetPropertyInfo(inDevice uint32, inChannel uint32, isInput bool, inPropertyID uint32, outSize *uint32, outWritable *bool) int32
AudioDriverPlugInDeviceGetPropertyInfo.
See: https://developer.apple.com/documentation/CoreAudio/AudioDriverPlugInDeviceGetPropertyInfo
func AudioDriverPlugInDeviceSetProperty ¶
func AudioDriverPlugInDeviceSetProperty(inDevice uint32, inWhen uintptr, inChannel uint32, isInput bool, inPropertyID uint32, 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 uint32, inIOAudioStream uintptr, inChannel uint32, inPropertyID uint32, ioPropertyDataSize *uint32, outPropertyData unsafe.Pointer) int32
AudioDriverPlugInStreamGetProperty.
See: https://developer.apple.com/documentation/CoreAudio/AudioDriverPlugInStreamGetProperty
func AudioDriverPlugInStreamGetPropertyInfo ¶
func AudioDriverPlugInStreamGetPropertyInfo(inDevice uint32, inIOAudioStream uintptr, inChannel uint32, inPropertyID uint32, outSize *uint32, outWritable *bool) int32
AudioDriverPlugInStreamGetPropertyInfo.
See: https://developer.apple.com/documentation/CoreAudio/AudioDriverPlugInStreamGetPropertyInfo
func AudioDriverPlugInStreamSetProperty ¶
func AudioDriverPlugInStreamSetProperty(inDevice uint32, inIOAudioStream uintptr, inWhen uintptr, inChannel uint32, inPropertyID uint32, 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 uint32, 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 *uint32) int32
AudioHardwareCreateAggregateDevice.
See: https://developer.apple.com/documentation/CoreAudio/AudioHardwareCreateAggregateDevice(_:_:)
func AudioHardwareCreateProcessTap ¶
func AudioHardwareCreateProcessTap(inDescription *CATapDescription, outTapID *uint32) int32
AudioHardwareCreateProcessTap.
See: https://developer.apple.com/documentation/CoreAudio/AudioHardwareCreateProcessTap(_:_:)
func AudioHardwareDestroyAggregateDevice ¶
AudioHardwareDestroyAggregateDevice.
See: https://developer.apple.com/documentation/CoreAudio/AudioHardwareDestroyAggregateDevice(_:)
func AudioHardwareDestroyProcessTap ¶
AudioHardwareDestroyProcessTap.
See: https://developer.apple.com/documentation/CoreAudio/AudioHardwareDestroyProcessTap(_:)
func AudioHardwareGetProperty
deprecated
func AudioHardwareGetPropertyInfo
deprecated
AudioHardwareGetPropertyInfo.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/CoreAudio/AudioHardwareGetPropertyInfo
func AudioHardwareRemovePropertyListener
deprecated
func AudioHardwareRemovePropertyListener(inPropertyID uint32, 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 AudioHardwareUnload ¶
func AudioHardwareUnload() int32
AudioHardwareUnload.
See: https://developer.apple.com/documentation/CoreAudio/AudioHardwareUnload()
func AudioObjectAddPropertyListener ¶
func AudioObjectAddPropertyListener(inObjectID uint32, inAddress *AudioObjectPropertyAddress, inListener AudioObjectPropertyListenerProc, inClientData unsafe.Pointer) int32
AudioObjectAddPropertyListener.
See: https://developer.apple.com/documentation/CoreAudio/AudioObjectAddPropertyListener(_:_:_:_:)
func AudioObjectAddPropertyListenerBlock ¶
func AudioObjectAddPropertyListenerBlock(inObjectID uint32, inAddress *AudioObjectPropertyAddress, inDispatchQueue dispatch.Queue, inListener AudioObjectPropertyListenerBlock) int32
AudioObjectAddPropertyListenerBlock.
See: https://developer.apple.com/documentation/CoreAudio/AudioObjectAddPropertyListenerBlock(_:_:_:_:)
func AudioObjectGetPropertyData ¶
func AudioObjectGetPropertyData(inObjectID uint32, 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 uint32, inAddress *AudioObjectPropertyAddress, inQualifierDataSize uint32, inQualifierData unsafe.Pointer, outDataSize *uint32) int32
AudioObjectGetPropertyDataSize.
See: https://developer.apple.com/documentation/CoreAudio/AudioObjectGetPropertyDataSize(_:_:_:_:_:)
func AudioObjectHasProperty ¶
func AudioObjectHasProperty(inObjectID uint32, inAddress *AudioObjectPropertyAddress) bool
AudioObjectHasProperty.
See: https://developer.apple.com/documentation/CoreAudio/AudioObjectHasProperty(_:_:)
func AudioObjectIsPropertySettable ¶
func AudioObjectIsPropertySettable(inObjectID uint32, inAddress *AudioObjectPropertyAddress, outIsSettable *bool) int32
AudioObjectIsPropertySettable.
See: https://developer.apple.com/documentation/CoreAudio/AudioObjectIsPropertySettable(_:_:_:)
func AudioObjectRemovePropertyListener ¶
func AudioObjectRemovePropertyListener(inObjectID uint32, inAddress *AudioObjectPropertyAddress, inListener AudioObjectPropertyListenerProc, inClientData unsafe.Pointer) int32
AudioObjectRemovePropertyListener.
See: https://developer.apple.com/documentation/CoreAudio/AudioObjectRemovePropertyListener(_:_:_:_:)
func AudioObjectRemovePropertyListenerBlock ¶
func AudioObjectRemovePropertyListenerBlock(inObjectID uint32, inAddress *AudioObjectPropertyAddress, inDispatchQueue dispatch.Queue, inListener AudioObjectPropertyListenerBlock) int32
AudioObjectRemovePropertyListenerBlock.
See: https://developer.apple.com/documentation/CoreAudio/AudioObjectRemovePropertyListenerBlock(_:_:_:_:)
func AudioObjectSetPropertyData ¶
func AudioObjectSetPropertyData(inObjectID uint32, 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 uint32)
AudioObjectShow.
See: https://developer.apple.com/documentation/CoreAudio/AudioObjectShow(_:)
func AudioStreamAddPropertyListener
deprecated
func AudioStreamAddPropertyListener(inStream uint32, inChannel uint32, inPropertyID uint32, 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 AudioStreamGetPropertyInfo
deprecated
func AudioStreamRemovePropertyListener
deprecated
func AudioStreamRemovePropertyListener(inStream uint32, inChannel uint32, inPropertyID uint32, inProc AudioStreamPropertyListenerProc) int32
AudioStreamRemovePropertyListener.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/CoreAudio/AudioStreamRemovePropertyListener
func AudioStreamSetProperty
deprecated
func AudioStreamSetProperty(inStream uint32, inWhen uintptr, inChannel uint32, inPropertyID uint32, inPropertyDataSize uint32, inPropertyData unsafe.Pointer) int32
AudioStreamSetProperty.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/CoreAudio/AudioStreamSetProperty
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(objectivec.IObject, objectivec.IObject, objectivec.IObject, objectivec.IObject, objectivec.IObject)
See: https://developer.apple.com/documentation/CoreAudio/AudioDeviceIOBlock
type AudioDeviceIOProc ¶
type AudioDeviceIOProc = func(uint, uintptr, uintptr, uintptr, uintptr, uintptr, unsafe.Pointer) int
See: https://developer.apple.com/documentation/CoreAudio/AudioDeviceIOProc
type AudioDeviceIOProcID ¶
type AudioDeviceIOProcID = string
See: https://developer.apple.com/documentation/CoreAudio/AudioDeviceIOProcID
type AudioDevicePropertyID ¶
type AudioDevicePropertyID = uint32
See: https://developer.apple.com/documentation/CoreAudio/AudioDevicePropertyID
type AudioDevicePropertyListenerProc ¶
See: https://developer.apple.com/documentation/CoreAudio/AudioDevicePropertyListenerProc
type AudioDriverPlugInDevicePropertyChangedProc ¶
See: https://developer.apple.com/documentation/CoreAudio/AudioDriverPlugInDevicePropertyChangedProc
type AudioDriverPlugInHostInfo ¶
type AudioDriverPlugInHostInfo struct {
MDeviceID uint32
MDevicePropertyChangedProc AudioDriverPlugInDevicePropertyChangedProc
MIOAudioDevice uintptr
MIOAudioEngine uintptr
MStreamPropertyChangedProc AudioDriverPlugInStreamPropertyChangedProc
}
AudioDriverPlugInHostInfo
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreAudio/AudioDriverPlugInHostInfo
type AudioDriverPlugInStreamPropertyChangedProc ¶
See: https://developer.apple.com/documentation/CoreAudio/AudioDriverPlugInStreamPropertyChangedProc
type AudioHardwareIOProcStreamUsage ¶
type AudioHardwareIOProcStreamUsage struct {
MIOProc unsafe.Pointer
MNumberStreams uint32
MStreamIsOn 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 ¶
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 ¶
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(uint32, *AudioObjectPropertyAddress)
See: https://developer.apple.com/documentation/CoreAudio/AudioObjectPropertyListenerBlock
type AudioObjectPropertyListenerProc ¶
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 {
MBundleID corefoundation.CFStringRef
MClientID uint32
MIsNativeEndian bool
MProcessID int32
}
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 {
MPropertyDataType uint32
MQualifierDataType uint32
MSelector uint32
}
AudioServerPlugInCustomPropertyInfo
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreAudio/AudioServerPlugInCustomPropertyInfo
type AudioServerPlugInDriverInterface ¶
type AudioServerPlugInDriverInterface struct {
AbortDeviceConfigurationChange func(uintptr, uint, uint64, unsafe.Pointer) int
AddDeviceClient func(uintptr, uint, uintptr) int
AddRef func(unsafe.Pointer) uint
BeginIOOperation func(uintptr, uint, uint, uint, uint, uintptr) int
CreateDevice func(uintptr, uintptr, uintptr, *uint) int
DestroyDevice func(uintptr, uint) int
DoIOOperation func(uintptr, uint, uint, uint, uint, uint, uintptr, unsafe.Pointer, unsafe.Pointer) int
EndIOOperation func(uintptr, uint, uint, uint, uint, uintptr) int
GetPropertyData func(uintptr, uint, int, uintptr, uint, unsafe.Pointer, uint, *uint, unsafe.Pointer) int
GetPropertyDataSize func(uintptr, uint, int, uintptr, uint, unsafe.Pointer, *uint) int
GetZeroTimeStamp func(uintptr, uint, uint, []float64, *uint64, *uint64) int
HasProperty func(uintptr, uint, int, uintptr) uint8
Initialize func(uintptr, uintptr) int
IsPropertySettable func(uintptr, uint, int, uintptr, *byte) int
PerformDeviceConfigurationChange func(uintptr, uint, uint64, unsafe.Pointer) int
QueryInterface func(unsafe.Pointer, corefoundation.CFUUIDBytes, unsafe.Pointer) int
Release func(unsafe.Pointer) uint
RemoveDeviceClient func(uintptr, uint, uintptr) int
SetPropertyData func(uintptr, uint, int, uintptr, uint, unsafe.Pointer, uint, unsafe.Pointer) int
StartIO func(uintptr, uint, uint) int
StopIO func(uintptr, uint, uint) int
WillDoIOOperation func(uintptr, uint, uint, uint, *byte, *byte) int
}
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 {
CopyFromStorage func(uintptr, uintptr, unsafe.Pointer) int
DeleteFromStorage func(uintptr, uintptr) int
PropertiesChanged func(uintptr, uint, uint, uintptr) int
RequestDeviceConfigurationChange func(uintptr, uint, uint64, unsafe.Pointer) int
WriteToStorage func(uintptr, uintptr, unsafe.Pointer) int
}
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 {
MCurrentTime objectivec.IObject
MDeviceHostTicksPerFrame float64
MIOCycleCounter uint64
MInputTime objectivec.IObject
MMainHostTicksPerFrame float64
MMasterHostTicksPerFrame float64
MNominalIOBufferFrameSize uint32
MOutputTime objectivec.IObject
}
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 ¶
See: https://developer.apple.com/documentation/CoreAudio/AudioStreamPropertyListenerProc
type AudioStreamRangedDescription ¶
type AudioStreamRangedDescription struct {
MFormat objectivec.IObject
MSampleRateRange objectivec.IObject
}
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.Exclusive
- CATapDescription.SetExclusive
- CATapDescription.Mixdown
- CATapDescription.SetMixdown
- CATapDescription.Mono
- CATapDescription.SetMono
- CATapDescription.PrivateTap
- CATapDescription.SetPrivateTap
- CATapDescription.ProcessRestoreEnabled
- CATapDescription.SetProcessRestoreEnabled
- CATapDescription.MuteBehavior
- CATapDescription.SetMuteBehavior
- CATapDescription.Name
- CATapDescription.SetName
- 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) Exclusive ¶
func (t CATapDescription) Exclusive() 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) 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) Mixdown ¶
func (t CATapDescription) Mixdown() 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) Mono ¶
func (t CATapDescription) Mono() bool
Discussion ¶
True if this description is a mono mixdown of channels.
See: https://developer.apple.com/documentation/CoreAudio/CATapDescription/isMono
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) PrivateTap ¶
func (t CATapDescription) PrivateTap() 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) ProcessRestoreEnabled ¶
func (t CATapDescription) ProcessRestoreEnabled() 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) 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) SetPrivateTap ¶
func (t CATapDescription) SetPrivateTap(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)
Exclusive() bool
SetExclusive(value bool)
Mixdown() bool
SetMixdown(value bool)
Mono() bool
SetMono(value bool)
PrivateTap() bool
SetPrivateTap(value bool)
ProcessRestoreEnabled() bool
SetProcessRestoreEnabled(value bool)
MuteBehavior() CATapMuteBehavior
SetMuteBehavior(value CATapMuteBehavior)
Name() string
SetName(value string)
UUID() foundation.NSUUID
SetUUID(value foundation.NSUUID)
Processes() []foundation.NSNumber
SetProcesses(value []foundation.NSNumber)
Stream() foundation.NSNumber
SetStream(value foundation.NSNumber)
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.Exclusive]
- [ICATapDescription.SetExclusive]
- [ICATapDescription.Mixdown]
- [ICATapDescription.SetMixdown]
- [ICATapDescription.Mono]
- [ICATapDescription.SetMono]
- [ICATapDescription.PrivateTap]
- [ICATapDescription.SetPrivateTap]
- [ICATapDescription.ProcessRestoreEnabled]
- [ICATapDescription.SetProcessRestoreEnabled]
- [ICATapDescription.MuteBehavior]
- [ICATapDescription.SetMuteBehavior]
- [ICATapDescription.Name]
- [ICATapDescription.SetName]
- [ICATapDescription.UUID]
- [ICATapDescription.SetUUID]
See: https://developer.apple.com/documentation/CoreAudio/CATapDescription
type KAudio ¶
type KAudio uint
const ( KAudioBooleanControlClassID KAudio = 't'<<24 | 'o'<<16 | 'g'<<8 | 'l' // 'togl' KAudioClipLightControlClassID KAudio = 'c'<<24 | 'l'<<16 | 'i'<<8 | 'p' // 'clip' KAudioClockSourceControlClassID KAudio = 'c'<<24 | 'l'<<16 | 'c'<<8 | 'k' // 'clck' KAudioDataDestinationControlClassID KAudio = 'd'<<24 | 'e'<<16 | 's'<<8 | 't' // 'dest' KAudioDataSourceControlClassID KAudio = 'd'<<24 | 's'<<16 | 'r'<<8 | 'c' // 'dsrc' KAudioDevicePermissionsError KAudio = '!'<<24 | 'h'<<16 | 'o'<<8 | 'g' // '!hog' KAudioDevicePropertyAvailableNominalSampleRates KAudio = 'n'<<24 | 's'<<16 | 'r'<<8 | '#' // 'nsr#' KAudioDevicePropertyClockDomain KAudio = 'c'<<24 | 'l'<<16 | 'k'<<8 | 'd' // 'clkd' KAudioDevicePropertyConfigurationApplication KAudio = 'c'<<24 | 'a'<<16 | 'p'<<8 | 'p' // 'capp' KAudioDevicePropertyDeviceCanBeDefaultDevice KAudio = 'd'<<24 | 'f'<<16 | 'l'<<8 | 't' // 'dflt' KAudioDevicePropertyDeviceCanBeDefaultSystemDevice KAudio = 's'<<24 | 'f'<<16 | 'l'<<8 | 't' // 'sflt' KAudioDevicePropertyDeviceIsAlive KAudio = 'l'<<24 | 'i'<<16 | 'v'<<8 | 'n' // 'livn' KAudioDevicePropertyDeviceIsRunning KAudio = 'g'<<24 | 'o'<<16 | 'i'<<8 | 'n' // 'goin' KAudioDevicePropertyDeviceUID KAudio = 'u'<<24 | 'i'<<16 | 'd'<<8 | ' ' // 'uid ' KAudioDevicePropertyIcon KAudio = 'i'<<24 | 'c'<<16 | 'o'<<8 | 'n' // 'icon' KAudioDevicePropertyIsHidden KAudio = 'h'<<24 | 'i'<<16 | 'd'<<8 | 'n' // 'hidn' KAudioDevicePropertyLatency KAudio = 'l'<<24 | 't'<<16 | 'n'<<8 | 'c' // 'ltnc' KAudioDevicePropertyModelUID KAudio = 'm'<<24 | 'u'<<16 | 'i'<<8 | 'd' // 'muid' KAudioDevicePropertyNominalSampleRate KAudio = 'n'<<24 | 's'<<16 | 'r'<<8 | 't' // 'nsrt' KAudioDevicePropertyPreferredChannelLayout KAudio = 's'<<24 | 'r'<<16 | 'n'<<8 | 'd' // 'srnd' KAudioDevicePropertyPreferredChannelsForStereo KAudio = 'd'<<24 | 'c'<<16 | 'h'<<8 | '2' // 'dch2' KAudioDevicePropertyRelatedDevices KAudio = 'a'<<24 | 'k'<<16 | 'i'<<8 | 'n' // 'akin' KAudioDevicePropertySafetyOffset KAudio = 's'<<24 | 'a'<<16 | 'f'<<8 | 't' // 'saft' KAudioDevicePropertyStreams KAudio = 's'<<24 | 't'<<16 | 'm'<<8 | '#' // 'stm#' KAudioDevicePropertyTransportType KAudio = 't'<<24 | 'r'<<16 | 'a'<<8 | 'n' // 'tran' KAudioDeviceUnsupportedFormatError KAudio = '!'<<24 | 'd'<<16 | 'a'<<8 | 't' // '!dat' KAudioHardwareBadDeviceError KAudio = '!'<<24 | 'd'<<16 | 'e'<<8 | 'v' // '!dev' KAudioHardwareBadObjectError KAudio = '!'<<24 | 'o'<<16 | 'b'<<8 | 'j' // '!obj' KAudioHardwareBadPropertySizeError KAudio = '!'<<24 | 's'<<16 | 'i'<<8 | 'z' // '!siz' KAudioHardwareBadStreamError KAudio = '!'<<24 | 's'<<16 | 't'<<8 | 'r' // '!str' KAudioHardwareIllegalOperationError KAudio = 'n'<<24 | 'o'<<16 | 'p'<<8 | 'e' // 'nope' KAudioHardwareNoError KAudio = 0 KAudioHardwareNotReadyError KAudio = 'n'<<24 | 'r'<<16 | 'd'<<8 | 'y' // 'nrdy' KAudioHardwareNotRunningError KAudio = 's'<<24 | 't'<<16 | 'o'<<8 | 'p' // 'stop' KAudioHardwareUnknownPropertyError KAudio = 'w'<<24 | 'h'<<16 | 'o'<<8 | '?' // 'who?' KAudioHardwareUnspecifiedError KAudio = 'w'<<24 | 'h'<<16 | 'a'<<8 | 't' // 'what' KAudioHardwareUnsupportedOperationError KAudio = 'u'<<24 | 'n'<<16 | 'o'<<8 | 'p' // 'unop' KAudioHighPassFilterControlClassID KAudio = 'h'<<24 | 'i'<<16 | 'p'<<8 | 'f' // 'hipf' KAudioJackControlClassID KAudio = 'j'<<24 | 'a'<<16 | 'c'<<8 | 'k' // 'jack' KAudioLFEMuteControlClassID KAudio = 's'<<24 | 'u'<<16 | 'b'<<8 | 'm' // 'subm' KAudioLFEVolumeControlClassID KAudio = 's'<<24 | 'u'<<16 | 'b'<<8 | 'v' // 'subv' KAudioLevelControlClassID KAudio = 'l'<<24 | 'e'<<16 | 'v'<<8 | 'l' // 'levl' KAudioLineLevelControlClassID KAudio = 'n'<<24 | 'l'<<16 | 'v'<<8 | 'l' // 'nlvl' KAudioListenbackControlClassID KAudio = 'l'<<24 | 's'<<16 | 'n'<<8 | 'b' // 'lsnb' KAudioMuteControlClassID KAudio = 'm'<<24 | 'u'<<16 | 't'<<8 | 'e' // 'mute' KAudioObjectPropertyControlList KAudio = 'c'<<24 | 't'<<16 | 'r'<<8 | 'l' // 'ctrl' KAudioPhantomPowerControlClassID KAudio = 'p'<<24 | 'h'<<16 | 'a'<<8 | 'n' // 'phan' KAudioPhaseInvertControlClassID KAudio = 'p'<<24 | 'h'<<16 | 's'<<8 | 'i' // 'phsi' KAudioSelectorControlClassID KAudio = 's'<<24 | 'l'<<16 | 'c'<<8 | 't' // 'slct' KAudioSoloControlClassID KAudio = 's'<<24 | 'o'<<16 | 'l'<<8 | 'o' // 'solo' KAudioTalkbackControlClassID KAudio = 't'<<24 | 'a'<<16 | 'l'<<8 | 'b' // 'talb' KAudioVolumeControlClassID KAudio = 'v'<<24 | 'l'<<16 | 'm'<<8 | 'e' // 'vlme' )
type KAudioAggregateDeviceClassI ¶
type KAudioAggregateDeviceClassI uint
const (
KAudioAggregateDeviceClassID KAudioAggregateDeviceClassI = 'a'<<24 | 'a'<<16 | 'g'<<8 | 'g' // 'aagg'
)
func (KAudioAggregateDeviceClassI) String ¶
func (e KAudioAggregateDeviceClassI) String() string
type KAudioAggregateDeviceProperty ¶
type KAudioAggregateDeviceProperty uint
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 uint
const ( // Deprecated. KAudioAggregateDevicePropertyMasterSubDevice KAudioAggregateDevicePropertyMasterSub = 0 )
func (KAudioAggregateDevicePropertyMasterSub) String ¶
func (e KAudioAggregateDevicePropertyMasterSub) String() string
type KAudioAggregateDriftCompensation ¶
type KAudioAggregateDriftCompensation uint
const ( KAudioAggregateDriftCompensationHighQuality KAudioAggregateDriftCompensation = 0 KAudioAggregateDriftCompensationLowQuality KAudioAggregateDriftCompensation = 0 KAudioAggregateDriftCompensationMaxQuality KAudioAggregateDriftCompensation = 0 KAudioAggregateDriftCompensationMediumQuality KAudioAggregateDriftCompensation = 0 KAudioAggregateDriftCompensationMinQuality KAudioAggregateDriftCompensation = 0 )
func (KAudioAggregateDriftCompensation) String ¶
func (e KAudioAggregateDriftCompensation) String() string
type KAudioBooleanControlProperty ¶
type KAudioBooleanControlProperty uint
const (
KAudioBooleanControlPropertyValue KAudioBooleanControlProperty = 'b'<<24 | 'c'<<16 | 'v'<<8 | 'l' // 'bcvl'
)
func (KAudioBooleanControlProperty) String ¶
func (e KAudioBooleanControlProperty) String() string
type KAudioBootChimeVolumeControlClassI ¶
type KAudioBootChimeVolumeControlClassI uint
const (
KAudioBootChimeVolumeControlClassID KAudioBootChimeVolumeControlClassI = 'p'<<24 | 'r'<<16 | 'a'<<8 | 'm' // 'pram'
)
func (KAudioBootChimeVolumeControlClassI) String ¶
func (e KAudioBootChimeVolumeControlClassI) String() string
type KAudioBoxClassI ¶
type KAudioBoxClassI uint
const (
KAudioBoxClassID KAudioBoxClassI = 'a'<<24 | 'b'<<16 | 'o'<<8 | 'x' // 'abox'
)
func (KAudioBoxClassI) String ¶
func (e KAudioBoxClassI) String() string
type KAudioBoxProperty ¶
type KAudioBoxProperty uint
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 uint
const (
KAudioClockDeviceClassID KAudioClockDeviceClassI = 'a'<<24 | 'c'<<16 | 'l'<<8 | 'k' // 'aclk'
)
func (KAudioClockDeviceClassI) String ¶
func (e KAudioClockDeviceClassI) String() string
type KAudioClockDeviceProperty ¶
type KAudioClockDeviceProperty uint
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 uint
const (
KAudioClockSourceControlPropertyItemKind KAudioClockSourceControlPropertyItem = 0
)
func (KAudioClockSourceControlPropertyItem) String ¶
func (e KAudioClockSourceControlPropertyItem) String() string
type KAudioClockSourceItemKind ¶
type KAudioClockSourceItemKind uint
const (
KAudioClockSourceItemKindInternal KAudioClockSourceItemKind = 'i'<<24 | 'n'<<16 | 't'<<8 | ' ' // 'int '
)
func (KAudioClockSourceItemKind) String ¶
func (e KAudioClockSourceItemKind) String() string
type KAudioControlClassI ¶
type KAudioControlClassI uint
const (
KAudioControlClassID KAudioControlClassI = 'a'<<24 | 'c'<<16 | 't'<<8 | 'l' // 'actl'
)
func (KAudioControlClassI) String ¶
func (e KAudioControlClassI) String() string
type KAudioControlProperty ¶
type KAudioControlProperty uint
const ( KAudioControlPropertyElement KAudioControlProperty = 'c'<<24 | 'e'<<16 | 'l'<<8 | 'm' // 'celm' KAudioControlPropertyScope KAudioControlProperty = 'c'<<24 | 's'<<16 | 'c'<<8 | 'p' // 'cscp' KAudioControlPropertyVariant KAudioControlProperty = 'c'<<24 | 'v'<<16 | 'a'<<8 | 'r' // 'cvar' )
func (KAudioControlProperty) String ¶
func (e KAudioControlProperty) String() string
type KAudioDevice ¶
type KAudioDevice uint
const ( KAudioDeviceProcessorOverload KAudioDevice = 'o'<<24 | 'v'<<16 | 'e'<<8 | 'r' // 'over' KAudioDevicePropertyActualSampleRate KAudioDevice = 'a'<<24 | 's'<<16 | 'r'<<8 | 't' // 'asrt' KAudioDevicePropertyBufferFrameSize KAudioDevice = 'f'<<24 | 's'<<16 | 'i'<<8 | 'z' // 'fsiz' KAudioDevicePropertyBufferFrameSizeRange KAudioDevice = 'f'<<24 | 's'<<16 | 'z'<<8 | '#' // 'fsz#' KAudioDevicePropertyClockDevice KAudioDevice = 'a'<<24 | 'p'<<16 | 'c'<<8 | 'd' // 'apcd' KAudioDevicePropertyDeviceHasChanged KAudioDevice = 'd'<<24 | 'i'<<16 | 'f'<<8 | 'f' // 'diff' KAudioDevicePropertyDeviceIsRunningSomewhere KAudioDevice = 'g'<<24 | 'o'<<16 | 'n'<<8 | 'e' // 'gone' KAudioDevicePropertyHogMode KAudioDevice = 'o'<<24 | 'i'<<16 | 'n'<<8 | 'k' // 'oink' KAudioDevicePropertyIOCycleUsage KAudioDevice = 'n'<<24 | 'c'<<16 | 'y'<<8 | 'c' // 'ncyc' KAudioDevicePropertyIOProcStreamUsage KAudioDevice = 's'<<24 | 'u'<<16 | 's'<<8 | 'e' // 'suse' KAudioDevicePropertyIOStoppedAbnormally KAudioDevice = '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 KAudioDevice = 'o'<<24 | 's'<<16 | 'w'<<8 | 'g' // 'oswg' KAudioDevicePropertyPlugIn KAudioDevice = 'p'<<24 | 'l'<<16 | 'u'<<8 | 'g' // 'plug' KAudioDevicePropertyProcessMute KAudioDevice = 'a'<<24 | 'p'<<16 | 'p'<<8 | 'm' // 'appm' KAudioDevicePropertyStreamConfiguration KAudioDevice = 's'<<24 | 'l'<<16 | 'a'<<8 | 'y' // 'slay' KAudioDevicePropertyUsesVariableBufferFrameSizes KAudioDevice = 'v'<<24 | 'f'<<16 | 's'<<8 | 'z' // 'vfsz' KAudioDeviceUnknown KAudioDevice = 0 )
func (KAudioDevice) String ¶
func (e KAudioDevice) String() string
type KAudioDeviceClassI ¶
type KAudioDeviceClassI uint
const (
KAudioDeviceClassID KAudioDeviceClassI = 'a'<<24 | 'd'<<16 | 'e'<<8 | 'v' // 'adev'
)
func (KAudioDeviceClassI) String ¶
func (e KAudioDeviceClassI) String() string
type KAudioDeviceProperty ¶
type KAudioDeviceProperty uint
const ( KAudioDevicePropertyBufferSize KAudioDeviceProperty = 'b'<<24 | 's'<<16 | 'i'<<8 | 'z' // 'bsiz' KAudioDevicePropertyBufferSizeRange KAudioDeviceProperty = 'b'<<24 | 's'<<16 | 'z'<<8 | '#' // 'bsz#' KAudioDevicePropertyChannelCategoryName KAudioDeviceProperty = 'c'<<24 | 'c'<<16 | 'n'<<8 | 'm' // 'ccnm' KAudioDevicePropertyChannelCategoryNameCFString KAudioDeviceProperty = 'l'<<24 | 'c'<<16 | 'c'<<8 | 'n' // 'lccn' KAudioDevicePropertyChannelName KAudioDeviceProperty = 'c'<<24 | 'h'<<16 | 'n'<<8 | 'm' // 'chnm' KAudioDevicePropertyChannelNameCFString KAudioDeviceProperty = 'l'<<24 | 'c'<<16 | 'h'<<8 | 'n' // 'lchn' KAudioDevicePropertyChannelNominalLineLevel KAudioDeviceProperty = 'n'<<24 | 'l'<<16 | 'v'<<8 | 'l' // 'nlvl' KAudioDevicePropertyChannelNominalLineLevelNameForID KAudioDeviceProperty = 'c'<<24 | 'n'<<16 | 'l'<<8 | 'v' // 'cnlv' KAudioDevicePropertyChannelNominalLineLevelNameForIDCFString KAudioDeviceProperty = 'l'<<24 | 'c'<<16 | 'n'<<8 | 'l' // 'lcnl' KAudioDevicePropertyChannelNominalLineLevels KAudioDeviceProperty = 'n'<<24 | 'l'<<16 | 'v'<<8 | '#' // 'nlv#' KAudioDevicePropertyChannelNumberName KAudioDeviceProperty = 'c'<<24 | 'n'<<16 | 'n'<<8 | 'm' // 'cnnm' KAudioDevicePropertyChannelNumberNameCFString KAudioDeviceProperty = 'l'<<24 | 'c'<<16 | 'n'<<8 | 'n' // 'lcnn' KAudioDevicePropertyClipLight KAudioDeviceProperty = 'c'<<24 | 'l'<<16 | 'i'<<8 | 'p' // 'clip' KAudioDevicePropertyClockAlgorithm KAudioDeviceProperty = 0 KAudioDevicePropertyClockIsStable KAudioDeviceProperty = 0 KAudioDevicePropertyClockSource KAudioDeviceProperty = 'c'<<24 | 's'<<16 | 'r'<<8 | 'c' // 'csrc' KAudioDevicePropertyClockSourceKindForID KAudioDeviceProperty = 'c'<<24 | 's'<<16 | 'c'<<8 | 'k' // 'csck' KAudioDevicePropertyClockSourceNameForID KAudioDeviceProperty = 'c'<<24 | 's'<<16 | 'c'<<8 | 'n' // 'cscn' KAudioDevicePropertyClockSourceNameForIDCFString KAudioDeviceProperty = 'l'<<24 | 'c'<<16 | 's'<<8 | 'n' // 'lcsn' KAudioDevicePropertyClockSources KAudioDeviceProperty = 'c'<<24 | 's'<<16 | 'c'<<8 | '#' // 'csc#' KAudioDevicePropertyDataSource KAudioDeviceProperty = 's'<<24 | 's'<<16 | 'r'<<8 | 'c' // 'ssrc' KAudioDevicePropertyDataSourceKindForID KAudioDeviceProperty = 's'<<24 | 's'<<16 | 'c'<<8 | 'k' // 'ssck' KAudioDevicePropertyDataSourceNameForID KAudioDeviceProperty = 's'<<24 | 's'<<16 | 'c'<<8 | 'n' // 'sscn' KAudioDevicePropertyDataSourceNameForIDCFString KAudioDeviceProperty = 'l'<<24 | 's'<<16 | 'c'<<8 | 'n' // 'lscn' KAudioDevicePropertyDataSources KAudioDeviceProperty = 's'<<24 | 's'<<16 | 'c'<<8 | '#' // 'ssc#' KAudioDevicePropertyDeviceManufacturer KAudioDeviceProperty = 'm'<<24 | 'a'<<16 | 'k'<<8 | 'r' // 'makr' KAudioDevicePropertyDeviceManufacturerCFString KAudioDeviceProperty = 'l'<<24 | 'm'<<16 | 'a'<<8 | 'k' // 'lmak' KAudioDevicePropertyDeviceName KAudioDeviceProperty = 'n'<<24 | 'a'<<16 | 'm'<<8 | 'e' // 'name' KAudioDevicePropertyDeviceNameCFString KAudioDeviceProperty = 'l'<<24 | 'n'<<16 | 'a'<<8 | 'm' // 'lnam' KAudioDevicePropertyDriverShouldOwniSub KAudioDeviceProperty = 'i'<<24 | 's'<<16 | 'u'<<8 | 'b' // 'isub' KAudioDevicePropertyHighPassFilterSetting KAudioDeviceProperty = 'h'<<24 | 'i'<<16 | 'p'<<8 | 'f' // 'hipf' KAudioDevicePropertyHighPassFilterSettingNameForID KAudioDeviceProperty = 'c'<<24 | 'h'<<16 | 'i'<<8 | 'p' // 'chip' KAudioDevicePropertyHighPassFilterSettingNameForIDCFString KAudioDeviceProperty = 'h'<<24 | 'i'<<16 | 'p'<<8 | 'l' // 'hipl' KAudioDevicePropertyHighPassFilterSettings KAudioDeviceProperty = 'h'<<24 | 'i'<<16 | 'p'<<8 | '#' // 'hip#' KAudioDevicePropertyJackIsConnected KAudioDeviceProperty = 'j'<<24 | 'a'<<16 | 'c'<<8 | 'k' // 'jack' KAudioDevicePropertyListenback KAudioDeviceProperty = 'l'<<24 | 's'<<16 | 'n'<<8 | 'b' // 'lsnb' KAudioDevicePropertyMute KAudioDeviceProperty = 'm'<<24 | 'u'<<16 | 't'<<8 | 'e' // 'mute' KAudioDevicePropertyPhantomPower KAudioDeviceProperty = 'p'<<24 | 'h'<<16 | 'a'<<8 | 'n' // 'phan' KAudioDevicePropertyPhaseInvert KAudioDeviceProperty = 'p'<<24 | 'h'<<16 | 's'<<8 | 'i' // 'phsi' KAudioDevicePropertyPlayThru KAudioDeviceProperty = 't'<<24 | 'h'<<16 | 'r'<<8 | 'u' // 'thru' KAudioDevicePropertyPlayThruDestination KAudioDeviceProperty = 'm'<<24 | 'd'<<16 | 'd'<<8 | 's' // 'mdds' KAudioDevicePropertyPlayThruDestinationNameForID KAudioDeviceProperty = 'm'<<24 | 'd'<<16 | 'd'<<8 | 'n' // 'mddn' KAudioDevicePropertyPlayThruDestinationNameForIDCFString KAudioDeviceProperty = 'm'<<24 | 'd'<<16 | 'd'<<8 | 'c' // 'mddc' KAudioDevicePropertyPlayThruDestinations KAudioDeviceProperty = 'm'<<24 | 'd'<<16 | 'd'<<8 | '#' // 'mdd#' KAudioDevicePropertyPlayThruSolo KAudioDeviceProperty = 't'<<24 | 'h'<<16 | 'r'<<8 | 's' // 'thrs' KAudioDevicePropertyPlayThruStereoPan KAudioDeviceProperty = 'm'<<24 | 's'<<16 | 'p'<<8 | 'n' // 'mspn' KAudioDevicePropertyPlayThruStereoPanChannels KAudioDeviceProperty = 'm'<<24 | 's'<<16 | 'p'<<8 | '#' // 'msp#' KAudioDevicePropertyPlayThruVolumeDecibels KAudioDeviceProperty = 'm'<<24 | 'v'<<16 | 'd'<<8 | 'b' // 'mvdb' KAudioDevicePropertyPlayThruVolumeDecibelsToScalar KAudioDeviceProperty = 'm'<<24 | 'v'<<16 | '2'<<8 | 's' // 'mv2s' KAudioDevicePropertyPlayThruVolumeDecibelsToScalarTransferFunction KAudioDeviceProperty = 'm'<<24 | 'v'<<16 | 't'<<8 | 'f' // 'mvtf' KAudioDevicePropertyPlayThruVolumeRangeDecibels KAudioDeviceProperty = 'm'<<24 | 'v'<<16 | 'd'<<8 | '#' // 'mvd#' KAudioDevicePropertyPlayThruVolumeScalar KAudioDeviceProperty = 'm'<<24 | 'v'<<16 | 's'<<8 | 'c' // 'mvsc' KAudioDevicePropertyPlayThruVolumeScalarToDecibels KAudioDeviceProperty = 'm'<<24 | 'v'<<16 | '2'<<8 | 'd' // 'mv2d' KAudioDevicePropertyRegisterBufferList KAudioDeviceProperty = 'r'<<24 | 'b'<<16 | 'u'<<8 | 'f' // 'rbuf' KAudioDevicePropertySolo KAudioDeviceProperty = 's'<<24 | 'o'<<16 | 'l'<<8 | 'o' // 'solo' KAudioDevicePropertyStereoPan KAudioDeviceProperty = 's'<<24 | 'p'<<16 | 'a'<<8 | 'n' // 'span' KAudioDevicePropertyStereoPanChannels KAudioDeviceProperty = 's'<<24 | 'p'<<16 | 'n'<<8 | '#' // 'spn#' KAudioDevicePropertyStreamFormat KAudioDeviceProperty = 's'<<24 | 'f'<<16 | 'm'<<8 | 't' // 'sfmt' KAudioDevicePropertyStreamFormatMatch KAudioDeviceProperty = 's'<<24 | 'f'<<16 | 'm'<<8 | 'm' // 'sfmm' KAudioDevicePropertyStreamFormatSupported KAudioDeviceProperty = 's'<<24 | 'f'<<16 | 'm'<<8 | '?' // 'sfm?' KAudioDevicePropertyStreamFormats KAudioDeviceProperty = 's'<<24 | 'f'<<16 | 'm'<<8 | '#' // 'sfm#' KAudioDevicePropertySubMute KAudioDeviceProperty = 's'<<24 | 'm'<<16 | 'u'<<8 | 't' // 'smut' KAudioDevicePropertySubVolumeDecibels KAudioDeviceProperty = 's'<<24 | 'v'<<16 | 'l'<<8 | 'd' // 'svld' KAudioDevicePropertySubVolumeDecibelsToScalar KAudioDeviceProperty = 's'<<24 | 'd'<<16 | '2'<<8 | 'v' // 'sd2v' KAudioDevicePropertySubVolumeDecibelsToScalarTransferFunction KAudioDeviceProperty = 's'<<24 | 'v'<<16 | 't'<<8 | 'f' // 'svtf' KAudioDevicePropertySubVolumeRangeDecibels KAudioDeviceProperty = 's'<<24 | 'v'<<16 | 'd'<<8 | '#' // 'svd#' KAudioDevicePropertySubVolumeScalar KAudioDeviceProperty = 's'<<24 | 'v'<<16 | 'l'<<8 | 'm' // 'svlm' KAudioDevicePropertySubVolumeScalarToDecibels KAudioDeviceProperty = 's'<<24 | 'v'<<16 | '2'<<8 | 'd' // 'sv2d' KAudioDevicePropertySupportsMixing KAudioDeviceProperty = 'm'<<24 | 'i'<<16 | 'x'<<8 | '?' // 'mix?' KAudioDevicePropertyTalkback KAudioDeviceProperty = 't'<<24 | 'a'<<16 | 'l'<<8 | 'b' // 'talb' KAudioDevicePropertyVoiceActivityDetectionEnable KAudioDeviceProperty = 'v'<<24 | 'A'<<16 | 'd'<<8 | '+' // 'vAd+' KAudioDevicePropertyVoiceActivityDetectionState KAudioDeviceProperty = 'v'<<24 | 'A'<<16 | 'd'<<8 | 'S' // 'vAdS' KAudioDevicePropertyVolumeDecibels KAudioDeviceProperty = 'v'<<24 | 'o'<<16 | 'l'<<8 | 'd' // 'vold' KAudioDevicePropertyVolumeDecibelsToScalar KAudioDeviceProperty = 'd'<<24 | 'b'<<16 | '2'<<8 | 'v' // 'db2v' KAudioDevicePropertyVolumeDecibelsToScalarTransferFunction KAudioDeviceProperty = 'v'<<24 | 'c'<<16 | 't'<<8 | 'f' // 'vctf' KAudioDevicePropertyVolumeRangeDecibels KAudioDeviceProperty = 'v'<<24 | 'd'<<16 | 'b'<<8 | '#' // 'vdb#' KAudioDevicePropertyVolumeScalar KAudioDeviceProperty = 'v'<<24 | 'o'<<16 | 'l'<<8 | 'm' // 'volm' KAudioDevicePropertyVolumeScalarToDecibels KAudioDeviceProperty = 'v'<<24 | '2'<<16 | 'd'<<8 | 'b' // 'v2db' KAudioDevicePropertyWantsControlsRestored KAudioDeviceProperty = 'r'<<24 | 'e'<<16 | 's'<<8 | 'c' // 'resc' KAudioDevicePropertyWantsStreamFormatsRestored KAudioDeviceProperty = 'r'<<24 | 'e'<<16 | 's'<<8 | 'f' // 'resf' KAudioDevicePropertyZeroTimeStampPeriod KAudioDeviceProperty = 0 )
func (KAudioDeviceProperty) String ¶
func (e KAudioDeviceProperty) String() string
type KAudioDevicePropertyScope ¶
type KAudioDevicePropertyScope uint
const ( KAudioDevicePropertyScopeInput KAudioDevicePropertyScope = 'i'<<24 | 'n'<<16 | 'p'<<8 | 't' // 'inpt' KAudioDevicePropertyScopeOutput KAudioDevicePropertyScope = 'o'<<24 | 'u'<<16 | 't'<<8 | 'p' // 'outp' KAudioDevicePropertyScopePlayThrough KAudioDevicePropertyScope = 0 )
func (KAudioDevicePropertyScope) String ¶
func (e KAudioDevicePropertyScope) String() string
type KAudioDeviceStartTime ¶
type KAudioDeviceStartTime uint
const ( KAudioDeviceStartTimeDontConsultDeviceFlag KAudioDeviceStartTime = 0 KAudioDeviceStartTimeDontConsultHALFlag KAudioDeviceStartTime = 0 KAudioDeviceStartTimeIsInputFlag KAudioDeviceStartTime = 0 )
func (KAudioDeviceStartTime) String ¶
func (e KAudioDeviceStartTime) String() string
type KAudioDeviceTransportType ¶
type KAudioDeviceTransportType uint
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 = 0 )
func (KAudioDeviceTransportType) String ¶
func (e KAudioDeviceTransportType) String() string
type KAudioDeviceTransportTypeAuto ¶
type KAudioDeviceTransportTypeAuto uint
const (
KAudioDeviceTransportTypeAutoAggregate KAudioDeviceTransportTypeAuto = 'f'<<24 | 'g'<<16 | 'r'<<8 | 'p' // 'fgrp'
)
func (KAudioDeviceTransportTypeAuto) String ¶
func (e KAudioDeviceTransportTypeAuto) String() string
type KAudioEndPointClassI ¶
type KAudioEndPointClassI uint
const (
KAudioEndPointClassID KAudioEndPointClassI = 'e'<<24 | 'n'<<16 | 'd'<<8 | 'p' // 'endp'
)
func (KAudioEndPointClassI) String ¶
func (e KAudioEndPointClassI) String() string
type KAudioEndPointDeviceClassI ¶
type KAudioEndPointDeviceClassI uint
const (
KAudioEndPointDeviceClassID KAudioEndPointDeviceClassI = 'e'<<24 | 'd'<<16 | 'e'<<8 | 'v' // 'edev'
)
func (KAudioEndPointDeviceClassI) String ¶
func (e KAudioEndPointDeviceClassI) String() string
type KAudioEndPointDeviceProperty ¶
type KAudioEndPointDeviceProperty uint
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 KAudioHardwareProperty ¶
type KAudioHardwareProperty uint
const ( KAudioHardwarePropertyBoxList KAudioHardwareProperty = 'b'<<24 | 'o'<<16 | 'x'<<8 | '#' // 'box#' KAudioHardwarePropertyClockDeviceList KAudioHardwareProperty = 'c'<<24 | 'l'<<16 | 'k'<<8 | '#' // 'clk#' KAudioHardwarePropertyDefaultInputDevice KAudioHardwareProperty = 'd'<<24 | 'I'<<16 | 'n'<<8 | ' ' // 'dIn ' KAudioHardwarePropertyDefaultOutputDevice KAudioHardwareProperty = 'd'<<24 | 'O'<<16 | 'u'<<8 | 't' // 'dOut' KAudioHardwarePropertyDefaultSystemOutputDevice KAudioHardwareProperty = 's'<<24 | 'O'<<16 | 'u'<<8 | 't' // 'sOut' KAudioHardwarePropertyDeviceForUID KAudioHardwareProperty = 'd'<<24 | 'u'<<16 | 'i'<<8 | 'd' // 'duid' KAudioHardwarePropertyDevices KAudioHardwareProperty = 'd'<<24 | 'e'<<16 | 'v'<<8 | '#' // 'dev#' KAudioHardwarePropertyHogModeIsAllowed KAudioHardwareProperty = 'h'<<24 | 'o'<<16 | 'g'<<8 | 'r' // 'hogr' KAudioHardwarePropertyIsInitingOrExiting KAudioHardwareProperty = 'i'<<24 | 'n'<<16 | 'o'<<8 | 't' // 'inot' KAudioHardwarePropertyMixStereoToMono KAudioHardwareProperty = 's'<<24 | 't'<<16 | 'm'<<8 | 'o' // 'stmo' KAudioHardwarePropertyPlugInForBundleID KAudioHardwareProperty = 'p'<<24 | 'i'<<16 | 'b'<<8 | 'i' // 'pibi' KAudioHardwarePropertyPlugInList KAudioHardwareProperty = 'p'<<24 | 'l'<<16 | 'g'<<8 | '#' // 'plg#' KAudioHardwarePropertyPowerHint KAudioHardwareProperty = 'p'<<24 | 'o'<<16 | 'w'<<8 | 'h' // 'powh' KAudioHardwarePropertyProcessInputMute KAudioHardwareProperty = 'p'<<24 | 'm'<<16 | 'i'<<8 | 'n' // 'pmin' KAudioHardwarePropertyProcessIsAudible KAudioHardwareProperty = 'p'<<24 | 'm'<<16 | 'u'<<8 | 't' // 'pmut' KAudioHardwarePropertyProcessIsMain KAudioHardwareProperty = 'm'<<24 | 'a'<<16 | 'i'<<8 | 'n' // 'main' KAudioHardwarePropertyProcessObjectList KAudioHardwareProperty = 'p'<<24 | 'r'<<16 | 's'<<8 | '#' // 'prs#' KAudioHardwarePropertyRunLoop KAudioHardwareProperty = 'r'<<24 | 'n'<<16 | 'l'<<8 | 'p' // 'rnlp' KAudioHardwarePropertyServiceRestarted KAudioHardwareProperty = 's'<<24 | 'r'<<16 | 's'<<8 | 't' // 'srst' KAudioHardwarePropertySleepingIsAllowed KAudioHardwareProperty = 's'<<24 | 'l'<<16 | 'e'<<8 | 'p' // 'slep' KAudioHardwarePropertyTapList KAudioHardwareProperty = 't'<<24 | 'p'<<16 | 's'<<8 | '#' // 'tps#' KAudioHardwarePropertyTranslateBundleIDToPlugIn KAudioHardwareProperty = 'b'<<24 | 'i'<<16 | 'd'<<8 | 'p' // 'bidp' KAudioHardwarePropertyTranslateBundleIDToTransportManager KAudioHardwareProperty = 't'<<24 | 'm'<<16 | 'b'<<8 | 'i' // 'tmbi' KAudioHardwarePropertyTranslatePIDToProcessObject KAudioHardwareProperty = 'i'<<24 | 'd'<<16 | '2'<<8 | 'p' // 'id2p' KAudioHardwarePropertyTranslateUIDToBox KAudioHardwareProperty = 'u'<<24 | 'i'<<16 | 'd'<<8 | 'b' // 'uidb' KAudioHardwarePropertyTranslateUIDToClockDevice KAudioHardwareProperty = 'u'<<24 | 'i'<<16 | 'd'<<8 | 'c' // 'uidc' KAudioHardwarePropertyTranslateUIDToDevice KAudioHardwareProperty = 'u'<<24 | 'i'<<16 | 'd'<<8 | 'd' // 'uidd' KAudioHardwarePropertyTranslateUIDToTap KAudioHardwareProperty = 'u'<<24 | 'i'<<16 | 'd'<<8 | 't' // 'uidt' KAudioHardwarePropertyTransportManagerList KAudioHardwareProperty = 't'<<24 | 'm'<<16 | 'g'<<8 | '#' // 'tmg#' KAudioHardwarePropertyUnloadingIsAllowed KAudioHardwareProperty = 'u'<<24 | 'n'<<16 | 'l'<<8 | 'd' // 'unld' KAudioHardwarePropertyUserIDChanged KAudioHardwareProperty = 'e'<<24 | 'u'<<16 | 'i'<<8 | 'd' // 'euid' KAudioHardwarePropertyUserSessionIsActiveOrHeadless KAudioHardwareProperty = 'u'<<24 | 's'<<16 | 'e'<<8 | 'r' // 'user' // Deprecated. KAudioHardwarePropertyProcessIsMaster KAudioHardwareProperty = 0 )
func (KAudioHardwareProperty) String ¶
func (e KAudioHardwareProperty) String() string
type KAudioHardwarePropertyBootChimeVolume ¶
type KAudioHardwarePropertyBootChimeVolume uint
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 KAudioISubOwnerControlClassI ¶
type KAudioISubOwnerControlClassI uint
const (
KAudioISubOwnerControlClassID KAudioISubOwnerControlClassI = 'a'<<24 | 't'<<16 | 'c'<<8 | 'h' // 'atch'
)
func (KAudioISubOwnerControlClassI) String ¶
func (e KAudioISubOwnerControlClassI) String() string
type KAudioLevelControlProperty ¶
type KAudioLevelControlProperty uint
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 uint
const (
KAudioLevelControlPropertyDecibelsToScalarTransferFunction KAudioLevelControlPropertyDecibelsToScalarTransfer = 'l'<<24 | 'c'<<16 | 't'<<8 | 'f' // 'lctf'
)
func (KAudioLevelControlPropertyDecibelsToScalarTransfer) String ¶
func (e KAudioLevelControlPropertyDecibelsToScalarTransfer) String() string
type KAudioObject ¶
type KAudioObject uint
const (
KAudioObjectUnknown KAudioObject = 0
)
func (KAudioObject) String ¶
func (e KAudioObject) String() string
type KAudioObjectClassI ¶
type KAudioObjectClassI uint
const (
KAudioObjectClassIDValue KAudioObjectClassI = 'a'<<24 | 'o'<<16 | 'b'<<8 | 'j' // 'aobj'
)
func (KAudioObjectClassI) String ¶
func (e KAudioObjectClassI) String() string
type KAudioObjectClassID ¶
type KAudioObjectClassID uint
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 KAudioObjectProperty ¶
type KAudioObjectProperty uint
const ( KAudioObjectPropertyBaseClass KAudioObjectProperty = 'b'<<24 | 'c'<<16 | 'l'<<8 | 's' // 'bcls' KAudioObjectPropertyClass KAudioObjectProperty = 'c'<<24 | 'l'<<16 | 'a'<<8 | 's' // 'clas' KAudioObjectPropertyCreator KAudioObjectProperty = 'o'<<24 | 'p'<<16 | 'l'<<8 | 'g' // 'oplg' KAudioObjectPropertyElementCategoryName KAudioObjectProperty = 'l'<<24 | 'c'<<16 | 'c'<<8 | 'n' // 'lccn' KAudioObjectPropertyElementMain KAudioObjectProperty = 0 KAudioObjectPropertyElementName KAudioObjectProperty = 'l'<<24 | 'c'<<16 | 'h'<<8 | 'n' // 'lchn' KAudioObjectPropertyElementNumberName KAudioObjectProperty = 'l'<<24 | 'c'<<16 | 'n'<<8 | 'n' // 'lcnn' KAudioObjectPropertyFirmwareVersion KAudioObjectProperty = 'f'<<24 | 'w'<<16 | 'v'<<8 | 'n' // 'fwvn' KAudioObjectPropertyIdentify KAudioObjectProperty = 'i'<<24 | 'd'<<16 | 'e'<<8 | 'n' // 'iden' KAudioObjectPropertyListenerAdded KAudioObjectProperty = 'l'<<24 | 'i'<<16 | 's'<<8 | 'a' // 'lisa' KAudioObjectPropertyListenerRemoved KAudioObjectProperty = 'l'<<24 | 'i'<<16 | 's'<<8 | 'r' // 'lisr' KAudioObjectPropertyManufacturer KAudioObjectProperty = 'l'<<24 | 'm'<<16 | 'a'<<8 | 'k' // 'lmak' KAudioObjectPropertyModelName KAudioObjectProperty = 'l'<<24 | 'm'<<16 | 'o'<<8 | 'd' // 'lmod' KAudioObjectPropertyName KAudioObjectProperty = 'l'<<24 | 'n'<<16 | 'a'<<8 | 'm' // 'lnam' KAudioObjectPropertyOwnedObjects KAudioObjectProperty = 'o'<<24 | 'w'<<16 | 'n'<<8 | 'd' // 'ownd' KAudioObjectPropertyOwner KAudioObjectProperty = 's'<<24 | 't'<<16 | 'd'<<8 | 'v' // 'stdv' KAudioObjectPropertyScopeGlobal KAudioObjectProperty = 'g'<<24 | 'l'<<16 | 'o'<<8 | 'b' // 'glob' KAudioObjectPropertyScopeInput KAudioObjectProperty = 'i'<<24 | 'n'<<16 | 'p'<<8 | 't' // 'inpt' KAudioObjectPropertyScopeOutput KAudioObjectProperty = 'o'<<24 | 'u'<<16 | 't'<<8 | 'p' // 'outp' KAudioObjectPropertyScopePlayThrough KAudioObjectProperty = 'p'<<24 | 't'<<16 | 'r'<<8 | 'u' // 'ptru' KAudioObjectPropertySerialNumber KAudioObjectProperty = 's'<<24 | 'n'<<16 | 'u'<<8 | 'm' // 'snum' // Deprecated. KAudioObjectPropertyElementMaster KAudioObjectProperty = 0 )
func (KAudioObjectProperty) String ¶
func (e KAudioObjectProperty) String() string
type KAudioObjectPropertyCustomPropertyInfo ¶
type KAudioObjectPropertyCustomPropertyInfo uint
const (
KAudioObjectPropertyCustomPropertyInfoList KAudioObjectPropertyCustomPropertyInfo = 0
)
func (KAudioObjectPropertyCustomPropertyInfo) String ¶
func (e KAudioObjectPropertyCustomPropertyInfo) String() string
type KAudioObjectPropertyElement ¶
type KAudioObjectPropertyElement uint
const (
KAudioObjectPropertyElementWildcard KAudioObjectPropertyElement = 0
)
func (KAudioObjectPropertyElement) String ¶
func (e KAudioObjectPropertyElement) String() string
type KAudioObjectPropertyScope ¶
type KAudioObjectPropertyScope uint
const (
KAudioObjectPropertyScopeWildcard KAudioObjectPropertyScope = '*'<<24 | '*'<<16 | '*'<<8 | '*' // '****'
)
func (KAudioObjectPropertyScope) String ¶
func (e KAudioObjectPropertyScope) String() string
type KAudioObjectPropertySelector ¶
type KAudioObjectPropertySelector uint
const (
KAudioObjectPropertySelectorWildcard KAudioObjectPropertySelector = '*'<<24 | '*'<<16 | '*'<<8 | '*' // '****'
)
func (KAudioObjectPropertySelector) String ¶
func (e KAudioObjectPropertySelector) String() string
type KAudioObjectSystem ¶
type KAudioObjectSystem uint
const (
KAudioObjectSystemObject KAudioObjectSystem = 0
)
func (KAudioObjectSystem) String ¶
func (e KAudioObjectSystem) String() string
type KAudioPlugIn ¶
type KAudioPlugIn uint
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 uint
const (
KAudioPlugInClassID KAudioPlugInClassI = 'a'<<24 | 'p'<<16 | 'l'<<8 | 'g' // 'aplg'
)
func (KAudioPlugInClassI) String ¶
func (e KAudioPlugInClassI) String() string
type KAudioPlugInProperty ¶
type KAudioPlugInProperty uint
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 uint
const (
KAudioProcessClassID KAudioProcessClassI = 'c'<<24 | 'l'<<16 | 'n'<<8 | 't' // 'clnt'
)
func (KAudioProcessClassI) String ¶
func (e KAudioProcessClassI) String() string
type KAudioProcessProperty ¶
type KAudioProcessProperty uint
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 KAudioPropertyWildcard ¶
type KAudioPropertyWildcard uint
const ( KAudioPropertyWildcardChannel KAudioPropertyWildcard = 0 KAudioPropertyWildcardSection KAudioPropertyWildcard = 0 )
func (KAudioPropertyWildcard) String ¶
func (e KAudioPropertyWildcard) String() string
type KAudioPropertyWildcardPropertyI ¶
type KAudioPropertyWildcardPropertyI uint
const (
KAudioPropertyWildcardPropertyID KAudioPropertyWildcardPropertyI = 0
)
func (KAudioPropertyWildcardPropertyI) String ¶
func (e KAudioPropertyWildcardPropertyI) String() string
type KAudioSelectorControlItemKind ¶
type KAudioSelectorControlItemKind uint
const (
KAudioSelectorControlItemKindSpacer KAudioSelectorControlItemKind = 's'<<24 | 'p'<<16 | 'c'<<8 | 'r' // 'spcr'
)
func (KAudioSelectorControlItemKind) String ¶
func (e KAudioSelectorControlItemKind) String() string
type KAudioSelectorControlProperty ¶
type KAudioSelectorControlProperty uint
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 uint
const (
KAudioSliderControlClassID KAudioSliderControlClassI = 's'<<24 | 'l'<<16 | 'd'<<8 | 'r' // 'sldr'
)
func (KAudioSliderControlClassI) String ¶
func (e KAudioSliderControlClassI) String() string
type KAudioSliderControlProperty ¶
type KAudioSliderControlProperty uint
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 uint
const (
KAudioStereoPanControlClassID KAudioStereoPanControlClassI = 's'<<24 | 'p'<<16 | 'a'<<8 | 'n' // 'span'
)
func (KAudioStereoPanControlClassI) String ¶
func (e KAudioStereoPanControlClassI) String() string
type KAudioStereoPanControlProperty ¶
type KAudioStereoPanControlProperty uint
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 uint
const (
KAudioStreamUnknown KAudioStream = 0
)
func (KAudioStream) String ¶
func (e KAudioStream) String() string
type KAudioStreamClassI ¶
type KAudioStreamClassI uint
const (
KAudioStreamClassID KAudioStreamClassI = 'a'<<24 | 's'<<16 | 't'<<8 | 'r' // 'astr'
)
func (KAudioStreamClassI) String ¶
func (e KAudioStreamClassI) String() string
type KAudioStreamProperty ¶
type KAudioStreamProperty uint
const ( KAudioStreamPropertyAvailablePhysicalFormats KAudioStreamProperty = 'p'<<24 | 'f'<<16 | 't'<<8 | 'a' // 'pfta' KAudioStreamPropertyAvailableVirtualFormats KAudioStreamProperty = 's'<<24 | 'f'<<16 | 'm'<<8 | 'a' // 'sfma' KAudioStreamPropertyDirection KAudioStreamProperty = 's'<<24 | 'd'<<16 | 'i'<<8 | 'r' // 'sdir' KAudioStreamPropertyIsActive KAudioStreamProperty = 's'<<24 | 'a'<<16 | 'c'<<8 | 't' // 'sact' KAudioStreamPropertyLatency KAudioStreamProperty = 'l'<<24 | 't'<<16 | 'n'<<8 | 'c' // 'ltnc' KAudioStreamPropertyOwningDevice KAudioStreamProperty = 's'<<24 | 't'<<16 | 'd'<<8 | 'v' // 'stdv' KAudioStreamPropertyPhysicalFormat KAudioStreamProperty = 'p'<<24 | 'f'<<16 | 't'<<8 | ' ' // 'pft ' KAudioStreamPropertyPhysicalFormatMatch KAudioStreamProperty = 'p'<<24 | 'f'<<16 | 't'<<8 | 'm' // 'pftm' KAudioStreamPropertyPhysicalFormatSupported KAudioStreamProperty = 'p'<<24 | 'f'<<16 | 't'<<8 | '?' // 'pft?' KAudioStreamPropertyPhysicalFormats KAudioStreamProperty = 'p'<<24 | 'f'<<16 | 't'<<8 | '#' // 'pft#' KAudioStreamPropertyStartingChannel KAudioStreamProperty = 's'<<24 | 'c'<<16 | 'h'<<8 | 'n' // 'schn' KAudioStreamPropertyTerminalType KAudioStreamProperty = 't'<<24 | 'e'<<16 | 'r'<<8 | 'm' // 'term' KAudioStreamPropertyVirtualFormat KAudioStreamProperty = 's'<<24 | 'f'<<16 | 'm'<<8 | 't' // 'sfmt' )
func (KAudioStreamProperty) String ¶
func (e KAudioStreamProperty) String() string
type KAudioStreamTerminalType ¶
type KAudioStreamTerminalType uint
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 uint
const (
KAudioSubDeviceClassID KAudioSubDeviceClassI = 'a'<<24 | 's'<<16 | 'u'<<8 | 'b' // 'asub'
)
func (KAudioSubDeviceClassI) String ¶
func (e KAudioSubDeviceClassI) String() string
type KAudioSubDeviceDriftCompensation ¶
type KAudioSubDeviceDriftCompensation uint
const ( // Deprecated. KAudioSubDeviceDriftCompensationHighQuality KAudioSubDeviceDriftCompensation = 0 // Deprecated. KAudioSubDeviceDriftCompensationLowQuality KAudioSubDeviceDriftCompensation = 0 // Deprecated. KAudioSubDeviceDriftCompensationMaxQuality KAudioSubDeviceDriftCompensation = 0 // Deprecated. KAudioSubDeviceDriftCompensationMediumQuality KAudioSubDeviceDriftCompensation = 0 // Deprecated. KAudioSubDeviceDriftCompensationMinQuality KAudioSubDeviceDriftCompensation = 0 )
func (KAudioSubDeviceDriftCompensation) String ¶
func (e KAudioSubDeviceDriftCompensation) String() string
type KAudioSubDeviceProperty ¶
type KAudioSubDeviceProperty uint
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 uint
const (
KAudioSubTapClassID KAudioSubTapClassI = 's'<<24 | 't'<<16 | 'a'<<8 | 'p' // 'stap'
)
func (KAudioSubTapClassI) String ¶
func (e KAudioSubTapClassI) String() string
type KAudioSubTapProperty ¶
type KAudioSubTapProperty uint
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 uint
const (
KAudioSystemObjectClassID KAudioSystemObjectClassI = 'a'<<24 | 's'<<16 | 'y'<<8 | 's' // 'asys'
)
func (KAudioSystemObjectClassI) String ¶
func (e KAudioSystemObjectClassI) String() string
type KAudioTapClassI ¶
type KAudioTapClassI uint
const (
KAudioTapClassID KAudioTapClassI = 't'<<24 | 'c'<<16 | 'l'<<8 | 's' // 'tcls'
)
func (KAudioTapClassI) String ¶
func (e KAudioTapClassI) String() string
type KAudioTapProperty ¶
type KAudioTapProperty uint
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 uint
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 uint
const (
KAudioTransportManagerClassID KAudioTransportManagerClassI = 't'<<24 | 'r'<<16 | 'p'<<8 | 'm' // 'trpm'
)
func (KAudioTransportManagerClassI) String ¶
func (e KAudioTransportManagerClassI) String() string
type KAudioTransportManagerProperty ¶
type KAudioTransportManagerProperty uint
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