coreaudio

package
v0.6.20 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 3, 2026 License: MIT Imports: 11 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package coreaudio provides Go bindings for the CoreAudio framework.

Use the Core Audio framework to interact with device’s audio hardware.

Drivers

Classes

Key Types

Code generated from Apple documentation. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AudioConvertHostTimeToNanos

func AudioConvertHostTimeToNanos(inHostTime uint64) uint64

AudioConvertHostTimeToNanos.

It panics if AudioConvertHostTimeToNanos is unavailable at run time; use TryAudioConvertHostTimeToNanos to get an error instead.

See: https://developer.apple.com/documentation/CoreAudio/AudioConvertHostTimeToNanos(_:)

func AudioConvertNanosToHostTime

func AudioConvertNanosToHostTime(inNanos uint64) uint64

AudioConvertNanosToHostTime.

It panics if AudioConvertNanosToHostTime is unavailable at run time; use TryAudioConvertNanosToHostTime to get an error instead.

See: https://developer.apple.com/documentation/CoreAudio/AudioConvertNanosToHostTime(_:)

func AudioDeviceAddIOProc deprecated

func AudioDeviceAddIOProc(inDevice AudioDeviceID, inProc AudioDeviceIOProc, inClientData unsafe.Pointer) int32

AudioDeviceAddIOProc.

It panics if AudioDeviceAddIOProc is unavailable at run time; use TryAudioDeviceAddIOProc to get an error instead.

Deprecated: Deprecated since macOS 10.5.

See: https://developer.apple.com/documentation/CoreAudio/AudioDeviceAddIOProc

func AudioDeviceAddPropertyListener deprecated

func AudioDeviceAddPropertyListener(inDevice AudioDeviceID, inChannel uint32, isInput bool, inPropertyID AudioDevicePropertyID, inProc AudioDevicePropertyListenerProc, inClientData unsafe.Pointer) int32

AudioDeviceAddPropertyListener.

It panics if AudioDeviceAddPropertyListener is unavailable at run time; use TryAudioDeviceAddPropertyListener to get an error instead.

Deprecated: Deprecated since macOS 10.6.

See: https://developer.apple.com/documentation/CoreAudio/AudioDeviceAddPropertyListener

func AudioDeviceCreateIOProcID

func AudioDeviceCreateIOProcID(inDevice AudioObjectID, inProc AudioDeviceIOProc, inClientData unsafe.Pointer, outIOProcID *AudioDeviceIOProcID) int32

AudioDeviceCreateIOProcID.

It panics if AudioDeviceCreateIOProcID is unavailable at run time; use TryAudioDeviceCreateIOProcID to get an error instead.

See: https://developer.apple.com/documentation/CoreAudio/AudioDeviceCreateIOProcID(_:_:_:_:)

func AudioDeviceCreateIOProcIDWithBlock

func AudioDeviceCreateIOProcIDWithBlock(outIOProcID *AudioDeviceIOProcID, inDevice AudioObjectID, inDispatchQueue dispatch.Queue, inIOBlock AudioDeviceIOBlock) int32

AudioDeviceCreateIOProcIDWithBlock.

It panics if AudioDeviceCreateIOProcIDWithBlock is unavailable at run time; use TryAudioDeviceCreateIOProcIDWithBlock to get an error instead.

See: https://developer.apple.com/documentation/CoreAudio/AudioDeviceCreateIOProcIDWithBlock(_:_:_:_:)

func AudioDeviceDestroyIOProcID

func AudioDeviceDestroyIOProcID(inDevice AudioObjectID, inIOProcID AudioDeviceIOProcID) int32

AudioDeviceDestroyIOProcID.

It panics if AudioDeviceDestroyIOProcID is unavailable at run time; use TryAudioDeviceDestroyIOProcID to get an error instead.

See: https://developer.apple.com/documentation/CoreAudio/AudioDeviceDestroyIOProcID(_:_:)

func AudioDeviceGetCurrentTime

func AudioDeviceGetCurrentTime(inDevice AudioObjectID, outTime *coreaudiotypes.AudioTimeStamp) int32

AudioDeviceGetCurrentTime.

It panics if AudioDeviceGetCurrentTime is unavailable at run time; use TryAudioDeviceGetCurrentTime to get an error instead.

See: https://developer.apple.com/documentation/CoreAudio/AudioDeviceGetCurrentTime(_:_:)

func AudioDeviceGetNearestStartTime

func AudioDeviceGetNearestStartTime(inDevice AudioObjectID, ioRequestedStartTime *coreaudiotypes.AudioTimeStamp, inFlags uint32) int32

AudioDeviceGetNearestStartTime.

It panics if AudioDeviceGetNearestStartTime is unavailable at run time; use TryAudioDeviceGetNearestStartTime to get an error instead.

See: https://developer.apple.com/documentation/CoreAudio/AudioDeviceGetNearestStartTime(_:_:_:)

func AudioDeviceGetProperty deprecated

func AudioDeviceGetProperty(inDevice AudioDeviceID, inChannel uint32, isInput bool, inPropertyID AudioDevicePropertyID, ioPropertyDataSize *uint32, outPropertyData unsafe.Pointer) int32

AudioDeviceGetProperty.

It panics if AudioDeviceGetProperty is unavailable at run time; use TryAudioDeviceGetProperty to get an error instead.

Deprecated: Deprecated since macOS 10.6.

See: https://developer.apple.com/documentation/CoreAudio/AudioDeviceGetProperty

func AudioDeviceGetPropertyInfo deprecated

func AudioDeviceGetPropertyInfo(inDevice AudioDeviceID, inChannel uint32, isInput bool, inPropertyID AudioDevicePropertyID, outSize *uint32, outWritable *bool) int32

AudioDeviceGetPropertyInfo.

It panics if AudioDeviceGetPropertyInfo is unavailable at run time; use TryAudioDeviceGetPropertyInfo to get an error instead.

Deprecated: Deprecated since macOS 10.6.

See: https://developer.apple.com/documentation/CoreAudio/AudioDeviceGetPropertyInfo

func AudioDeviceRead deprecated

func AudioDeviceRead(inDevice AudioDeviceID, inStartTime *coreaudiotypes.AudioTimeStamp, outData *coreaudiotypes.AudioBufferList) int32

AudioDeviceRead.

It panics if AudioDeviceRead is unavailable at run time; use TryAudioDeviceRead to get an error instead.

Deprecated: Deprecated since macOS 10.5.

See: https://developer.apple.com/documentation/CoreAudio/AudioDeviceRead

func AudioDeviceRemoveIOProc deprecated

func AudioDeviceRemoveIOProc(inDevice AudioDeviceID, inProc AudioDeviceIOProc) int32

AudioDeviceRemoveIOProc.

It panics if AudioDeviceRemoveIOProc is unavailable at run time; use TryAudioDeviceRemoveIOProc to get an error instead.

Deprecated: Deprecated since macOS 10.5.

See: https://developer.apple.com/documentation/CoreAudio/AudioDeviceRemoveIOProc

func AudioDeviceRemovePropertyListener deprecated

func AudioDeviceRemovePropertyListener(inDevice AudioDeviceID, inChannel uint32, isInput bool, inPropertyID AudioDevicePropertyID, inProc AudioDevicePropertyListenerProc) int32

AudioDeviceRemovePropertyListener.

It panics if AudioDeviceRemovePropertyListener is unavailable at run time; use TryAudioDeviceRemovePropertyListener to get an error instead.

Deprecated: Deprecated since macOS 10.6.

See: https://developer.apple.com/documentation/CoreAudio/AudioDeviceRemovePropertyListener

func AudioDeviceSetProperty deprecated

func AudioDeviceSetProperty(inDevice AudioDeviceID, inWhen *coreaudiotypes.AudioTimeStamp, inChannel uint32, isInput bool, inPropertyID AudioDevicePropertyID, inPropertyDataSize uint32, inPropertyData unsafe.Pointer) int32

AudioDeviceSetProperty.

It panics if AudioDeviceSetProperty is unavailable at run time; use TryAudioDeviceSetProperty to get an error instead.

Deprecated: Deprecated since macOS 10.6.

See: https://developer.apple.com/documentation/CoreAudio/AudioDeviceSetProperty

func AudioDeviceStart

func AudioDeviceStart(inDevice AudioObjectID, inProcID AudioDeviceIOProcID) int32

AudioDeviceStart.

It panics if AudioDeviceStart is unavailable at run time; use TryAudioDeviceStart to get an error instead.

See: https://developer.apple.com/documentation/CoreAudio/AudioDeviceStart(_:_:)

func AudioDeviceStartAtTime

func AudioDeviceStartAtTime(inDevice AudioObjectID, inProcID AudioDeviceIOProcID, ioRequestedStartTime *coreaudiotypes.AudioTimeStamp, inFlags uint32) int32

AudioDeviceStartAtTime.

It panics if AudioDeviceStartAtTime is unavailable at run time; use TryAudioDeviceStartAtTime to get an error instead.

See: https://developer.apple.com/documentation/CoreAudio/AudioDeviceStartAtTime(_:_:_:_:)

func AudioDeviceStop

func AudioDeviceStop(inDevice AudioObjectID, inProcID AudioDeviceIOProcID) int32

AudioDeviceStop.

It panics if AudioDeviceStop is unavailable at run time; use TryAudioDeviceStop to get an error instead.

See: https://developer.apple.com/documentation/CoreAudio/AudioDeviceStop(_:_:)

func AudioDeviceTranslateTime

func AudioDeviceTranslateTime(inDevice AudioObjectID, inTime *coreaudiotypes.AudioTimeStamp, outTime *coreaudiotypes.AudioTimeStamp) int32

AudioDeviceTranslateTime.

It panics if AudioDeviceTranslateTime is unavailable at run time; use TryAudioDeviceTranslateTime to get an error instead.

See: https://developer.apple.com/documentation/CoreAudio/AudioDeviceTranslateTime(_:_:_:)

func AudioDriverPlugInClose

func AudioDriverPlugInClose(inDevice AudioDeviceID) int32

AudioDriverPlugInClose.

It panics if AudioDriverPlugInClose is unavailable at run time; use TryAudioDriverPlugInClose to get an error instead.

See: https://developer.apple.com/documentation/CoreAudio/AudioDriverPlugInClose

func AudioDriverPlugInDeviceGetProperty

func AudioDriverPlugInDeviceGetProperty(inDevice AudioDeviceID, inChannel uint32, isInput bool, inPropertyID AudioDevicePropertyID, ioPropertyDataSize *uint32, outPropertyData unsafe.Pointer) int32

AudioDriverPlugInDeviceGetProperty.

It panics if AudioDriverPlugInDeviceGetProperty is unavailable at run time; use TryAudioDriverPlugInDeviceGetProperty to get an error instead.

See: https://developer.apple.com/documentation/CoreAudio/AudioDriverPlugInDeviceGetProperty

func AudioDriverPlugInDeviceGetPropertyInfo

func AudioDriverPlugInDeviceGetPropertyInfo(inDevice AudioDeviceID, inChannel uint32, isInput bool, inPropertyID AudioDevicePropertyID, outSize *uint32, outWritable *bool) int32

AudioDriverPlugInDeviceGetPropertyInfo.

It panics if AudioDriverPlugInDeviceGetPropertyInfo is unavailable at run time; use TryAudioDriverPlugInDeviceGetPropertyInfo to get an error instead.

See: https://developer.apple.com/documentation/CoreAudio/AudioDriverPlugInDeviceGetPropertyInfo

func AudioDriverPlugInDeviceSetProperty

func AudioDriverPlugInDeviceSetProperty(inDevice AudioDeviceID, inWhen *coreaudiotypes.AudioTimeStamp, inChannel uint32, isInput bool, inPropertyID AudioDevicePropertyID, inPropertyDataSize uint32, inPropertyData unsafe.Pointer) int32

AudioDriverPlugInDeviceSetProperty.

It panics if AudioDriverPlugInDeviceSetProperty is unavailable at run time; use TryAudioDriverPlugInDeviceSetProperty to get an error instead.

See: https://developer.apple.com/documentation/CoreAudio/AudioDriverPlugInDeviceSetProperty

func AudioDriverPlugInOpen

func AudioDriverPlugInOpen(inHostInfo *AudioDriverPlugInHostInfo) int32

AudioDriverPlugInOpen.

It panics if AudioDriverPlugInOpen is unavailable at run time; use TryAudioDriverPlugInOpen to get an error instead.

See: https://developer.apple.com/documentation/CoreAudio/AudioDriverPlugInOpen

func AudioDriverPlugInStreamGetProperty

func AudioDriverPlugInStreamGetProperty(inDevice AudioDeviceID, inIOAudioStream uint32, inChannel uint32, inPropertyID AudioDevicePropertyID, ioPropertyDataSize *uint32, outPropertyData unsafe.Pointer) int32

AudioDriverPlugInStreamGetProperty.

It panics if AudioDriverPlugInStreamGetProperty is unavailable at run time; use TryAudioDriverPlugInStreamGetProperty to get an error instead.

See: https://developer.apple.com/documentation/CoreAudio/AudioDriverPlugInStreamGetProperty

func AudioDriverPlugInStreamGetPropertyInfo

func AudioDriverPlugInStreamGetPropertyInfo(inDevice AudioDeviceID, inIOAudioStream uint32, inChannel uint32, inPropertyID AudioDevicePropertyID, outSize *uint32, outWritable *bool) int32

AudioDriverPlugInStreamGetPropertyInfo.

It panics if AudioDriverPlugInStreamGetPropertyInfo is unavailable at run time; use TryAudioDriverPlugInStreamGetPropertyInfo to get an error instead.

See: https://developer.apple.com/documentation/CoreAudio/AudioDriverPlugInStreamGetPropertyInfo

func AudioDriverPlugInStreamSetProperty

func AudioDriverPlugInStreamSetProperty(inDevice AudioDeviceID, inIOAudioStream uint32, inWhen *coreaudiotypes.AudioTimeStamp, inChannel uint32, inPropertyID AudioDevicePropertyID, inPropertyDataSize uint32, inPropertyData unsafe.Pointer) int32

AudioDriverPlugInStreamSetProperty.

It panics if AudioDriverPlugInStreamSetProperty is unavailable at run time; use TryAudioDriverPlugInStreamSetProperty to get an error instead.

See: https://developer.apple.com/documentation/CoreAudio/AudioDriverPlugInStreamSetProperty

func AudioGetCurrentHostTime

func AudioGetCurrentHostTime() uint64

AudioGetCurrentHostTime.

It panics if AudioGetCurrentHostTime is unavailable at run time; use TryAudioGetCurrentHostTime to get an error instead.

See: https://developer.apple.com/documentation/CoreAudio/AudioGetCurrentHostTime()

func AudioGetHostClockFrequency

func AudioGetHostClockFrequency() float64

AudioGetHostClockFrequency.

It panics if AudioGetHostClockFrequency is unavailable at run time; use TryAudioGetHostClockFrequency to get an error instead.

See: https://developer.apple.com/documentation/CoreAudio/AudioGetHostClockFrequency()

func AudioGetHostClockMinimumTimeDelta

func AudioGetHostClockMinimumTimeDelta() uint32

AudioGetHostClockMinimumTimeDelta.

It panics if AudioGetHostClockMinimumTimeDelta is unavailable at run time; use TryAudioGetHostClockMinimumTimeDelta to get an error instead.

See: https://developer.apple.com/documentation/CoreAudio/AudioGetHostClockMinimumTimeDelta()

func AudioHardwareAddPropertyListener deprecated

func AudioHardwareAddPropertyListener(inPropertyID AudioHardwarePropertyID, inProc AudioHardwarePropertyListenerProc, inClientData unsafe.Pointer) int32

AudioHardwareAddPropertyListener.

It panics if AudioHardwareAddPropertyListener is unavailable at run time; use TryAudioHardwareAddPropertyListener to get an error instead.

Deprecated: Deprecated since macOS 10.6.

See: https://developer.apple.com/documentation/CoreAudio/AudioHardwareAddPropertyListener

func AudioHardwareAddRunLoopSource deprecated

func AudioHardwareAddRunLoopSource(inRunLoopSource corefoundation.CFRunLoopSourceRef) int32

AudioHardwareAddRunLoopSource.

It panics if AudioHardwareAddRunLoopSource is unavailable at run time; use TryAudioHardwareAddRunLoopSource to get an error instead.

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/CoreAudio/AudioHardwareAddRunLoopSource

func AudioHardwareCreateAggregateDevice

func AudioHardwareCreateAggregateDevice(inDescription corefoundation.CFDictionaryRef, outDeviceID *AudioObjectID) int32

AudioHardwareCreateAggregateDevice.

It panics if AudioHardwareCreateAggregateDevice is unavailable at run time; use TryAudioHardwareCreateAggregateDevice to get an error instead.

See: https://developer.apple.com/documentation/CoreAudio/AudioHardwareCreateAggregateDevice(_:_:)

func AudioHardwareCreateProcessTap

func AudioHardwareCreateProcessTap(inDescription CATapDescription, outTapID *AudioObjectID) int32

AudioHardwareCreateProcessTap.

It panics if AudioHardwareCreateProcessTap is unavailable at run time; use TryAudioHardwareCreateProcessTap to get an error instead.

See: https://developer.apple.com/documentation/CoreAudio/AudioHardwareCreateProcessTap(_:_:)

func AudioHardwareDestroyAggregateDevice

func AudioHardwareDestroyAggregateDevice(inDeviceID AudioObjectID) int32

AudioHardwareDestroyAggregateDevice.

It panics if AudioHardwareDestroyAggregateDevice is unavailable at run time; use TryAudioHardwareDestroyAggregateDevice to get an error instead.

See: https://developer.apple.com/documentation/CoreAudio/AudioHardwareDestroyAggregateDevice(_:)

func AudioHardwareDestroyProcessTap

func AudioHardwareDestroyProcessTap(inTapID AudioObjectID) int32

AudioHardwareDestroyProcessTap.

It panics if AudioHardwareDestroyProcessTap is unavailable at run time; use TryAudioHardwareDestroyProcessTap to get an error instead.

See: https://developer.apple.com/documentation/CoreAudio/AudioHardwareDestroyProcessTap(_:)

func AudioHardwareGetProperty deprecated

func AudioHardwareGetProperty(inPropertyID AudioHardwarePropertyID, ioPropertyDataSize *uint32, outPropertyData unsafe.Pointer) int32

AudioHardwareGetProperty.

It panics if AudioHardwareGetProperty is unavailable at run time; use TryAudioHardwareGetProperty to get an error instead.

Deprecated: Deprecated since macOS 10.6.

See: https://developer.apple.com/documentation/CoreAudio/AudioHardwareGetProperty

func AudioHardwareGetPropertyInfo deprecated

func AudioHardwareGetPropertyInfo(inPropertyID AudioHardwarePropertyID, outSize *uint32, outWritable *bool) int32

AudioHardwareGetPropertyInfo.

It panics if AudioHardwareGetPropertyInfo is unavailable at run time; use TryAudioHardwareGetPropertyInfo to get an error instead.

Deprecated: Deprecated since macOS 10.6.

See: https://developer.apple.com/documentation/CoreAudio/AudioHardwareGetPropertyInfo

func AudioHardwareRemovePropertyListener deprecated

func AudioHardwareRemovePropertyListener(inPropertyID AudioHardwarePropertyID, inProc AudioHardwarePropertyListenerProc) int32

AudioHardwareRemovePropertyListener.

It panics if AudioHardwareRemovePropertyListener is unavailable at run time; use TryAudioHardwareRemovePropertyListener to get an error instead.

Deprecated: Deprecated since macOS 10.6.

See: https://developer.apple.com/documentation/CoreAudio/AudioHardwareRemovePropertyListener

func AudioHardwareRemoveRunLoopSource deprecated

func AudioHardwareRemoveRunLoopSource(inRunLoopSource corefoundation.CFRunLoopSourceRef) int32

AudioHardwareRemoveRunLoopSource.

It panics if AudioHardwareRemoveRunLoopSource is unavailable at run time; use TryAudioHardwareRemoveRunLoopSource to get an error instead.

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/CoreAudio/AudioHardwareRemoveRunLoopSource

func AudioHardwareSetProperty deprecated

func AudioHardwareSetProperty(inPropertyID AudioHardwarePropertyID, inPropertyDataSize uint32, inPropertyData unsafe.Pointer) int32

AudioHardwareSetProperty.

It panics if AudioHardwareSetProperty is unavailable at run time; use TryAudioHardwareSetProperty to get an error instead.

Deprecated: Deprecated since macOS 10.6.

See: https://developer.apple.com/documentation/CoreAudio/AudioHardwareSetProperty

func AudioHardwareUnload

func AudioHardwareUnload() int32

AudioHardwareUnload.

It panics if AudioHardwareUnload is unavailable at run time; use TryAudioHardwareUnload to get an error instead.

See: https://developer.apple.com/documentation/CoreAudio/AudioHardwareUnload()

func AudioObjectAddPropertyListener

func AudioObjectAddPropertyListener(inObjectID AudioObjectID, inAddress *AudioObjectPropertyAddress, inListener AudioObjectPropertyListenerProc, inClientData unsafe.Pointer) int32

AudioObjectAddPropertyListener.

It panics if AudioObjectAddPropertyListener is unavailable at run time; use TryAudioObjectAddPropertyListener to get an error instead.

See: https://developer.apple.com/documentation/CoreAudio/AudioObjectAddPropertyListener(_:_:_:_:)

func AudioObjectAddPropertyListenerBlock

func AudioObjectAddPropertyListenerBlock(inObjectID AudioObjectID, inAddress *AudioObjectPropertyAddress, inDispatchQueue dispatch.Queue, inListener AudioObjectPropertyListenerBlock) int32

AudioObjectAddPropertyListenerBlock.

It panics if AudioObjectAddPropertyListenerBlock is unavailable at run time; use TryAudioObjectAddPropertyListenerBlock to get an error instead.

See: https://developer.apple.com/documentation/CoreAudio/AudioObjectAddPropertyListenerBlock(_:_:_:_:)

func AudioObjectGetPropertyData

func AudioObjectGetPropertyData(inObjectID AudioObjectID, inAddress *AudioObjectPropertyAddress, inQualifierDataSize uint32, inQualifierData unsafe.Pointer, ioDataSize *uint32, outData unsafe.Pointer) int32

AudioObjectGetPropertyData.

It panics if AudioObjectGetPropertyData is unavailable at run time; use TryAudioObjectGetPropertyData to get an error instead.

See: https://developer.apple.com/documentation/CoreAudio/AudioObjectGetPropertyData(_:_:_:_:_:_:)

func AudioObjectGetPropertyDataSize

func AudioObjectGetPropertyDataSize(inObjectID AudioObjectID, inAddress *AudioObjectPropertyAddress, inQualifierDataSize uint32, inQualifierData unsafe.Pointer, outDataSize *uint32) int32

AudioObjectGetPropertyDataSize.

It panics if AudioObjectGetPropertyDataSize is unavailable at run time; use TryAudioObjectGetPropertyDataSize to get an error instead.

See: https://developer.apple.com/documentation/CoreAudio/AudioObjectGetPropertyDataSize(_:_:_:_:_:)

func AudioObjectHasProperty

func AudioObjectHasProperty(inObjectID AudioObjectID, inAddress *AudioObjectPropertyAddress) bool

AudioObjectHasProperty.

It panics if AudioObjectHasProperty is unavailable at run time; use TryAudioObjectHasProperty to get an error instead.

See: https://developer.apple.com/documentation/CoreAudio/AudioObjectHasProperty(_:_:)

func AudioObjectIsPropertySettable

func AudioObjectIsPropertySettable(inObjectID AudioObjectID, inAddress *AudioObjectPropertyAddress, outIsSettable *bool) int32

AudioObjectIsPropertySettable.

It panics if AudioObjectIsPropertySettable is unavailable at run time; use TryAudioObjectIsPropertySettable to get an error instead.

See: https://developer.apple.com/documentation/CoreAudio/AudioObjectIsPropertySettable(_:_:_:)

func AudioObjectRemovePropertyListener

func AudioObjectRemovePropertyListener(inObjectID AudioObjectID, inAddress *AudioObjectPropertyAddress, inListener AudioObjectPropertyListenerProc, inClientData unsafe.Pointer) int32

AudioObjectRemovePropertyListener.

It panics if AudioObjectRemovePropertyListener is unavailable at run time; use TryAudioObjectRemovePropertyListener to get an error instead.

See: https://developer.apple.com/documentation/CoreAudio/AudioObjectRemovePropertyListener(_:_:_:_:)

func AudioObjectRemovePropertyListenerBlock

func AudioObjectRemovePropertyListenerBlock(inObjectID AudioObjectID, inAddress *AudioObjectPropertyAddress, inDispatchQueue dispatch.Queue, inListener AudioObjectPropertyListenerBlock) int32

AudioObjectRemovePropertyListenerBlock.

It panics if AudioObjectRemovePropertyListenerBlock is unavailable at run time; use TryAudioObjectRemovePropertyListenerBlock to get an error instead.

See: https://developer.apple.com/documentation/CoreAudio/AudioObjectRemovePropertyListenerBlock(_:_:_:_:)

func AudioObjectSetPropertyData

func AudioObjectSetPropertyData(inObjectID AudioObjectID, inAddress *AudioObjectPropertyAddress, inQualifierDataSize uint32, inQualifierData unsafe.Pointer, inDataSize uint32, inData unsafe.Pointer) int32

AudioObjectSetPropertyData.

It panics if AudioObjectSetPropertyData is unavailable at run time; use TryAudioObjectSetPropertyData to get an error instead.

See: https://developer.apple.com/documentation/CoreAudio/AudioObjectSetPropertyData(_:_:_:_:_:_:)

func AudioObjectShow

func AudioObjectShow(inObjectID AudioObjectID)

AudioObjectShow.

It panics if AudioObjectShow is unavailable at run time; use TryAudioObjectShow to get an error instead.

See: https://developer.apple.com/documentation/CoreAudio/AudioObjectShow(_:)

func AudioStreamAddPropertyListener deprecated

func AudioStreamAddPropertyListener(inStream AudioStreamID, inChannel uint32, inPropertyID AudioDevicePropertyID, inProc AudioStreamPropertyListenerProc, inClientData unsafe.Pointer) int32

AudioStreamAddPropertyListener.

It panics if AudioStreamAddPropertyListener is unavailable at run time; use TryAudioStreamAddPropertyListener to get an error instead.

Deprecated: Deprecated since macOS 10.6.

See: https://developer.apple.com/documentation/CoreAudio/AudioStreamAddPropertyListener

func AudioStreamGetProperty deprecated

func AudioStreamGetProperty(inStream AudioStreamID, inChannel uint32, inPropertyID AudioDevicePropertyID, ioPropertyDataSize *uint32, outPropertyData unsafe.Pointer) int32

AudioStreamGetProperty.

It panics if AudioStreamGetProperty is unavailable at run time; use TryAudioStreamGetProperty to get an error instead.

Deprecated: Deprecated since macOS 10.6.

See: https://developer.apple.com/documentation/CoreAudio/AudioStreamGetProperty

func AudioStreamGetPropertyInfo deprecated

func AudioStreamGetPropertyInfo(inStream AudioStreamID, inChannel uint32, inPropertyID AudioDevicePropertyID, outSize *uint32, outWritable *bool) int32

AudioStreamGetPropertyInfo.

It panics if AudioStreamGetPropertyInfo is unavailable at run time; use TryAudioStreamGetPropertyInfo to get an error instead.

Deprecated: Deprecated since macOS 10.6.

See: https://developer.apple.com/documentation/CoreAudio/AudioStreamGetPropertyInfo

func AudioStreamRemovePropertyListener deprecated

func AudioStreamRemovePropertyListener(inStream AudioStreamID, inChannel uint32, inPropertyID AudioDevicePropertyID, inProc AudioStreamPropertyListenerProc) int32

AudioStreamRemovePropertyListener.

It panics if AudioStreamRemovePropertyListener is unavailable at run time; use TryAudioStreamRemovePropertyListener to get an error instead.

Deprecated: Deprecated since macOS 10.6.

See: https://developer.apple.com/documentation/CoreAudio/AudioStreamRemovePropertyListener

func AudioStreamSetProperty deprecated

func AudioStreamSetProperty(inStream AudioStreamID, inWhen *coreaudiotypes.AudioTimeStamp, inChannel uint32, inPropertyID AudioDevicePropertyID, inPropertyDataSize uint32, inPropertyData unsafe.Pointer) int32

AudioStreamSetProperty.

It panics if AudioStreamSetProperty is unavailable at run time; use TryAudioStreamSetProperty to get an error instead.

Deprecated: Deprecated since macOS 10.6.

See: https://developer.apple.com/documentation/CoreAudio/AudioStreamSetProperty

func BindFunc

func BindFunc(fptr any, name string) (err error)

BindFunc binds the CoreAudio symbol name into fptr, which must be a pointer to a func variable.

The caller supplies the signature, and nothing checks it. A dylib records no argument count or types for a C symbol, so a wrong signature here is not a type error: it is the wrong number of machine words moved on a live stack, and the failure surfaces somewhere else entirely. Prefer a generated binding, whose signature carries recorded evidence, and reach for this only for a symbol that has none. purego.RegisterFunc panics on a signature it cannot lower; that is recovered and returned, because an escape hatch that takes down the process on a mistyped experiment is not one anybody can experiment with.

func NewAudioDeviceIOBlock added in v0.6.16

func NewAudioDeviceIOBlock(handler AudioDeviceIOBlock) (objc.ID, func())

NewAudioDeviceIOBlock wraps a Go AudioDeviceIOBlock as an Objective-C block. The caller must defer the returned cleanup function.

func NewAudioObjectPropertyListenerBlock added in v0.6.16

func NewAudioObjectPropertyListenerBlock(handler AudioObjectPropertyListenerBlock) (objc.ID, func())

NewAudioObjectPropertyListenerBlock wraps a Go AudioObjectPropertyListenerBlock as an Objective-C block. The caller must defer the returned cleanup function.

func SymbolAddress

func SymbolAddress(name string) (uintptr, error)

SymbolAddress returns the address of name in CoreAudio, whether or not this package generated a binding for it.

What is generated is bounded by what is documented, and for a private framework that is whatever a manifest happened to enumerate. The dylib usually exports far more. Without this, a symbol nobody wrote down is unreachable from a package that has already loaded the image holding it, and the generated surface becomes a ceiling instead of a floor.

The lookup is scoped to this framework's handle, not RTLD_DEFAULT, so a symbol some other loaded image exports is not reported as this one's.

func TryAudioConvertHostTimeToNanos

func TryAudioConvertHostTimeToNanos(inHostTime uint64) (uint64, error)

TryAudioConvertHostTimeToNanos is like AudioConvertHostTimeToNanos but returns an error instead of panicking if AudioConvertHostTimeToNanos is unavailable at run time.

func TryAudioConvertNanosToHostTime

func TryAudioConvertNanosToHostTime(inNanos uint64) (uint64, error)

TryAudioConvertNanosToHostTime is like AudioConvertNanosToHostTime but returns an error instead of panicking if AudioConvertNanosToHostTime is unavailable at run time.

func TryAudioDeviceAddIOProc

func TryAudioDeviceAddIOProc(inDevice AudioDeviceID, inProc AudioDeviceIOProc, inClientData unsafe.Pointer) (int32, error)

TryAudioDeviceAddIOProc is like AudioDeviceAddIOProc but returns an error instead of panicking if AudioDeviceAddIOProc is unavailable at run time.

func TryAudioDeviceAddPropertyListener

func TryAudioDeviceAddPropertyListener(inDevice AudioDeviceID, inChannel uint32, isInput bool, inPropertyID AudioDevicePropertyID, inProc AudioDevicePropertyListenerProc, inClientData unsafe.Pointer) (int32, error)

TryAudioDeviceAddPropertyListener is like AudioDeviceAddPropertyListener but returns an error instead of panicking if AudioDeviceAddPropertyListener is unavailable at run time.

func TryAudioDeviceCreateIOProcID

func TryAudioDeviceCreateIOProcID(inDevice AudioObjectID, inProc AudioDeviceIOProc, inClientData unsafe.Pointer, outIOProcID *AudioDeviceIOProcID) (int32, error)

TryAudioDeviceCreateIOProcID is like AudioDeviceCreateIOProcID but returns an error instead of panicking if AudioDeviceCreateIOProcID is unavailable at run time.

func TryAudioDeviceCreateIOProcIDWithBlock

func TryAudioDeviceCreateIOProcIDWithBlock(outIOProcID *AudioDeviceIOProcID, inDevice AudioObjectID, inDispatchQueue dispatch.Queue, inIOBlock AudioDeviceIOBlock) (int32, error)

TryAudioDeviceCreateIOProcIDWithBlock is like AudioDeviceCreateIOProcIDWithBlock but returns an error instead of panicking if AudioDeviceCreateIOProcIDWithBlock is unavailable at run time.

func TryAudioDeviceDestroyIOProcID

func TryAudioDeviceDestroyIOProcID(inDevice AudioObjectID, inIOProcID AudioDeviceIOProcID) (int32, error)

TryAudioDeviceDestroyIOProcID is like AudioDeviceDestroyIOProcID but returns an error instead of panicking if AudioDeviceDestroyIOProcID is unavailable at run time.

func TryAudioDeviceGetCurrentTime

func TryAudioDeviceGetCurrentTime(inDevice AudioObjectID, outTime *coreaudiotypes.AudioTimeStamp) (int32, error)

TryAudioDeviceGetCurrentTime is like AudioDeviceGetCurrentTime but returns an error instead of panicking if AudioDeviceGetCurrentTime is unavailable at run time.

func TryAudioDeviceGetNearestStartTime

func TryAudioDeviceGetNearestStartTime(inDevice AudioObjectID, ioRequestedStartTime *coreaudiotypes.AudioTimeStamp, inFlags uint32) (int32, error)

TryAudioDeviceGetNearestStartTime is like AudioDeviceGetNearestStartTime but returns an error instead of panicking if AudioDeviceGetNearestStartTime is unavailable at run time.

func TryAudioDeviceGetProperty

func TryAudioDeviceGetProperty(inDevice AudioDeviceID, inChannel uint32, isInput bool, inPropertyID AudioDevicePropertyID, ioPropertyDataSize *uint32, outPropertyData unsafe.Pointer) (int32, error)

TryAudioDeviceGetProperty is like AudioDeviceGetProperty but returns an error instead of panicking if AudioDeviceGetProperty is unavailable at run time.

func TryAudioDeviceGetPropertyInfo

func TryAudioDeviceGetPropertyInfo(inDevice AudioDeviceID, inChannel uint32, isInput bool, inPropertyID AudioDevicePropertyID, outSize *uint32, outWritable *bool) (int32, error)

TryAudioDeviceGetPropertyInfo is like AudioDeviceGetPropertyInfo but returns an error instead of panicking if AudioDeviceGetPropertyInfo is unavailable at run time.

func TryAudioDeviceRead

func TryAudioDeviceRead(inDevice AudioDeviceID, inStartTime *coreaudiotypes.AudioTimeStamp, outData *coreaudiotypes.AudioBufferList) (int32, error)

TryAudioDeviceRead is like AudioDeviceRead but returns an error instead of panicking if AudioDeviceRead is unavailable at run time.

func TryAudioDeviceRemoveIOProc

func TryAudioDeviceRemoveIOProc(inDevice AudioDeviceID, inProc AudioDeviceIOProc) (int32, error)

TryAudioDeviceRemoveIOProc is like AudioDeviceRemoveIOProc but returns an error instead of panicking if AudioDeviceRemoveIOProc is unavailable at run time.

func TryAudioDeviceRemovePropertyListener

func TryAudioDeviceRemovePropertyListener(inDevice AudioDeviceID, inChannel uint32, isInput bool, inPropertyID AudioDevicePropertyID, inProc AudioDevicePropertyListenerProc) (int32, error)

TryAudioDeviceRemovePropertyListener is like AudioDeviceRemovePropertyListener but returns an error instead of panicking if AudioDeviceRemovePropertyListener is unavailable at run time.

func TryAudioDeviceSetProperty

func TryAudioDeviceSetProperty(inDevice AudioDeviceID, inWhen *coreaudiotypes.AudioTimeStamp, inChannel uint32, isInput bool, inPropertyID AudioDevicePropertyID, inPropertyDataSize uint32, inPropertyData unsafe.Pointer) (int32, error)

TryAudioDeviceSetProperty is like AudioDeviceSetProperty but returns an error instead of panicking if AudioDeviceSetProperty is unavailable at run time.

func TryAudioDeviceStart

func TryAudioDeviceStart(inDevice AudioObjectID, inProcID AudioDeviceIOProcID) (int32, error)

TryAudioDeviceStart is like AudioDeviceStart but returns an error instead of panicking if AudioDeviceStart is unavailable at run time.

func TryAudioDeviceStartAtTime

func TryAudioDeviceStartAtTime(inDevice AudioObjectID, inProcID AudioDeviceIOProcID, ioRequestedStartTime *coreaudiotypes.AudioTimeStamp, inFlags uint32) (int32, error)

TryAudioDeviceStartAtTime is like AudioDeviceStartAtTime but returns an error instead of panicking if AudioDeviceStartAtTime is unavailable at run time.

func TryAudioDeviceStop

func TryAudioDeviceStop(inDevice AudioObjectID, inProcID AudioDeviceIOProcID) (int32, error)

TryAudioDeviceStop is like AudioDeviceStop but returns an error instead of panicking if AudioDeviceStop is unavailable at run time.

func TryAudioDeviceTranslateTime

func TryAudioDeviceTranslateTime(inDevice AudioObjectID, inTime *coreaudiotypes.AudioTimeStamp, outTime *coreaudiotypes.AudioTimeStamp) (int32, error)

TryAudioDeviceTranslateTime is like AudioDeviceTranslateTime but returns an error instead of panicking if AudioDeviceTranslateTime is unavailable at run time.

func TryAudioDriverPlugInClose

func TryAudioDriverPlugInClose(inDevice AudioDeviceID) (int32, error)

TryAudioDriverPlugInClose is like AudioDriverPlugInClose but returns an error instead of panicking if AudioDriverPlugInClose is unavailable at run time.

func TryAudioDriverPlugInDeviceGetProperty

func TryAudioDriverPlugInDeviceGetProperty(inDevice AudioDeviceID, inChannel uint32, isInput bool, inPropertyID AudioDevicePropertyID, ioPropertyDataSize *uint32, outPropertyData unsafe.Pointer) (int32, error)

TryAudioDriverPlugInDeviceGetProperty is like AudioDriverPlugInDeviceGetProperty but returns an error instead of panicking if AudioDriverPlugInDeviceGetProperty is unavailable at run time.

func TryAudioDriverPlugInDeviceGetPropertyInfo

func TryAudioDriverPlugInDeviceGetPropertyInfo(inDevice AudioDeviceID, inChannel uint32, isInput bool, inPropertyID AudioDevicePropertyID, outSize *uint32, outWritable *bool) (int32, error)

TryAudioDriverPlugInDeviceGetPropertyInfo is like AudioDriverPlugInDeviceGetPropertyInfo but returns an error instead of panicking if AudioDriverPlugInDeviceGetPropertyInfo is unavailable at run time.

func TryAudioDriverPlugInDeviceSetProperty

func TryAudioDriverPlugInDeviceSetProperty(inDevice AudioDeviceID, inWhen *coreaudiotypes.AudioTimeStamp, inChannel uint32, isInput bool, inPropertyID AudioDevicePropertyID, inPropertyDataSize uint32, inPropertyData unsafe.Pointer) (int32, error)

TryAudioDriverPlugInDeviceSetProperty is like AudioDriverPlugInDeviceSetProperty but returns an error instead of panicking if AudioDriverPlugInDeviceSetProperty is unavailable at run time.

func TryAudioDriverPlugInOpen

func TryAudioDriverPlugInOpen(inHostInfo *AudioDriverPlugInHostInfo) (int32, error)

TryAudioDriverPlugInOpen is like AudioDriverPlugInOpen but returns an error instead of panicking if AudioDriverPlugInOpen is unavailable at run time.

func TryAudioDriverPlugInStreamGetProperty

func TryAudioDriverPlugInStreamGetProperty(inDevice AudioDeviceID, inIOAudioStream uint32, inChannel uint32, inPropertyID AudioDevicePropertyID, ioPropertyDataSize *uint32, outPropertyData unsafe.Pointer) (int32, error)

TryAudioDriverPlugInStreamGetProperty is like AudioDriverPlugInStreamGetProperty but returns an error instead of panicking if AudioDriverPlugInStreamGetProperty is unavailable at run time.

func TryAudioDriverPlugInStreamGetPropertyInfo

func TryAudioDriverPlugInStreamGetPropertyInfo(inDevice AudioDeviceID, inIOAudioStream uint32, inChannel uint32, inPropertyID AudioDevicePropertyID, outSize *uint32, outWritable *bool) (int32, error)

TryAudioDriverPlugInStreamGetPropertyInfo is like AudioDriverPlugInStreamGetPropertyInfo but returns an error instead of panicking if AudioDriverPlugInStreamGetPropertyInfo is unavailable at run time.

func TryAudioDriverPlugInStreamSetProperty

func TryAudioDriverPlugInStreamSetProperty(inDevice AudioDeviceID, inIOAudioStream uint32, inWhen *coreaudiotypes.AudioTimeStamp, inChannel uint32, inPropertyID AudioDevicePropertyID, inPropertyDataSize uint32, inPropertyData unsafe.Pointer) (int32, error)

TryAudioDriverPlugInStreamSetProperty is like AudioDriverPlugInStreamSetProperty but returns an error instead of panicking if AudioDriverPlugInStreamSetProperty is unavailable at run time.

func TryAudioGetCurrentHostTime

func TryAudioGetCurrentHostTime() (uint64, error)

TryAudioGetCurrentHostTime is like AudioGetCurrentHostTime but returns an error instead of panicking if AudioGetCurrentHostTime is unavailable at run time.

func TryAudioGetHostClockFrequency

func TryAudioGetHostClockFrequency() (float64, error)

TryAudioGetHostClockFrequency is like AudioGetHostClockFrequency but returns an error instead of panicking if AudioGetHostClockFrequency is unavailable at run time.

func TryAudioGetHostClockMinimumTimeDelta

func TryAudioGetHostClockMinimumTimeDelta() (uint32, error)

TryAudioGetHostClockMinimumTimeDelta is like AudioGetHostClockMinimumTimeDelta but returns an error instead of panicking if AudioGetHostClockMinimumTimeDelta is unavailable at run time.

func TryAudioHardwareAddPropertyListener

func TryAudioHardwareAddPropertyListener(inPropertyID AudioHardwarePropertyID, inProc AudioHardwarePropertyListenerProc, inClientData unsafe.Pointer) (int32, error)

TryAudioHardwareAddPropertyListener is like AudioHardwareAddPropertyListener but returns an error instead of panicking if AudioHardwareAddPropertyListener is unavailable at run time.

func TryAudioHardwareAddRunLoopSource

func TryAudioHardwareAddRunLoopSource(inRunLoopSource corefoundation.CFRunLoopSourceRef) (int32, error)

TryAudioHardwareAddRunLoopSource is like AudioHardwareAddRunLoopSource but returns an error instead of panicking if AudioHardwareAddRunLoopSource is unavailable at run time.

func TryAudioHardwareCreateAggregateDevice

func TryAudioHardwareCreateAggregateDevice(inDescription corefoundation.CFDictionaryRef, outDeviceID *AudioObjectID) (int32, error)

TryAudioHardwareCreateAggregateDevice is like AudioHardwareCreateAggregateDevice but returns an error instead of panicking if AudioHardwareCreateAggregateDevice is unavailable at run time.

func TryAudioHardwareCreateProcessTap

func TryAudioHardwareCreateProcessTap(inDescription CATapDescription, outTapID *AudioObjectID) (int32, error)

TryAudioHardwareCreateProcessTap is like AudioHardwareCreateProcessTap but returns an error instead of panicking if AudioHardwareCreateProcessTap is unavailable at run time.

func TryAudioHardwareDestroyAggregateDevice

func TryAudioHardwareDestroyAggregateDevice(inDeviceID AudioObjectID) (int32, error)

TryAudioHardwareDestroyAggregateDevice is like AudioHardwareDestroyAggregateDevice but returns an error instead of panicking if AudioHardwareDestroyAggregateDevice is unavailable at run time.

func TryAudioHardwareDestroyProcessTap

func TryAudioHardwareDestroyProcessTap(inTapID AudioObjectID) (int32, error)

TryAudioHardwareDestroyProcessTap is like AudioHardwareDestroyProcessTap but returns an error instead of panicking if AudioHardwareDestroyProcessTap is unavailable at run time.

func TryAudioHardwareGetProperty

func TryAudioHardwareGetProperty(inPropertyID AudioHardwarePropertyID, ioPropertyDataSize *uint32, outPropertyData unsafe.Pointer) (int32, error)

TryAudioHardwareGetProperty is like AudioHardwareGetProperty but returns an error instead of panicking if AudioHardwareGetProperty is unavailable at run time.

func TryAudioHardwareGetPropertyInfo

func TryAudioHardwareGetPropertyInfo(inPropertyID AudioHardwarePropertyID, outSize *uint32, outWritable *bool) (int32, error)

TryAudioHardwareGetPropertyInfo is like AudioHardwareGetPropertyInfo but returns an error instead of panicking if AudioHardwareGetPropertyInfo is unavailable at run time.

func TryAudioHardwareRemovePropertyListener

func TryAudioHardwareRemovePropertyListener(inPropertyID AudioHardwarePropertyID, inProc AudioHardwarePropertyListenerProc) (int32, error)

TryAudioHardwareRemovePropertyListener is like AudioHardwareRemovePropertyListener but returns an error instead of panicking if AudioHardwareRemovePropertyListener is unavailable at run time.

func TryAudioHardwareRemoveRunLoopSource

func TryAudioHardwareRemoveRunLoopSource(inRunLoopSource corefoundation.CFRunLoopSourceRef) (int32, error)

TryAudioHardwareRemoveRunLoopSource is like AudioHardwareRemoveRunLoopSource but returns an error instead of panicking if AudioHardwareRemoveRunLoopSource is unavailable at run time.

func TryAudioHardwareSetProperty

func TryAudioHardwareSetProperty(inPropertyID AudioHardwarePropertyID, inPropertyDataSize uint32, inPropertyData unsafe.Pointer) (int32, error)

TryAudioHardwareSetProperty is like AudioHardwareSetProperty but returns an error instead of panicking if AudioHardwareSetProperty is unavailable at run time.

func TryAudioHardwareUnload

func TryAudioHardwareUnload() (int32, error)

TryAudioHardwareUnload is like AudioHardwareUnload but returns an error instead of panicking if AudioHardwareUnload is unavailable at run time.

func TryAudioObjectAddPropertyListener

func TryAudioObjectAddPropertyListener(inObjectID AudioObjectID, inAddress *AudioObjectPropertyAddress, inListener AudioObjectPropertyListenerProc, inClientData unsafe.Pointer) (int32, error)

TryAudioObjectAddPropertyListener is like AudioObjectAddPropertyListener but returns an error instead of panicking if AudioObjectAddPropertyListener is unavailable at run time.

func TryAudioObjectAddPropertyListenerBlock

func TryAudioObjectAddPropertyListenerBlock(inObjectID AudioObjectID, inAddress *AudioObjectPropertyAddress, inDispatchQueue dispatch.Queue, inListener AudioObjectPropertyListenerBlock) (int32, error)

TryAudioObjectAddPropertyListenerBlock is like AudioObjectAddPropertyListenerBlock but returns an error instead of panicking if AudioObjectAddPropertyListenerBlock is unavailable at run time.

func TryAudioObjectGetPropertyData

func TryAudioObjectGetPropertyData(inObjectID AudioObjectID, inAddress *AudioObjectPropertyAddress, inQualifierDataSize uint32, inQualifierData unsafe.Pointer, ioDataSize *uint32, outData unsafe.Pointer) (int32, error)

TryAudioObjectGetPropertyData is like AudioObjectGetPropertyData but returns an error instead of panicking if AudioObjectGetPropertyData is unavailable at run time.

func TryAudioObjectGetPropertyDataSize

func TryAudioObjectGetPropertyDataSize(inObjectID AudioObjectID, inAddress *AudioObjectPropertyAddress, inQualifierDataSize uint32, inQualifierData unsafe.Pointer, outDataSize *uint32) (int32, error)

TryAudioObjectGetPropertyDataSize is like AudioObjectGetPropertyDataSize but returns an error instead of panicking if AudioObjectGetPropertyDataSize is unavailable at run time.

func TryAudioObjectHasProperty

func TryAudioObjectHasProperty(inObjectID AudioObjectID, inAddress *AudioObjectPropertyAddress) (bool, error)

TryAudioObjectHasProperty is like AudioObjectHasProperty but returns an error instead of panicking if AudioObjectHasProperty is unavailable at run time.

func TryAudioObjectIsPropertySettable

func TryAudioObjectIsPropertySettable(inObjectID AudioObjectID, inAddress *AudioObjectPropertyAddress, outIsSettable *bool) (int32, error)

TryAudioObjectIsPropertySettable is like AudioObjectIsPropertySettable but returns an error instead of panicking if AudioObjectIsPropertySettable is unavailable at run time.

func TryAudioObjectRemovePropertyListener

func TryAudioObjectRemovePropertyListener(inObjectID AudioObjectID, inAddress *AudioObjectPropertyAddress, inListener AudioObjectPropertyListenerProc, inClientData unsafe.Pointer) (int32, error)

TryAudioObjectRemovePropertyListener is like AudioObjectRemovePropertyListener but returns an error instead of panicking if AudioObjectRemovePropertyListener is unavailable at run time.

func TryAudioObjectRemovePropertyListenerBlock

func TryAudioObjectRemovePropertyListenerBlock(inObjectID AudioObjectID, inAddress *AudioObjectPropertyAddress, inDispatchQueue dispatch.Queue, inListener AudioObjectPropertyListenerBlock) (int32, error)

TryAudioObjectRemovePropertyListenerBlock is like AudioObjectRemovePropertyListenerBlock but returns an error instead of panicking if AudioObjectRemovePropertyListenerBlock is unavailable at run time.

func TryAudioObjectSetPropertyData

func TryAudioObjectSetPropertyData(inObjectID AudioObjectID, inAddress *AudioObjectPropertyAddress, inQualifierDataSize uint32, inQualifierData unsafe.Pointer, inDataSize uint32, inData unsafe.Pointer) (int32, error)

TryAudioObjectSetPropertyData is like AudioObjectSetPropertyData but returns an error instead of panicking if AudioObjectSetPropertyData is unavailable at run time.

func TryAudioObjectShow

func TryAudioObjectShow(inObjectID AudioObjectID) error

TryAudioObjectShow is like AudioObjectShow but returns an error instead of panicking if AudioObjectShow is unavailable at run time.

func TryAudioStreamAddPropertyListener

func TryAudioStreamAddPropertyListener(inStream AudioStreamID, inChannel uint32, inPropertyID AudioDevicePropertyID, inProc AudioStreamPropertyListenerProc, inClientData unsafe.Pointer) (int32, error)

TryAudioStreamAddPropertyListener is like AudioStreamAddPropertyListener but returns an error instead of panicking if AudioStreamAddPropertyListener is unavailable at run time.

func TryAudioStreamGetProperty

func TryAudioStreamGetProperty(inStream AudioStreamID, inChannel uint32, inPropertyID AudioDevicePropertyID, ioPropertyDataSize *uint32, outPropertyData unsafe.Pointer) (int32, error)

TryAudioStreamGetProperty is like AudioStreamGetProperty but returns an error instead of panicking if AudioStreamGetProperty is unavailable at run time.

func TryAudioStreamGetPropertyInfo

func TryAudioStreamGetPropertyInfo(inStream AudioStreamID, inChannel uint32, inPropertyID AudioDevicePropertyID, outSize *uint32, outWritable *bool) (int32, error)

TryAudioStreamGetPropertyInfo is like AudioStreamGetPropertyInfo but returns an error instead of panicking if AudioStreamGetPropertyInfo is unavailable at run time.

func TryAudioStreamRemovePropertyListener

func TryAudioStreamRemovePropertyListener(inStream AudioStreamID, inChannel uint32, inPropertyID AudioDevicePropertyID, inProc AudioStreamPropertyListenerProc) (int32, error)

TryAudioStreamRemovePropertyListener is like AudioStreamRemovePropertyListener but returns an error instead of panicking if AudioStreamRemovePropertyListener is unavailable at run time.

func TryAudioStreamSetProperty

func TryAudioStreamSetProperty(inStream AudioStreamID, inWhen *coreaudiotypes.AudioTimeStamp, inChannel uint32, inPropertyID AudioDevicePropertyID, inPropertyDataSize uint32, inPropertyData unsafe.Pointer) (int32, error)

TryAudioStreamSetProperty is like AudioStreamSetProperty but returns an error instead of panicking if AudioStreamSetProperty is unavailable at run time.

Types

type AudioClassID

type AudioClassID = uint32

See: https://developer.apple.com/documentation/CoreAudio/AudioClassID

const (
	KAudioAggregateDeviceClassID        AudioClassID = 'a'<<24 | 'a'<<16 | 'g'<<8 | 'g' // 'aagg'
	KAudioBooleanControlClassID         AudioClassID = 't'<<24 | 'o'<<16 | 'g'<<8 | 'l' // 'togl'
	KAudioBootChimeVolumeControlClassID AudioClassID = 'p'<<24 | 'r'<<16 | 'a'<<8 | 'm' // 'pram'
	KAudioBoxClassID                    AudioClassID = 'a'<<24 | 'b'<<16 | 'o'<<8 | 'x' // 'abox'
	KAudioClipLightControlClassID       AudioClassID = 'c'<<24 | 'l'<<16 | 'i'<<8 | 'p' // 'clip'
	KAudioClockSourceControlClassID     AudioClassID = 'c'<<24 | 'l'<<16 | 'c'<<8 | 'k' // 'clck'
	KAudioControlClassID                AudioClassID = 'a'<<24 | 'c'<<16 | 't'<<8 | 'l' // 'actl'
	KAudioDataDestinationControlClassID AudioClassID = 'd'<<24 | 'e'<<16 | 's'<<8 | 't' // 'dest'
	KAudioDataSourceControlClassID      AudioClassID = 'd'<<24 | 's'<<16 | 'r'<<8 | 'c' // 'dsrc'
	KAudioDeviceClassID                 AudioClassID = 'a'<<24 | 'd'<<16 | 'e'<<8 | 'v' // 'adev'
	KAudioEndPointClassID               AudioClassID = 'e'<<24 | 'n'<<16 | 'd'<<8 | 'p' // 'endp'
	KAudioEndPointDeviceClassID         AudioClassID = 'e'<<24 | 'd'<<16 | 'e'<<8 | 'v' // 'edev'
	KAudioHighPassFilterControlClassID  AudioClassID = 'h'<<24 | 'i'<<16 | 'p'<<8 | 'f' // 'hipf'
	KAudioISubOwnerControlClassID       AudioClassID = 'a'<<24 | 't'<<16 | 'c'<<8 | 'h' // 'atch'
	KAudioJackControlClassID            AudioClassID = 'j'<<24 | 'a'<<16 | 'c'<<8 | 'k' // 'jack'
	KAudioLFEMuteControlClassID         AudioClassID = 's'<<24 | 'u'<<16 | 'b'<<8 | 'm' // 'subm'
	KAudioLFEVolumeControlClassID       AudioClassID = 's'<<24 | 'u'<<16 | 'b'<<8 | 'v' // 'subv'
	KAudioLevelControlClassID           AudioClassID = 'l'<<24 | 'e'<<16 | 'v'<<8 | 'l' // 'levl'
	KAudioLineLevelControlClassID       AudioClassID = 'n'<<24 | 'l'<<16 | 'v'<<8 | 'l' // 'nlvl'
	KAudioListenbackControlClassID      AudioClassID = 'l'<<24 | 's'<<16 | 'n'<<8 | 'b' // 'lsnb'
	KAudioMuteControlClassID            AudioClassID = 'm'<<24 | 'u'<<16 | 't'<<8 | 'e' // 'mute'
	KAudioObjectClassID                 AudioClassID = 'a'<<24 | 'o'<<16 | 'b'<<8 | 'j' // 'aobj'
	KAudioObjectClassIDWildcard         AudioClassID = '*'<<24 | '*'<<16 | '*'<<8 | '*' // '****'
	KAudioPhantomPowerControlClassID    AudioClassID = 'p'<<24 | 'h'<<16 | 'a'<<8 | 'n' // 'phan'
	KAudioPhaseInvertControlClassID     AudioClassID = 'p'<<24 | 'h'<<16 | 's'<<8 | 'i' // 'phsi'
	KAudioPlugInClassID                 AudioClassID = 'a'<<24 | 'p'<<16 | 'l'<<8 | 'g' // 'aplg'
	KAudioProcessClassID                AudioClassID = 'c'<<24 | 'l'<<16 | 'n'<<8 | 't' // 'clnt'
	KAudioSelectorControlClassID        AudioClassID = 's'<<24 | 'l'<<16 | 'c'<<8 | 't' // 'slct'
	KAudioSliderControlClassID          AudioClassID = 's'<<24 | 'l'<<16 | 'd'<<8 | 'r' // 'sldr'
	KAudioSoloControlClassID            AudioClassID = 's'<<24 | 'o'<<16 | 'l'<<8 | 'o' // 'solo'
	KAudioStereoPanControlClassID       AudioClassID = 's'<<24 | 'p'<<16 | 'a'<<8 | 'n' // 'span'
	KAudioStreamClassID                 AudioClassID = 'a'<<24 | 's'<<16 | 't'<<8 | 'r' // 'astr'
	KAudioSubDeviceClassID              AudioClassID = 'a'<<24 | 's'<<16 | 'u'<<8 | 'b' // 'asub'
	KAudioSubTapClassID                 AudioClassID = 's'<<24 | 't'<<16 | 'a'<<8 | 'p' // 'stap'
	KAudioSystemObjectClassID           AudioClassID = 'a'<<24 | 's'<<16 | 'y'<<8 | 's' // 'asys'
	KAudioTalkbackControlClassID        AudioClassID = 't'<<24 | 'a'<<16 | 'l'<<8 | 'b' // 'talb'
	KAudioTapClassID                    AudioClassID = 't'<<24 | 'c'<<16 | 'l'<<8 | 's' // 'tcls'
	KAudioTransportManagerClassID       AudioClassID = 't'<<24 | 'r'<<16 | 'p'<<8 | 'm' // 'trpm'
	KAudioVolumeControlClassID          AudioClassID = 'v'<<24 | 'l'<<16 | 'm'<<8 | 'e' // 'vlme'
)

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

type AudioDeviceIOProc

type AudioDeviceIOProc = func(inDevice uint32, inNow uintptr, inInputData uintptr, inInputTime uintptr, outOutputData uintptr, inOutputTime uintptr, inClientData unsafe.Pointer) int32

See: https://developer.apple.com/documentation/CoreAudio/AudioDeviceIOProc

type AudioDevicePropertyListenerProc

type AudioDevicePropertyListenerProc = func(inDevice uint32, inChannel uint32, isInput uint8, inPropertyID uint32, inClientData unsafe.Pointer) int32

See: https://developer.apple.com/documentation/CoreAudio/AudioDevicePropertyListenerProc

type AudioDriverPlugInDevicePropertyChangedProc

type AudioDriverPlugInDevicePropertyChangedProc = func(inDevice uint32, inChannel uint32, isInput uint8, inPropertyID uint32) int32

See: https://developer.apple.com/documentation/CoreAudio/AudioDriverPlugInDevicePropertyChangedProc

type AudioDriverPlugInHostInfo

type AudioDriverPlugInHostInfo struct {
	MDeviceID      AudioDeviceID
	MIOAudioDevice uint32
	MIOAudioEngine uint32
	// C: AudioDriverPlugInDevicePropertyChangedProc (int (*)(unsigned int, unsigned int, unsigned char, unsigned int))
	MDevicePropertyChangedProc uintptr
	// C: AudioDriverPlugInStreamPropertyChangedProc (int (*)(unsigned int, unsigned int, unsigned int, unsigned int))
	MStreamPropertyChangedProc uintptr
}

AudioDriverPlugInHostInfo

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreAudio/AudioDriverPlugInHostInfo

type AudioDriverPlugInStreamPropertyChangedProc

type AudioDriverPlugInStreamPropertyChangedProc = func(inDevice uint32, inIOAudioStream uint32, inChannel uint32, inPropertyID uint32) int32

See: https://developer.apple.com/documentation/CoreAudio/AudioDriverPlugInStreamPropertyChangedProc

type AudioHardwareIOProcStreamUsage

type AudioHardwareIOProcStreamUsage struct {
	MIOProc        unsafe.Pointer
	MNumberStreams uint32
	MStreamIsOn    [1]uint32
}

AudioHardwareIOProcStreamUsage - This structure describes which streams a given AudioDeviceIOProc will use. It is used in conjunction with kAudioDevicePropertyIOProcStreamUsage.

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreAudio/AudioHardwareIOProcStreamUsage

type AudioHardwarePowerHint

type AudioHardwarePowerHint uint32

See: https://developer.apple.com/documentation/CoreAudio/AudioHardwarePowerHint

const (
	KAudioHardwarePowerHintFavorSavingPower AudioHardwarePowerHint = 1
	KAudioHardwarePowerHintNone             AudioHardwarePowerHint = 0
)

func (AudioHardwarePowerHint) String

func (e AudioHardwarePowerHint) String() string

type 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

type AudioObjectID

type AudioObjectID = uint32

See: https://developer.apple.com/documentation/CoreAudio/AudioObjectID

const (
	KAudioDeviceUnknown AudioObjectID = 0
	KAudioObjectUnknown AudioObjectID = 0
	KAudioStreamUnknown AudioObjectID = 0
)

type AudioObjectPropertyAddress

type AudioObjectPropertyAddress struct {
	MSelector AudioObjectPropertySelector
	MScope    AudioObjectPropertyScope
	MElement  AudioObjectPropertyElement
}

AudioObjectPropertyAddress - An AudioObjectPropertyAddress collects the three parts that identify a specific property together in a struct for easy transmission.

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreAudio/AudioObjectPropertyAddress

type AudioObjectPropertyElement

type AudioObjectPropertyElement = uint32

See: https://developer.apple.com/documentation/CoreAudio/AudioObjectPropertyElement

const (
	KAudioObjectPropertyElementWildcard AudioObjectPropertyElement = 0xffffffff
	KAudioPropertyWildcardChannel       AudioObjectPropertyElement = 4294967295
)

type AudioObjectPropertyListenerProc

type AudioObjectPropertyListenerProc = func(inObjectID uint32, inNumberAddresses uint32, inAddresses uintptr, inClientData unsafe.Pointer) int32

See: https://developer.apple.com/documentation/CoreAudio/AudioObjectPropertyListenerProc

type AudioObjectPropertyScope

type AudioObjectPropertyScope = uint32

See: https://developer.apple.com/documentation/CoreAudio/AudioObjectPropertyScope

const (
	KAudioDevicePropertyScopeInput       AudioObjectPropertyScope = 'i'<<24 | 'n'<<16 | 'p'<<8 | 't' // 'inpt'
	KAudioDevicePropertyScopeOutput      AudioObjectPropertyScope = 'o'<<24 | 'u'<<16 | 't'<<8 | 'p' // 'outp'
	KAudioDevicePropertyScopePlayThrough AudioObjectPropertyScope = 'p'<<24 | 't'<<16 | 'r'<<8 | 'u' // 'ptru'
	KAudioObjectPropertyElementMain      AudioObjectPropertyScope = 0
	KAudioObjectPropertyScopeGlobal      AudioObjectPropertyScope = 'g'<<24 | 'l'<<16 | 'o'<<8 | 'b' // 'glob'
	KAudioObjectPropertyScopeInput       AudioObjectPropertyScope = 'i'<<24 | 'n'<<16 | 'p'<<8 | 't' // 'inpt'
	KAudioObjectPropertyScopeOutput      AudioObjectPropertyScope = 'o'<<24 | 'u'<<16 | 't'<<8 | 'p' // 'outp'
	KAudioObjectPropertyScopePlayThrough AudioObjectPropertyScope = 'p'<<24 | 't'<<16 | 'r'<<8 | 'u' // 'ptru'
	KAudioObjectPropertyScopeWildcard    AudioObjectPropertyScope = '*'<<24 | '*'<<16 | '*'<<8 | '*' // '****'
	// Deprecated: use KAudioObjectPropertyElementMain.
	KAudioObjectPropertyElementMaster AudioObjectPropertyScope = 0
)

type AudioObjectPropertySelector

type AudioObjectPropertySelector = uint32

See: https://developer.apple.com/documentation/CoreAudio/AudioObjectPropertySelector

const (
	KAudioAggregateDevicePropertyActiveSubDeviceList             AudioObjectPropertySelector = 'a'<<24 | 'g'<<16 | 'r'<<8 | 'p' // 'agrp'
	KAudioAggregateDevicePropertyClockDevice                     AudioObjectPropertySelector = 'a'<<24 | 'p'<<16 | 'c'<<8 | 'd' // 'apcd'
	KAudioAggregateDevicePropertyComposition                     AudioObjectPropertySelector = 'a'<<24 | 'c'<<16 | 'o'<<8 | 'm' // 'acom'
	KAudioAggregateDevicePropertyFullSubDeviceList               AudioObjectPropertySelector = 'g'<<24 | 'r'<<16 | 'u'<<8 | 'p' // 'grup'
	KAudioAggregateDevicePropertyMainSubDevice                   AudioObjectPropertySelector = 'a'<<24 | 'm'<<16 | 's'<<8 | 't' // 'amst'
	KAudioAggregateDevicePropertySubTapList                      AudioObjectPropertySelector = 'a'<<24 | 't'<<16 | 'a'<<8 | 'p' // 'atap'
	KAudioAggregateDevicePropertyTapList                         AudioObjectPropertySelector = 't'<<24 | 'a'<<16 | 'p'<<8 | '#' // 'tap#'
	KAudioBooleanControlPropertyValue                            AudioObjectPropertySelector = 'b'<<24 | 'c'<<16 | 'v'<<8 | 'l' // 'bcvl'
	KAudioBoxPropertyAcquired                                    AudioObjectPropertySelector = 'b'<<24 | 'x'<<16 | 'o'<<8 | 'n' // 'bxon'
	KAudioBoxPropertyAcquisitionFailed                           AudioObjectPropertySelector = 'b'<<24 | 'x'<<16 | 'o'<<8 | 'f' // 'bxof'
	KAudioBoxPropertyBoxUID                                      AudioObjectPropertySelector = 'b'<<24 | 'u'<<16 | 'i'<<8 | 'd' // 'buid'
	KAudioBoxPropertyClockDeviceList                             AudioObjectPropertySelector = 'b'<<24 | 'c'<<16 | 'l'<<8 | '#' // 'bcl#'
	KAudioBoxPropertyDeviceList                                  AudioObjectPropertySelector = 'b'<<24 | 'd'<<16 | 'v'<<8 | '#' // 'bdv#'
	KAudioBoxPropertyHasAudio                                    AudioObjectPropertySelector = 'b'<<24 | 'h'<<16 | 'a'<<8 | 'u' // 'bhau'
	KAudioBoxPropertyHasMIDI                                     AudioObjectPropertySelector = 'b'<<24 | 'h'<<16 | 'm'<<8 | 'i' // 'bhmi'
	KAudioBoxPropertyHasVideo                                    AudioObjectPropertySelector = 'b'<<24 | 'h'<<16 | 'v'<<8 | 'i' // 'bhvi'
	KAudioBoxPropertyIsProtected                                 AudioObjectPropertySelector = 'b'<<24 | 'p'<<16 | 'r'<<8 | 'o' // 'bpro'
	KAudioBoxPropertyTransportType                               AudioObjectPropertySelector = 't'<<24 | 'r'<<16 | 'a'<<8 | 'n' // 'tran'
	KAudioClockDeviceClassID                                     AudioObjectPropertySelector = 'a'<<24 | 'c'<<16 | 'l'<<8 | 'k' // 'aclk'
	KAudioClockDevicePropertyAvailableNominalSampleRates         AudioObjectPropertySelector = 'n'<<24 | 's'<<16 | 'r'<<8 | '#' // 'nsr#'
	KAudioClockDevicePropertyClockDomain                         AudioObjectPropertySelector = 'c'<<24 | 'l'<<16 | 'k'<<8 | 'd' // 'clkd'
	KAudioClockDevicePropertyControlList                         AudioObjectPropertySelector = 'c'<<24 | 't'<<16 | 'r'<<8 | 'l' // 'ctrl'
	KAudioClockDevicePropertyDeviceIsAlive                       AudioObjectPropertySelector = 'l'<<24 | 'i'<<16 | 'v'<<8 | 'n' // 'livn'
	KAudioClockDevicePropertyDeviceIsRunning                     AudioObjectPropertySelector = 'g'<<24 | 'o'<<16 | 'i'<<8 | 'n' // 'goin'
	KAudioClockDevicePropertyDeviceUID                           AudioObjectPropertySelector = 'c'<<24 | 'u'<<16 | 'i'<<8 | 'd' // 'cuid'
	KAudioClockDevicePropertyLatency                             AudioObjectPropertySelector = 'l'<<24 | 't'<<16 | 'n'<<8 | 'c' // 'ltnc'
	KAudioClockDevicePropertyNominalSampleRate                   AudioObjectPropertySelector = 'n'<<24 | 's'<<16 | 'r'<<8 | 't' // 'nsrt'
	KAudioClockDevicePropertyTransportType                       AudioObjectPropertySelector = 't'<<24 | 'r'<<16 | 'a'<<8 | 'n' // 'tran'
	KAudioClockSourceControlPropertyItemKind                     AudioObjectPropertySelector = 'c'<<24 | 'l'<<16 | 'k'<<8 | 'k' // 'clkk'
	KAudioControlPropertyElement                                 AudioObjectPropertySelector = 'c'<<24 | 'e'<<16 | 'l'<<8 | 'm' // 'celm'
	KAudioControlPropertyScope                                   AudioObjectPropertySelector = 'c'<<24 | 's'<<16 | 'c'<<8 | 'p' // 'cscp'
	KAudioControlPropertyVariant                                 AudioObjectPropertySelector = 'c'<<24 | 'v'<<16 | 'a'<<8 | 'r' // 'cvar'
	KAudioDeviceProcessorOverload                                AudioObjectPropertySelector = 'o'<<24 | 'v'<<16 | 'e'<<8 | 'r' // 'over'
	KAudioDevicePropertyActualSampleRate                         AudioObjectPropertySelector = 'a'<<24 | 's'<<16 | 'r'<<8 | 't' // 'asrt'
	KAudioDevicePropertyAvailableNominalSampleRates              AudioObjectPropertySelector = 'n'<<24 | 's'<<16 | 'r'<<8 | '#' // 'nsr#'
	KAudioDevicePropertyBufferFrameSize                          AudioObjectPropertySelector = 'f'<<24 | 's'<<16 | 'i'<<8 | 'z' // 'fsiz'
	KAudioDevicePropertyBufferFrameSizeRange                     AudioObjectPropertySelector = 'f'<<24 | 's'<<16 | 'z'<<8 | '#' // 'fsz#'
	KAudioDevicePropertyBufferSize                               AudioObjectPropertySelector = 'b'<<24 | 's'<<16 | 'i'<<8 | 'z' // 'bsiz'
	KAudioDevicePropertyBufferSizeRange                          AudioObjectPropertySelector = 'b'<<24 | 's'<<16 | 'z'<<8 | '#' // 'bsz#'
	KAudioDevicePropertyChannelCategoryName                      AudioObjectPropertySelector = 'c'<<24 | 'c'<<16 | 'n'<<8 | 'm' // 'ccnm'
	KAudioDevicePropertyChannelCategoryNameCFString              AudioObjectPropertySelector = 'l'<<24 | 'c'<<16 | 'c'<<8 | 'n' // 'lccn'
	KAudioDevicePropertyChannelName                              AudioObjectPropertySelector = 'c'<<24 | 'h'<<16 | 'n'<<8 | 'm' // 'chnm'
	KAudioDevicePropertyChannelNameCFString                      AudioObjectPropertySelector = 'l'<<24 | 'c'<<16 | 'h'<<8 | 'n' // 'lchn'
	KAudioDevicePropertyChannelNominalLineLevel                  AudioObjectPropertySelector = 'n'<<24 | 'l'<<16 | 'v'<<8 | 'l' // 'nlvl'
	KAudioDevicePropertyChannelNominalLineLevelNameForID         AudioObjectPropertySelector = 'c'<<24 | 'n'<<16 | 'l'<<8 | 'v' // 'cnlv'
	KAudioDevicePropertyChannelNominalLineLevelNameForIDCFString AudioObjectPropertySelector = 'l'<<24 | 'c'<<16 | 'n'<<8 | 'l' // 'lcnl'
	KAudioDevicePropertyChannelNominalLineLevels                 AudioObjectPropertySelector = 'n'<<24 | 'l'<<16 | 'v'<<8 | '#' // 'nlv#'
	KAudioDevicePropertyChannelNumberName                        AudioObjectPropertySelector = 'c'<<24 | 'n'<<16 | 'n'<<8 | 'm' // 'cnnm'
	KAudioDevicePropertyChannelNumberNameCFString                AudioObjectPropertySelector = 'l'<<24 | 'c'<<16 | 'n'<<8 | 'n' // 'lcnn'
	KAudioDevicePropertyClipLight                                AudioObjectPropertySelector = 'c'<<24 | 'l'<<16 | 'i'<<8 | 'p' // 'clip'
	KAudioDevicePropertyClockDevice                              AudioObjectPropertySelector = 'a'<<24 | 'p'<<16 | 'c'<<8 | 'd' // 'apcd'
	KAudioDevicePropertyClockDomain                              AudioObjectPropertySelector = 'c'<<24 | 'l'<<16 | 'k'<<8 | 'd' // 'clkd'
	KAudioDevicePropertyClockSource                              AudioObjectPropertySelector = 'c'<<24 | 's'<<16 | 'r'<<8 | 'c' // 'csrc'
	KAudioDevicePropertyClockSourceKindForID                     AudioObjectPropertySelector = 'c'<<24 | 's'<<16 | 'c'<<8 | 'k' // 'csck'
	KAudioDevicePropertyClockSourceNameForID                     AudioObjectPropertySelector = 'c'<<24 | 's'<<16 | 'c'<<8 | 'n' // 'cscn'
	KAudioDevicePropertyClockSourceNameForIDCFString             AudioObjectPropertySelector = 'l'<<24 | 'c'<<16 | 's'<<8 | 'n' // 'lcsn'
	KAudioDevicePropertyClockSources                             AudioObjectPropertySelector = 'c'<<24 | 's'<<16 | 'c'<<8 | '#' // 'csc#'
	KAudioDevicePropertyConfigurationApplication                 AudioObjectPropertySelector = 'c'<<24 | 'a'<<16 | 'p'<<8 | 'p' // 'capp'
	KAudioDevicePropertyDataSource                               AudioObjectPropertySelector = 's'<<24 | 's'<<16 | 'r'<<8 | 'c' // 'ssrc'
	KAudioDevicePropertyDataSourceKindForID                      AudioObjectPropertySelector = 's'<<24 | 's'<<16 | 'c'<<8 | 'k' // 'ssck'
	KAudioDevicePropertyDataSourceNameForID                      AudioObjectPropertySelector = 's'<<24 | 's'<<16 | 'c'<<8 | 'n' // 'sscn'
	KAudioDevicePropertyDataSourceNameForIDCFString              AudioObjectPropertySelector = 'l'<<24 | 's'<<16 | 'c'<<8 | 'n' // 'lscn'
	KAudioDevicePropertyDataSources                              AudioObjectPropertySelector = 's'<<24 | 's'<<16 | 'c'<<8 | '#' // 'ssc#'
	KAudioDevicePropertyDeviceCanBeDefaultDevice                 AudioObjectPropertySelector = 'd'<<24 | 'f'<<16 | 'l'<<8 | 't' // 'dflt'
	KAudioDevicePropertyDeviceCanBeDefaultSystemDevice           AudioObjectPropertySelector = 's'<<24 | 'f'<<16 | 'l'<<8 | 't' // 'sflt'
	KAudioDevicePropertyDeviceHasChanged                         AudioObjectPropertySelector = 'd'<<24 | 'i'<<16 | 'f'<<8 | 'f' // 'diff'
	KAudioDevicePropertyDeviceIsAlive                            AudioObjectPropertySelector = 'l'<<24 | 'i'<<16 | 'v'<<8 | 'n' // 'livn'
	KAudioDevicePropertyDeviceIsRunning                          AudioObjectPropertySelector = 'g'<<24 | 'o'<<16 | 'i'<<8 | 'n' // 'goin'
	KAudioDevicePropertyDeviceIsRunningSomewhere                 AudioObjectPropertySelector = 'g'<<24 | 'o'<<16 | 'n'<<8 | 'e' // 'gone'
	KAudioDevicePropertyDeviceManufacturer                       AudioObjectPropertySelector = 'm'<<24 | 'a'<<16 | 'k'<<8 | 'r' // 'makr'
	KAudioDevicePropertyDeviceManufacturerCFString               AudioObjectPropertySelector = 'l'<<24 | 'm'<<16 | 'a'<<8 | 'k' // 'lmak'
	KAudioDevicePropertyDeviceName                               AudioObjectPropertySelector = 'n'<<24 | 'a'<<16 | 'm'<<8 | 'e' // 'name'
	KAudioDevicePropertyDeviceNameCFString                       AudioObjectPropertySelector = 'l'<<24 | 'n'<<16 | 'a'<<8 | 'm' // 'lnam'
	KAudioDevicePropertyDeviceUID                                AudioObjectPropertySelector = 'u'<<24 | 'i'<<16 | 'd'<<8 | ' ' // 'uid '
	KAudioDevicePropertyDriverShouldOwniSub                      AudioObjectPropertySelector = 'i'<<24 | 's'<<16 | 'u'<<8 | 'b' // 'isub'
	KAudioDevicePropertyHighPassFilterSetting                    AudioObjectPropertySelector = 'h'<<24 | 'i'<<16 | 'p'<<8 | 'f' // 'hipf'
	KAudioDevicePropertyHighPassFilterSettingNameForID           AudioObjectPropertySelector = 'c'<<24 | 'h'<<16 | 'i'<<8 | 'p' // 'chip'
	KAudioDevicePropertyHighPassFilterSettingNameForIDCFString   AudioObjectPropertySelector = 'h'<<24 | 'i'<<16 | 'p'<<8 | 'l' // 'hipl'
	KAudioDevicePropertyHighPassFilterSettings                   AudioObjectPropertySelector = 'h'<<24 | 'i'<<16 | 'p'<<8 | '#' // 'hip#'
	KAudioDevicePropertyHogMode                                  AudioObjectPropertySelector = 'o'<<24 | 'i'<<16 | 'n'<<8 | 'k' // 'oink'
	KAudioDevicePropertyIOCycleUsage                             AudioObjectPropertySelector = 'n'<<24 | 'c'<<16 | 'y'<<8 | 'c' // 'ncyc'
	KAudioDevicePropertyIOProcStreamUsage                        AudioObjectPropertySelector = 's'<<24 | 'u'<<16 | 's'<<8 | 'e' // 'suse'
	KAudioDevicePropertyIOStoppedAbnormally                      AudioObjectPropertySelector = '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                               AudioObjectPropertySelector = 'o'<<24 | 's'<<16 | 'w'<<8 | 'g' // 'oswg'
	KAudioDevicePropertyIcon                                              AudioObjectPropertySelector = 'i'<<24 | 'c'<<16 | 'o'<<8 | 'n' // 'icon'
	KAudioDevicePropertyIsHidden                                          AudioObjectPropertySelector = 'h'<<24 | 'i'<<16 | 'd'<<8 | 'n' // 'hidn'
	KAudioDevicePropertyJackIsConnected                                   AudioObjectPropertySelector = 'j'<<24 | 'a'<<16 | 'c'<<8 | 'k' // 'jack'
	KAudioDevicePropertyLatency                                           AudioObjectPropertySelector = 'l'<<24 | 't'<<16 | 'n'<<8 | 'c' // 'ltnc'
	KAudioDevicePropertyListenback                                        AudioObjectPropertySelector = 'l'<<24 | 's'<<16 | 'n'<<8 | 'b' // 'lsnb'
	KAudioDevicePropertyModelUID                                          AudioObjectPropertySelector = 'm'<<24 | 'u'<<16 | 'i'<<8 | 'd' // 'muid'
	KAudioDevicePropertyMute                                              AudioObjectPropertySelector = 'm'<<24 | 'u'<<16 | 't'<<8 | 'e' // 'mute'
	KAudioDevicePropertyNominalSampleRate                                 AudioObjectPropertySelector = 'n'<<24 | 's'<<16 | 'r'<<8 | 't' // 'nsrt'
	KAudioDevicePropertyPhantomPower                                      AudioObjectPropertySelector = 'p'<<24 | 'h'<<16 | 'a'<<8 | 'n' // 'phan'
	KAudioDevicePropertyPhaseInvert                                       AudioObjectPropertySelector = 'p'<<24 | 'h'<<16 | 's'<<8 | 'i' // 'phsi'
	KAudioDevicePropertyPlayThru                                          AudioObjectPropertySelector = 't'<<24 | 'h'<<16 | 'r'<<8 | 'u' // 'thru'
	KAudioDevicePropertyPlayThruDestination                               AudioObjectPropertySelector = 'm'<<24 | 'd'<<16 | 'd'<<8 | 's' // 'mdds'
	KAudioDevicePropertyPlayThruDestinationNameForID                      AudioObjectPropertySelector = 'm'<<24 | 'd'<<16 | 'd'<<8 | 'n' // 'mddn'
	KAudioDevicePropertyPlayThruDestinationNameForIDCFString              AudioObjectPropertySelector = 'm'<<24 | 'd'<<16 | 'd'<<8 | 'c' // 'mddc'
	KAudioDevicePropertyPlayThruDestinations                              AudioObjectPropertySelector = 'm'<<24 | 'd'<<16 | 'd'<<8 | '#' // 'mdd#'
	KAudioDevicePropertyPlayThruSolo                                      AudioObjectPropertySelector = 't'<<24 | 'h'<<16 | 'r'<<8 | 's' // 'thrs'
	KAudioDevicePropertyPlayThruStereoPan                                 AudioObjectPropertySelector = 'm'<<24 | 's'<<16 | 'p'<<8 | 'n' // 'mspn'
	KAudioDevicePropertyPlayThruStereoPanChannels                         AudioObjectPropertySelector = 'm'<<24 | 's'<<16 | 'p'<<8 | '#' // 'msp#'
	KAudioDevicePropertyPlayThruVolumeDecibels                            AudioObjectPropertySelector = 'm'<<24 | 'v'<<16 | 'd'<<8 | 'b' // 'mvdb'
	KAudioDevicePropertyPlayThruVolumeDecibelsToScalar                    AudioObjectPropertySelector = 'm'<<24 | 'v'<<16 | '2'<<8 | 's' // 'mv2s'
	KAudioDevicePropertyPlayThruVolumeDecibelsToScalarTransferFunction    AudioObjectPropertySelector = 'm'<<24 | 'v'<<16 | 't'<<8 | 'f' // 'mvtf'
	KAudioDevicePropertyPlayThruVolumeRangeDecibels                       AudioObjectPropertySelector = 'm'<<24 | 'v'<<16 | 'd'<<8 | '#' // 'mvd#'
	KAudioDevicePropertyPlayThruVolumeScalar                              AudioObjectPropertySelector = 'm'<<24 | 'v'<<16 | 's'<<8 | 'c' // 'mvsc'
	KAudioDevicePropertyPlayThruVolumeScalarToDecibels                    AudioObjectPropertySelector = 'm'<<24 | 'v'<<16 | '2'<<8 | 'd' // 'mv2d'
	KAudioDevicePropertyPlugIn                                            AudioObjectPropertySelector = 'p'<<24 | 'l'<<16 | 'u'<<8 | 'g' // 'plug'
	KAudioDevicePropertyPreferredChannelLayout                            AudioObjectPropertySelector = 's'<<24 | 'r'<<16 | 'n'<<8 | 'd' // 'srnd'
	KAudioDevicePropertyPreferredChannelsForStereo                        AudioObjectPropertySelector = 'd'<<24 | 'c'<<16 | 'h'<<8 | '2' // 'dch2'
	KAudioDevicePropertyProcessMute                                       AudioObjectPropertySelector = 'a'<<24 | 'p'<<16 | 'p'<<8 | 'm' // 'appm'
	KAudioDevicePropertyRegisterBufferList                                AudioObjectPropertySelector = 'r'<<24 | 'b'<<16 | 'u'<<8 | 'f' // 'rbuf'
	KAudioDevicePropertyRelatedDevices                                    AudioObjectPropertySelector = 'a'<<24 | 'k'<<16 | 'i'<<8 | 'n' // 'akin'
	KAudioDevicePropertySafetyOffset                                      AudioObjectPropertySelector = 's'<<24 | 'a'<<16 | 'f'<<8 | 't' // 'saft'
	KAudioDevicePropertySolo                                              AudioObjectPropertySelector = 's'<<24 | 'o'<<16 | 'l'<<8 | 'o' // 'solo'
	KAudioDevicePropertyStereoPan                                         AudioObjectPropertySelector = 's'<<24 | 'p'<<16 | 'a'<<8 | 'n' // 'span'
	KAudioDevicePropertyStereoPanChannels                                 AudioObjectPropertySelector = 's'<<24 | 'p'<<16 | 'n'<<8 | '#' // 'spn#'
	KAudioDevicePropertyStreamConfiguration                               AudioObjectPropertySelector = 's'<<24 | 'l'<<16 | 'a'<<8 | 'y' // 'slay'
	KAudioDevicePropertyStreamFormat                                      AudioObjectPropertySelector = 's'<<24 | 'f'<<16 | 'm'<<8 | 't' // 'sfmt'
	KAudioDevicePropertyStreamFormatMatch                                 AudioObjectPropertySelector = 's'<<24 | 'f'<<16 | 'm'<<8 | 'm' // 'sfmm'
	KAudioDevicePropertyStreamFormatSupported                             AudioObjectPropertySelector = 's'<<24 | 'f'<<16 | 'm'<<8 | '?' // 'sfm?'
	KAudioDevicePropertyStreamFormats                                     AudioObjectPropertySelector = 's'<<24 | 'f'<<16 | 'm'<<8 | '#' // 'sfm#'
	KAudioDevicePropertyStreams                                           AudioObjectPropertySelector = 's'<<24 | 't'<<16 | 'm'<<8 | '#' // 'stm#'
	KAudioDevicePropertySubMute                                           AudioObjectPropertySelector = 's'<<24 | 'm'<<16 | 'u'<<8 | 't' // 'smut'
	KAudioDevicePropertySubVolumeDecibels                                 AudioObjectPropertySelector = 's'<<24 | 'v'<<16 | 'l'<<8 | 'd' // 'svld'
	KAudioDevicePropertySubVolumeDecibelsToScalar                         AudioObjectPropertySelector = 's'<<24 | 'd'<<16 | '2'<<8 | 'v' // 'sd2v'
	KAudioDevicePropertySubVolumeDecibelsToScalarTransferFunction         AudioObjectPropertySelector = 's'<<24 | 'v'<<16 | 't'<<8 | 'f' // 'svtf'
	KAudioDevicePropertySubVolumeRangeDecibels                            AudioObjectPropertySelector = 's'<<24 | 'v'<<16 | 'd'<<8 | '#' // 'svd#'
	KAudioDevicePropertySubVolumeScalar                                   AudioObjectPropertySelector = 's'<<24 | 'v'<<16 | 'l'<<8 | 'm' // 'svlm'
	KAudioDevicePropertySubVolumeScalarToDecibels                         AudioObjectPropertySelector = 's'<<24 | 'v'<<16 | '2'<<8 | 'd' // 'sv2d'
	KAudioDevicePropertySupportsMixing                                    AudioObjectPropertySelector = 'm'<<24 | 'i'<<16 | 'x'<<8 | '?' // 'mix?'
	KAudioDevicePropertyTalkback                                          AudioObjectPropertySelector = 't'<<24 | 'a'<<16 | 'l'<<8 | 'b' // 'talb'
	KAudioDevicePropertyTransportType                                     AudioObjectPropertySelector = 't'<<24 | 'r'<<16 | 'a'<<8 | 'n' // 'tran'
	KAudioDevicePropertyUsesVariableBufferFrameSizes                      AudioObjectPropertySelector = 'v'<<24 | 'f'<<16 | 's'<<8 | 'z' // 'vfsz'
	KAudioDevicePropertyVoiceActivityDetectionEnable                      AudioObjectPropertySelector = 'v'<<24 | 'A'<<16 | 'd'<<8 | '+' // 'vAd+'
	KAudioDevicePropertyVoiceActivityDetectionState                       AudioObjectPropertySelector = 'v'<<24 | 'A'<<16 | 'd'<<8 | 'S' // 'vAdS'
	KAudioDevicePropertyVolumeDecibels                                    AudioObjectPropertySelector = 'v'<<24 | 'o'<<16 | 'l'<<8 | 'd' // 'vold'
	KAudioDevicePropertyVolumeDecibelsToScalar                            AudioObjectPropertySelector = 'd'<<24 | 'b'<<16 | '2'<<8 | 'v' // 'db2v'
	KAudioDevicePropertyVolumeDecibelsToScalarTransferFunction            AudioObjectPropertySelector = 'v'<<24 | 'c'<<16 | 't'<<8 | 'f' // 'vctf'
	KAudioDevicePropertyVolumeRangeDecibels                               AudioObjectPropertySelector = 'v'<<24 | 'd'<<16 | 'b'<<8 | '#' // 'vdb#'
	KAudioDevicePropertyVolumeScalar                                      AudioObjectPropertySelector = 'v'<<24 | 'o'<<16 | 'l'<<8 | 'm' // 'volm'
	KAudioDevicePropertyVolumeScalarToDecibels                            AudioObjectPropertySelector = 'v'<<24 | '2'<<16 | 'd'<<8 | 'b' // 'v2db'
	KAudioDevicePropertyWantsControlsRestored                             AudioObjectPropertySelector = 'r'<<24 | 'e'<<16 | 's'<<8 | 'c' // 'resc'
	KAudioDevicePropertyWantsStreamFormatsRestored                        AudioObjectPropertySelector = 'r'<<24 | 'e'<<16 | 's'<<8 | 'f' // 'resf'
	KAudioEndPointDevicePropertyComposition                               AudioObjectPropertySelector = 'a'<<24 | 'c'<<16 | 'o'<<8 | 'm' // 'acom'
	KAudioEndPointDevicePropertyEndPointList                              AudioObjectPropertySelector = 'a'<<24 | 'g'<<16 | 'r'<<8 | 'p' // 'agrp'
	KAudioEndPointDevicePropertyIsPrivate                                 AudioObjectPropertySelector = 'p'<<24 | 'r'<<16 | 'i'<<8 | 'v' // 'priv'
	KAudioHardwarePropertyBootChimeVolumeDecibels                         AudioObjectPropertySelector = 'b'<<24 | 'b'<<16 | 'v'<<8 | 'd' // 'bbvd'
	KAudioHardwarePropertyBootChimeVolumeDecibelsToScalar                 AudioObjectPropertySelector = 'b'<<24 | 'd'<<16 | '2'<<8 | 'v' // 'bd2v'
	KAudioHardwarePropertyBootChimeVolumeDecibelsToScalarTransferFunction AudioObjectPropertySelector = 'b'<<24 | 'v'<<16 | 't'<<8 | 'f' // 'bvtf'
	KAudioHardwarePropertyBootChimeVolumeRangeDecibels                    AudioObjectPropertySelector = 'b'<<24 | 'b'<<16 | 'd'<<8 | '#' // 'bbd#'
	KAudioHardwarePropertyBootChimeVolumeScalar                           AudioObjectPropertySelector = 'b'<<24 | 'b'<<16 | 'v'<<8 | 's' // 'bbvs'
	KAudioHardwarePropertyBootChimeVolumeScalarToDecibels                 AudioObjectPropertySelector = 'b'<<24 | 'v'<<16 | '2'<<8 | 'd' // 'bv2d'
	KAudioHardwarePropertyBoxList                                         AudioObjectPropertySelector = 'b'<<24 | 'o'<<16 | 'x'<<8 | '#' // 'box#'
	KAudioHardwarePropertyClockDeviceList                                 AudioObjectPropertySelector = 'c'<<24 | 'l'<<16 | 'k'<<8 | '#' // 'clk#'
	KAudioHardwarePropertyDefaultInputDevice                              AudioObjectPropertySelector = 'd'<<24 | 'I'<<16 | 'n'<<8 | ' ' // 'dIn '
	KAudioHardwarePropertyDefaultOutputDevice                             AudioObjectPropertySelector = 'd'<<24 | 'O'<<16 | 'u'<<8 | 't' // 'dOut'
	KAudioHardwarePropertyDefaultSystemOutputDevice                       AudioObjectPropertySelector = 's'<<24 | 'O'<<16 | 'u'<<8 | 't' // 'sOut'
	KAudioHardwarePropertyDeviceForUID                                    AudioObjectPropertySelector = 'd'<<24 | 'u'<<16 | 'i'<<8 | 'd' // 'duid'
	KAudioHardwarePropertyDevices                                         AudioObjectPropertySelector = 'd'<<24 | 'e'<<16 | 'v'<<8 | '#' // 'dev#'
	KAudioHardwarePropertyHogModeIsAllowed                                AudioObjectPropertySelector = 'h'<<24 | 'o'<<16 | 'g'<<8 | 'r' // 'hogr'
	KAudioHardwarePropertyIsInitingOrExiting                              AudioObjectPropertySelector = 'i'<<24 | 'n'<<16 | 'o'<<8 | 't' // 'inot'
	KAudioHardwarePropertyMixStereoToMono                                 AudioObjectPropertySelector = 's'<<24 | 't'<<16 | 'm'<<8 | 'o' // 'stmo'
	KAudioHardwarePropertyPlugInForBundleID                               AudioObjectPropertySelector = 'p'<<24 | 'i'<<16 | 'b'<<8 | 'i' // 'pibi'
	KAudioHardwarePropertyPlugInList                                      AudioObjectPropertySelector = 'p'<<24 | 'l'<<16 | 'g'<<8 | '#' // 'plg#'
	KAudioHardwarePropertyPowerHint                                       AudioObjectPropertySelector = 'p'<<24 | 'o'<<16 | 'w'<<8 | 'h' // 'powh'
	KAudioHardwarePropertyProcessInputMute                                AudioObjectPropertySelector = 'p'<<24 | 'm'<<16 | 'i'<<8 | 'n' // 'pmin'
	KAudioHardwarePropertyProcessIsAudible                                AudioObjectPropertySelector = 'p'<<24 | 'm'<<16 | 'u'<<8 | 't' // 'pmut'
	KAudioHardwarePropertyProcessIsMain                                   AudioObjectPropertySelector = 'm'<<24 | 'a'<<16 | 'i'<<8 | 'n' // 'main'
	KAudioHardwarePropertyProcessObjectList                               AudioObjectPropertySelector = 'p'<<24 | 'r'<<16 | 's'<<8 | '#' // 'prs#'
	KAudioHardwarePropertyRunLoop                                         AudioObjectPropertySelector = 'r'<<24 | 'n'<<16 | 'l'<<8 | 'p' // 'rnlp'
	KAudioHardwarePropertyServiceRestarted                                AudioObjectPropertySelector = 's'<<24 | 'r'<<16 | 's'<<8 | 't' // 'srst'
	KAudioHardwarePropertySleepingIsAllowed                               AudioObjectPropertySelector = 's'<<24 | 'l'<<16 | 'e'<<8 | 'p' // 'slep'
	KAudioHardwarePropertyTapList                                         AudioObjectPropertySelector = 't'<<24 | 'p'<<16 | 's'<<8 | '#' // 'tps#'
	KAudioHardwarePropertyTranslateBundleIDToPlugIn                       AudioObjectPropertySelector = 'b'<<24 | 'i'<<16 | 'd'<<8 | 'p' // 'bidp'
	KAudioHardwarePropertyTranslateBundleIDToTransportManager             AudioObjectPropertySelector = 't'<<24 | 'm'<<16 | 'b'<<8 | 'i' // 'tmbi'
	KAudioHardwarePropertyTranslatePIDToProcessObject                     AudioObjectPropertySelector = 'i'<<24 | 'd'<<16 | '2'<<8 | 'p' // 'id2p'
	KAudioHardwarePropertyTranslateUIDToBox                               AudioObjectPropertySelector = 'u'<<24 | 'i'<<16 | 'd'<<8 | 'b' // 'uidb'
	KAudioHardwarePropertyTranslateUIDToClockDevice                       AudioObjectPropertySelector = 'u'<<24 | 'i'<<16 | 'd'<<8 | 'c' // 'uidc'
	KAudioHardwarePropertyTranslateUIDToDevice                            AudioObjectPropertySelector = 'u'<<24 | 'i'<<16 | 'd'<<8 | 'd' // 'uidd'
	KAudioHardwarePropertyTranslateUIDToTap                               AudioObjectPropertySelector = 'u'<<24 | 'i'<<16 | 'd'<<8 | 't' // 'uidt'
	KAudioHardwarePropertyTransportManagerList                            AudioObjectPropertySelector = 't'<<24 | 'm'<<16 | 'g'<<8 | '#' // 'tmg#'
	KAudioHardwarePropertyUnloadingIsAllowed                              AudioObjectPropertySelector = 'u'<<24 | 'n'<<16 | 'l'<<8 | 'd' // 'unld'
	KAudioHardwarePropertyUserIDChanged                                   AudioObjectPropertySelector = 'e'<<24 | 'u'<<16 | 'i'<<8 | 'd' // 'euid'
	KAudioHardwarePropertyUserSessionIsActiveOrHeadless                   AudioObjectPropertySelector = 'u'<<24 | 's'<<16 | 'e'<<8 | 'r' // 'user'
	KAudioLevelControlPropertyConvertDecibelsToScalar                     AudioObjectPropertySelector = 'l'<<24 | 'c'<<16 | 'd'<<8 | 's' // 'lcds'
	KAudioLevelControlPropertyConvertScalarToDecibels                     AudioObjectPropertySelector = 'l'<<24 | 'c'<<16 | 's'<<8 | 'd' // 'lcsd'
	KAudioLevelControlPropertyDecibelRange                                AudioObjectPropertySelector = 'l'<<24 | 'c'<<16 | 'd'<<8 | 'r' // 'lcdr'
	KAudioLevelControlPropertyDecibelValue                                AudioObjectPropertySelector = 'l'<<24 | 'c'<<16 | 'd'<<8 | 'v' // 'lcdv'
	KAudioLevelControlPropertyDecibelsToScalarTransferFunction            AudioObjectPropertySelector = 'l'<<24 | 'c'<<16 | 't'<<8 | 'f' // 'lctf'
	KAudioLevelControlPropertyScalarValue                                 AudioObjectPropertySelector = 'l'<<24 | 'c'<<16 | 's'<<8 | 'v' // 'lcsv'
	KAudioObjectPropertyBaseClass                                         AudioObjectPropertySelector = 'b'<<24 | 'c'<<16 | 'l'<<8 | 's' // 'bcls'
	KAudioObjectPropertyClass                                             AudioObjectPropertySelector = 'c'<<24 | 'l'<<16 | 'a'<<8 | 's' // 'clas'
	KAudioObjectPropertyControlList                                       AudioObjectPropertySelector = 'c'<<24 | 't'<<16 | 'r'<<8 | 'l' // 'ctrl'
	KAudioObjectPropertyCreator                                           AudioObjectPropertySelector = 'o'<<24 | 'p'<<16 | 'l'<<8 | 'g' // 'oplg'
	KAudioObjectPropertyElementCategoryName                               AudioObjectPropertySelector = 'l'<<24 | 'c'<<16 | 'c'<<8 | 'n' // 'lccn'
	KAudioObjectPropertyElementName                                       AudioObjectPropertySelector = 'l'<<24 | 'c'<<16 | 'h'<<8 | 'n' // 'lchn'
	KAudioObjectPropertyElementNumberName                                 AudioObjectPropertySelector = 'l'<<24 | 'c'<<16 | 'n'<<8 | 'n' // 'lcnn'
	KAudioObjectPropertyFirmwareVersion                                   AudioObjectPropertySelector = 'f'<<24 | 'w'<<16 | 'v'<<8 | 'n' // 'fwvn'
	KAudioObjectPropertyIdentify                                          AudioObjectPropertySelector = 'i'<<24 | 'd'<<16 | 'e'<<8 | 'n' // 'iden'
	KAudioObjectPropertyListenerAdded                                     AudioObjectPropertySelector = 'l'<<24 | 'i'<<16 | 's'<<8 | 'a' // 'lisa'
	KAudioObjectPropertyListenerRemoved                                   AudioObjectPropertySelector = 'l'<<24 | 'i'<<16 | 's'<<8 | 'r' // 'lisr'
	KAudioObjectPropertyManufacturer                                      AudioObjectPropertySelector = 'l'<<24 | 'm'<<16 | 'a'<<8 | 'k' // 'lmak'
	KAudioObjectPropertyModelName                                         AudioObjectPropertySelector = 'l'<<24 | 'm'<<16 | 'o'<<8 | 'd' // 'lmod'
	KAudioObjectPropertyName                                              AudioObjectPropertySelector = 'l'<<24 | 'n'<<16 | 'a'<<8 | 'm' // 'lnam'
	KAudioObjectPropertyOwnedObjects                                      AudioObjectPropertySelector = 'o'<<24 | 'w'<<16 | 'n'<<8 | 'd' // 'ownd'
	KAudioObjectPropertyOwner                                             AudioObjectPropertySelector = 's'<<24 | 't'<<16 | 'd'<<8 | 'v' // 'stdv'
	KAudioObjectPropertySelectorWildcard                                  AudioObjectPropertySelector = '*'<<24 | '*'<<16 | '*'<<8 | '*' // '****'
	KAudioObjectPropertySerialNumber                                      AudioObjectPropertySelector = 's'<<24 | 'n'<<16 | 'u'<<8 | 'm' // 'snum'
	KAudioPlugInCreateAggregateDevice                                     AudioObjectPropertySelector = 'c'<<24 | 'a'<<16 | 'g'<<8 | 'g' // 'cagg'
	KAudioPlugInDestroyAggregateDevice                                    AudioObjectPropertySelector = 'd'<<24 | 'a'<<16 | 'g'<<8 | 'g' // 'dagg'
	KAudioPlugInPropertyBoxList                                           AudioObjectPropertySelector = 'b'<<24 | 'o'<<16 | 'x'<<8 | '#' // 'box#'
	KAudioPlugInPropertyBundleID                                          AudioObjectPropertySelector = 'p'<<24 | 'i'<<16 | 'i'<<8 | 'd' // 'piid'
	KAudioPlugInPropertyClockDeviceList                                   AudioObjectPropertySelector = 'c'<<24 | 'l'<<16 | 'k'<<8 | '#' // 'clk#'
	KAudioPlugInPropertyDeviceList                                        AudioObjectPropertySelector = 'd'<<24 | 'e'<<16 | 'v'<<8 | '#' // 'dev#'
	KAudioPlugInPropertyTranslateUIDToBox                                 AudioObjectPropertySelector = 'u'<<24 | 'i'<<16 | 'd'<<8 | 'b' // 'uidb'
	KAudioPlugInPropertyTranslateUIDToClockDevice                         AudioObjectPropertySelector = 'u'<<24 | 'i'<<16 | 'd'<<8 | 'c' // 'uidc'
	KAudioPlugInPropertyTranslateUIDToDevice                              AudioObjectPropertySelector = 'u'<<24 | 'i'<<16 | 'd'<<8 | 'd' // 'uidd'
	KAudioProcessPropertyBundleID                                         AudioObjectPropertySelector = 'p'<<24 | 'b'<<16 | 'i'<<8 | 'd' // 'pbid'
	KAudioProcessPropertyDevices                                          AudioObjectPropertySelector = 'p'<<24 | 'd'<<16 | 'v'<<8 | '#' // 'pdv#'
	KAudioProcessPropertyIsRunning                                        AudioObjectPropertySelector = 'p'<<24 | 'i'<<16 | 'r'<<8 | '?' // 'pir?'
	KAudioProcessPropertyIsRunningInput                                   AudioObjectPropertySelector = 'p'<<24 | 'i'<<16 | 'r'<<8 | 'i' // 'piri'
	KAudioProcessPropertyIsRunningOutput                                  AudioObjectPropertySelector = 'p'<<24 | 'i'<<16 | 'r'<<8 | 'o' // 'piro'
	KAudioProcessPropertyPID                                              AudioObjectPropertySelector = 'p'<<24 | 'p'<<16 | 'i'<<8 | 'd' // 'ppid'
	KAudioPropertyWildcardPropertyID                                      AudioObjectPropertySelector = '*'<<24 | '*'<<16 | '*'<<8 | '*' // '****'
	KAudioSelectorControlPropertyAvailableItems                           AudioObjectPropertySelector = 's'<<24 | 'c'<<16 | 'a'<<8 | 'i' // 'scai'
	KAudioSelectorControlPropertyCurrentItem                              AudioObjectPropertySelector = 's'<<24 | 'c'<<16 | 'c'<<8 | 'i' // 'scci'
	KAudioSelectorControlPropertyItemKind                                 AudioObjectPropertySelector = 'c'<<24 | 'l'<<16 | 'k'<<8 | 'k' // 'clkk'
	KAudioSelectorControlPropertyItemName                                 AudioObjectPropertySelector = 's'<<24 | 'c'<<16 | 'i'<<8 | 'n' // 'scin'
	KAudioSliderControlPropertyRange                                      AudioObjectPropertySelector = 's'<<24 | 'd'<<16 | 'r'<<8 | 'r' // 'sdrr'
	KAudioSliderControlPropertyValue                                      AudioObjectPropertySelector = 's'<<24 | 'd'<<16 | 'r'<<8 | 'v' // 'sdrv'
	KAudioStereoPanControlPropertyPanningChannels                         AudioObjectPropertySelector = 's'<<24 | 'p'<<16 | 'c'<<8 | 'c' // 'spcc'
	KAudioStereoPanControlPropertyValue                                   AudioObjectPropertySelector = 's'<<24 | 'p'<<16 | 'c'<<8 | 'v' // 'spcv'
	KAudioStreamPropertyAvailablePhysicalFormats                          AudioObjectPropertySelector = 'p'<<24 | 'f'<<16 | 't'<<8 | 'a' // 'pfta'
	KAudioStreamPropertyAvailableVirtualFormats                           AudioObjectPropertySelector = 's'<<24 | 'f'<<16 | 'm'<<8 | 'a' // 'sfma'
	KAudioStreamPropertyDirection                                         AudioObjectPropertySelector = 's'<<24 | 'd'<<16 | 'i'<<8 | 'r' // 'sdir'
	KAudioStreamPropertyIsActive                                          AudioObjectPropertySelector = 's'<<24 | 'a'<<16 | 'c'<<8 | 't' // 'sact'
	KAudioStreamPropertyLatency                                           AudioObjectPropertySelector = 'l'<<24 | 't'<<16 | 'n'<<8 | 'c' // 'ltnc'
	KAudioStreamPropertyOwningDevice                                      AudioObjectPropertySelector = 's'<<24 | 't'<<16 | 'd'<<8 | 'v' // 'stdv'
	KAudioStreamPropertyPhysicalFormat                                    AudioObjectPropertySelector = 'p'<<24 | 'f'<<16 | 't'<<8 | ' ' // 'pft '
	KAudioStreamPropertyPhysicalFormatMatch                               AudioObjectPropertySelector = 'p'<<24 | 'f'<<16 | 't'<<8 | 'm' // 'pftm'
	KAudioStreamPropertyPhysicalFormatSupported                           AudioObjectPropertySelector = 'p'<<24 | 'f'<<16 | 't'<<8 | '?' // 'pft?'
	KAudioStreamPropertyPhysicalFormats                                   AudioObjectPropertySelector = 'p'<<24 | 'f'<<16 | 't'<<8 | '#' // 'pft#'
	KAudioStreamPropertyStartingChannel                                   AudioObjectPropertySelector = 's'<<24 | 'c'<<16 | 'h'<<8 | 'n' // 'schn'
	KAudioStreamPropertyTerminalType                                      AudioObjectPropertySelector = 't'<<24 | 'e'<<16 | 'r'<<8 | 'm' // 'term'
	KAudioStreamPropertyVirtualFormat                                     AudioObjectPropertySelector = 's'<<24 | 'f'<<16 | 'm'<<8 | 't' // 'sfmt'
	KAudioSubDevicePropertyDriftCompensation                              AudioObjectPropertySelector = 'd'<<24 | 'r'<<16 | 'f'<<8 | 't' // 'drft'
	KAudioSubDevicePropertyDriftCompensationQuality                       AudioObjectPropertySelector = 'd'<<24 | 'r'<<16 | 'f'<<8 | 'q' // 'drfq'
	KAudioSubDevicePropertyExtraLatency                                   AudioObjectPropertySelector = 'x'<<24 | 'l'<<16 | 't'<<8 | 'c' // 'xltc'
	KAudioSubTapPropertyDriftCompensation                                 AudioObjectPropertySelector = 'd'<<24 | 'r'<<16 | 'f'<<8 | 't' // 'drft'
	KAudioSubTapPropertyDriftCompensationQuality                          AudioObjectPropertySelector = 'd'<<24 | 'r'<<16 | 'f'<<8 | 'q' // 'drfq'
	KAudioSubTapPropertyExtraLatency                                      AudioObjectPropertySelector = 'x'<<24 | 'l'<<16 | 't'<<8 | 'c' // 'xltc'
	KAudioTapPropertyDescription                                          AudioObjectPropertySelector = 't'<<24 | 'd'<<16 | 's'<<8 | 'c' // 'tdsc'
	KAudioTapPropertyFormat                                               AudioObjectPropertySelector = 't'<<24 | 'f'<<16 | 'm'<<8 | 't' // 'tfmt'
	KAudioTapPropertyUID                                                  AudioObjectPropertySelector = 't'<<24 | 'u'<<16 | 'i'<<8 | 'd' // 'tuid'
	KAudioTransportManagerCreateEndPointDevice                            AudioObjectPropertySelector = 'c'<<24 | 'd'<<16 | 'e'<<8 | 'v' // 'cdev'
	KAudioTransportManagerDestroyEndPointDevice                           AudioObjectPropertySelector = 'd'<<24 | 'd'<<16 | 'e'<<8 | 'v' // 'ddev'
	KAudioTransportManagerPropertyEndPointList                            AudioObjectPropertySelector = 'e'<<24 | 'n'<<16 | 'd'<<8 | '#' // 'end#'
	KAudioTransportManagerPropertyTranslateUIDToEndPoint                  AudioObjectPropertySelector = 'u'<<24 | 'i'<<16 | 'd'<<8 | 'e' // 'uide'
	KAudioTransportManagerPropertyTransportType                           AudioObjectPropertySelector = 't'<<24 | 'r'<<16 | 'a'<<8 | 'n' // 'tran'
	// Deprecated: use KAudioAggregateDevicePropertyMainSubDevice.
	KAudioAggregateDevicePropertyMasterSubDevice AudioObjectPropertySelector = 'a'<<24 | 'm'<<16 | 's'<<8 | 't' // 'amst'
	// Deprecated: use KAudioHardwarePropertyProcessIsMain.
	KAudioHardwarePropertyProcessIsMaster AudioObjectPropertySelector = 'm'<<24 | 'a'<<16 | 's'<<8 | 't' // 'mast'
)

type AudioServerPlugInClientInfo

type AudioServerPlugInClientInfo struct {
	MClientID       uint32
	MProcessID      int32
	MIsNativeEndian bool
	MBundleID       corefoundation.CFStringRef
}

AudioServerPlugInClientInfo

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreAudio/AudioServerPlugInClientInfo

type AudioServerPlugInCustomPropertyDataType

type AudioServerPlugInCustomPropertyDataType = uint32

AudioServerPlugInCustomPropertyDataType is the set of data types the Host knows how to marshal between the server and the client.

See: https://developer.apple.com/documentation/CoreAudio/AudioServerPlugInCustomPropertyDataType

type AudioServerPlugInCustomPropertyInfo

type AudioServerPlugInCustomPropertyInfo struct {
	MSelector          AudioObjectPropertySelector
	MPropertyDataType  uint32
	MQualifierDataType uint32
}

AudioServerPlugInCustomPropertyInfo

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreAudio/AudioServerPlugInCustomPropertyInfo

type AudioServerPlugInDriverInterface

type AudioServerPlugInDriverInterface struct {

	// C: int (*)(void *, CFUUIDBytes, void **)
	QueryInterface uintptr
	// C: unsigned int (*)(void *)
	AddRef uintptr
	// C: unsigned int (*)(void *)
	Release uintptr
	// C: int (*)(struct AudioServerPlugInDriverInterface **, const struct AudioServerPlugInHostInterface *)
	Initialize uintptr
	// C: int (*)(struct AudioServerPlugInDriverInterface **, const struct __CFDictionary *, const struct AudioServerPlugInClientInfo *, unsigned int *)
	CreateDevice uintptr
	// C: int (*)(struct AudioServerPlugInDriverInterface **, unsigned int)
	DestroyDevice uintptr
	// C: int (*)(struct AudioServerPlugInDriverInterface **, unsigned int, const struct AudioServerPlugInClientInfo *)
	AddDeviceClient uintptr
	// C: int (*)(struct AudioServerPlugInDriverInterface **, unsigned int, const struct AudioServerPlugInClientInfo *)
	RemoveDeviceClient uintptr
	// C: int (*)(struct AudioServerPlugInDriverInterface **, unsigned int, unsigned long long, void *)
	PerformDeviceConfigurationChange uintptr
	// C: int (*)(struct AudioServerPlugInDriverInterface **, unsigned int, unsigned long long, void *)
	AbortDeviceConfigurationChange uintptr
	// C: unsigned char (*)(struct AudioServerPlugInDriverInterface **, unsigned int, int, const struct AudioObjectPropertyAddress *)
	HasProperty uintptr
	// C: int (*)(struct AudioServerPlugInDriverInterface **, unsigned int, int, const struct AudioObjectPropertyAddress *, unsigned char *)
	IsPropertySettable uintptr
	// C: int (*)(struct AudioServerPlugInDriverInterface **, unsigned int, int, const struct AudioObjectPropertyAddress *, unsigned int, const void *, unsigned int *)
	GetPropertyDataSize uintptr
	// C: int (*)(struct AudioServerPlugInDriverInterface **, unsigned int, int, const struct AudioObjectPropertyAddress *, unsigned int, const void *, unsigned int, unsigned int *, void *)
	GetPropertyData uintptr
	// C: int (*)(struct AudioServerPlugInDriverInterface **, unsigned int, int, const struct AudioObjectPropertyAddress *, unsigned int, const void *, unsigned int, const void *)
	SetPropertyData uintptr
	// C: int (*)(struct AudioServerPlugInDriverInterface **, unsigned int, unsigned int)
	StartIO uintptr
	// C: int (*)(struct AudioServerPlugInDriverInterface **, unsigned int, unsigned int)
	StopIO uintptr
	// C: int (*)(struct AudioServerPlugInDriverInterface **, unsigned int, unsigned int, double *, unsigned long long *, unsigned long long *)
	GetZeroTimeStamp uintptr
	// C: int (*)(struct AudioServerPlugInDriverInterface **, unsigned int, unsigned int, unsigned int, unsigned char *, unsigned char *)
	WillDoIOOperation uintptr
	// C: int (*)(struct AudioServerPlugInDriverInterface **, unsigned int, unsigned int, unsigned int, unsigned int, const struct AudioServerPlugInIOCycleInfo *)
	BeginIOOperation uintptr
	// C: int (*)(struct AudioServerPlugInDriverInterface **, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, const struct AudioServerPlugInIOCycleInfo *, void *, void *)
	DoIOOperation uintptr
	// C: int (*)(struct AudioServerPlugInDriverInterface **, unsigned int, unsigned int, unsigned int, unsigned int, const struct AudioServerPlugInIOCycleInfo *)
	EndIOOperation uintptr
	// contains filtered or unexported fields
}

AudioServerPlugInDriverInterface

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreAudio/AudioServerPlugInDriverInterface

type AudioServerPlugInHostInterface

type AudioServerPlugInHostInterface struct {
	// C: int (*)(const struct AudioServerPlugInHostInterface *, unsigned int, unsigned int, const struct AudioObjectPropertyAddress *)
	PropertiesChanged uintptr
	// C: int (*)(const struct AudioServerPlugInHostInterface *, const struct __CFString *, const void **)
	CopyFromStorage uintptr
	// C: int (*)(const struct AudioServerPlugInHostInterface *, const struct __CFString *, const void *)
	WriteToStorage uintptr
	// C: int (*)(const struct AudioServerPlugInHostInterface *, const struct __CFString *)
	DeleteFromStorage uintptr
	// C: int (*)(const struct AudioServerPlugInHostInterface *, unsigned int, unsigned long long, void *)
	RequestDeviceConfigurationChange uintptr
}

AudioServerPlugInHostInterface

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreAudio/AudioServerPlugInHostInterface

type AudioServerPlugInIOCycleInfo

type AudioServerPlugInIOCycleInfo struct {
	MIOCycleCounter           uint64
	MNominalIOBufferFrameSize uint32
	MCurrentTime              coreaudiotypes.AudioTimeStamp
	MInputTime                coreaudiotypes.AudioTimeStamp
	MOutputTime               coreaudiotypes.AudioTimeStamp
	MMainHostTicksPerFrame    float64
	MDeviceHostTicksPerFrame  float64
}

AudioServerPlugInIOCycleInfo

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreAudio/AudioServerPlugInIOCycleInfo

type AudioServerPlugInIOOperation

type AudioServerPlugInIOOperation uint32

See: https://developer.apple.com/documentation/CoreAudio/AudioServerPlugInIOOperation

const (
	KAudioServerPlugInIOOperationConvertInput  AudioServerPlugInIOOperation = 0
	KAudioServerPlugInIOOperationConvertMix    AudioServerPlugInIOOperation = 0
	KAudioServerPlugInIOOperationCycle         AudioServerPlugInIOOperation = 0
	KAudioServerPlugInIOOperationMixOutput     AudioServerPlugInIOOperation = 0
	KAudioServerPlugInIOOperationProcessInput  AudioServerPlugInIOOperation = 0
	KAudioServerPlugInIOOperationProcessMix    AudioServerPlugInIOOperation = 0
	KAudioServerPlugInIOOperationProcessOutput AudioServerPlugInIOOperation = 0
	KAudioServerPlugInIOOperationReadInput     AudioServerPlugInIOOperation = 0
	KAudioServerPlugInIOOperationThread        AudioServerPlugInIOOperation = 0
	KAudioServerPlugInIOOperationWriteMix      AudioServerPlugInIOOperation = 0
)

func (AudioServerPlugInIOOperation) String

type AudioStreamPropertyListenerProc

type AudioStreamPropertyListenerProc = func(inStream uint32, inChannel uint32, inPropertyID uint32, inClientData unsafe.Pointer) int32

See: https://developer.apple.com/documentation/CoreAudio/AudioStreamPropertyListenerProc

type AudioStreamRangedDescription

type AudioStreamRangedDescription struct {
	MFormat          coreaudiotypes.AudioStreamBasicDescription
	MSampleRateRange coreaudiotypes.AudioValueRange
}

AudioStreamRangedDescription - This structure allows a specific sample rate range to be associated with an AudioStreamBasicDescription that specifies its sample rate as kAudioStreamAnyRate.

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreAudio/AudioStreamRangedDescription

type CATapDescription

type CATapDescription struct {
	objectivec.Object
}

Overview

This class describes a tap object that contains an input stream. The input stream is a mix of all of the specified processes output audio.

Instance Properties

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 NewCATapDescriptionExcludingProcessesAndDeviceUIDWithStream

func NewCATapDescriptionExcludingProcessesAndDeviceUIDWithStream(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

See: https://developer.apple.com/documentation/CoreAudio/CATapDescription/initExcludingProcesses:andDeviceUID:withStream:

func NewCATapDescriptionMonoGlobalTapButExcludeProcesses

func NewCATapDescriptionMonoGlobalTapButExcludeProcesses(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

See: https://developer.apple.com/documentation/CoreAudio/CATapDescription/initMonoGlobalTapButExcludeProcesses:

func NewCATapDescriptionMonoMixdownOfProcesses

func NewCATapDescriptionMonoMixdownOfProcesses(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 NewCATapDescriptionStereoGlobalTapButExcludeProcesses

func NewCATapDescriptionStereoGlobalTapButExcludeProcesses(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.

See: https://developer.apple.com/documentation/CoreAudio/CATapDescription/initStereoGlobalTapButExcludeProcesses:

func NewCATapDescriptionStereoMixdownOfProcesses

func NewCATapDescriptionStereoMixdownOfProcesses(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 NewCATapDescriptionWithProcessesAndDeviceUIDWithStream

func NewCATapDescriptionWithProcessesAndDeviceUIDWithStream(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

See: https://developer.apple.com/documentation/CoreAudio/CATapDescription/initWithProcesses:andDeviceUID:withStream:

func NewTapDescription deprecated

func NewTapDescription() CATapDescription

Deprecated: Use NewCATapDescription instead.

func NewTapDescriptionExcludingProcessesAndDeviceUIDWithStream deprecated

func NewTapDescriptionExcludingProcessesAndDeviceUIDWithStream(processesObjectIDsToExcludeFromTap []foundation.NSNumber, deviceUID string, stream int) CATapDescription

Deprecated: Use NewCATapDescriptionExcludingProcessesAndDeviceUIDWithStream instead.

func NewTapDescriptionMonoGlobalTapButExcludeProcesses deprecated

func NewTapDescriptionMonoGlobalTapButExcludeProcesses(processesObjectIDsToExcludeFromTap []foundation.NSNumber) CATapDescription

Deprecated: Use NewCATapDescriptionMonoGlobalTapButExcludeProcesses instead.

func NewTapDescriptionMonoMixdownOfProcesses deprecated

func NewTapDescriptionMonoMixdownOfProcesses(processesObjectIDsToIncludeInTap []foundation.NSNumber) CATapDescription

Deprecated: Use NewCATapDescriptionMonoMixdownOfProcesses instead.

func NewTapDescriptionStereoGlobalTapButExcludeProcesses deprecated

func NewTapDescriptionStereoGlobalTapButExcludeProcesses(processesObjectIDsToExcludeFromTap []foundation.NSNumber) CATapDescription

Deprecated: Use NewCATapDescriptionStereoGlobalTapButExcludeProcesses instead.

func NewTapDescriptionStereoMixdownOfProcesses deprecated

func NewTapDescriptionStereoMixdownOfProcesses(processesObjectIDsToIncludeInTap []foundation.NSNumber) CATapDescription

Deprecated: Use NewCATapDescriptionStereoMixdownOfProcesses instead.

func NewTapDescriptionWithProcessesAndDeviceUIDWithStream deprecated

func NewTapDescriptionWithProcessesAndDeviceUIDWithStream(processesObjectIDsToIncludeInTap []foundation.NSNumber, deviceUID string, stream int) CATapDescription

Deprecated: Use NewCATapDescriptionWithProcessesAndDeviceUIDWithStream instead.

func (CATapDescription) Autorelease

func (t CATapDescription) Autorelease() CATapDescription

Autorelease adds the receiver to the current autorelease pool.

func (CATapDescription) BundleIDs

func (t CATapDescription) BundleIDs() []string

Discussion

An Array of Strings where each String holds the bundle ID of a process to tap or exclude.

See: https://developer.apple.com/documentation/CoreAudio/CATapDescription/bundleIDs

func (CATapDescription) DeviceUID

func (t CATapDescription) DeviceUID() string

Discussion

An optional deviceUID that will have a value if this tap only taps a specific hardware device

See: https://developer.apple.com/documentation/CoreAudio/CATapDescription/deviceUID

func (CATapDescription) Init

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

See: https://developer.apple.com/documentation/CoreAudio/CATapDescription/initExcludingProcesses:andDeviceUID:withStream:

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

See: https://developer.apple.com/documentation/CoreAudio/CATapDescription/initMonoGlobalTapButExcludeProcesses:

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.

See: https://developer.apple.com/documentation/CoreAudio/CATapDescription/initStereoGlobalTapButExcludeProcesses:

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

See: https://developer.apple.com/documentation/CoreAudio/CATapDescription/initWithProcesses:andDeviceUID:withStream:

func (CATapDescription) IsExclusive added in v0.6.5

func (t CATapDescription) IsExclusive() bool

Discussion

True if this description should tap all processes except the process listed in the ‘processes’ property.

See: https://developer.apple.com/documentation/CoreAudio/CATapDescription/isExclusive

func (CATapDescription) IsMixdown added in v0.6.5

func (t CATapDescription) IsMixdown() bool

Discussion

True if this description is a mono or stereo mix of the tapped device’s channels.

See: https://developer.apple.com/documentation/CoreAudio/CATapDescription/isMixdown

func (CATapDescription) IsMono added in v0.6.5

func (t CATapDescription) IsMono() bool

Discussion

True if this description is a mono mixdown of channels.

See: https://developer.apple.com/documentation/CoreAudio/CATapDescription/isMono

func (CATapDescription) IsPrivate added in v0.6.5

func (t CATapDescription) IsPrivate() bool

Discussion

True if this tap is only visible to the client process that created the tap.

See: https://developer.apple.com/documentation/CoreAudio/CATapDescription/isPrivate

func (CATapDescription) IsProcessRestoreEnabled added in v0.6.5

func (t CATapDescription) IsProcessRestoreEnabled() bool

Discussion

True if this tap should save tapped processes by bundle ID when they exit, and restore them to the tap when they start up again.

See: https://developer.apple.com/documentation/CoreAudio/CATapDescription/isProcessRestoreEnabled

func (CATapDescription) MuteBehavior

func (t CATapDescription) MuteBehavior() CATapMuteBehavior

Discussion

Set the tap’s mute behavior. See CATapMuteBehavior above.

See: https://developer.apple.com/documentation/CoreAudio/CATapDescription/muteBehavior

func (CATapDescription) Name

func (t CATapDescription) Name() string

Discussion

Human readable name of this tap.

See: https://developer.apple.com/documentation/CoreAudio/CATapDescription/name

func (CATapDescription) Processes

func (t CATapDescription) Processes() []foundation.NSNumber

Discussion

An NSArray of NSNumbers where each NSNumber holds the AudioObjectID of a process object to tap or exclude.

See: https://developer.apple.com/documentation/CoreAudio/CATapDescription/processes-3cdzw

func (CATapDescription) SetBundleIDs

func (t CATapDescription) SetBundleIDs(value []string)

func (CATapDescription) SetDeviceUID

func (t CATapDescription) SetDeviceUID(value string)

func (CATapDescription) SetExclusive

func (t CATapDescription) SetExclusive(value bool)

func (CATapDescription) SetMixdown

func (t CATapDescription) SetMixdown(value bool)

func (CATapDescription) SetMono

func (t CATapDescription) SetMono(value bool)

func (CATapDescription) SetMuteBehavior

func (t CATapDescription) SetMuteBehavior(value CATapMuteBehavior)

func (CATapDescription) SetName

func (t CATapDescription) SetName(value string)

func (CATapDescription) SetPrivate added in v0.6.4

func (t CATapDescription) SetPrivate(value bool)

func (CATapDescription) SetProcessRestoreEnabled

func (t CATapDescription) SetProcessRestoreEnabled(value bool)

func (CATapDescription) SetProcesses

func (t CATapDescription) SetProcesses(value []foundation.NSNumber)

func (CATapDescription) SetStream

func (t CATapDescription) SetStream(value foundation.NSNumber)

func (CATapDescription) SetUUID

func (t CATapDescription) SetUUID(value foundation.NSUUID)

func (CATapDescription) Stream

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

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

Alloc allocates memory for a new instance of the class.

func (CATapDescriptionClass) Class

func (cc CATapDescriptionClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

type CATapMuteBehavior

type CATapMuteBehavior int

See: https://developer.apple.com/documentation/CoreAudio/CATapMuteBehavior

const (
	CATapMuted           CATapMuteBehavior = 0
	CATapMutedWhenTapped CATapMuteBehavior = 0
	CATapUnmuted         CATapMuteBehavior = 0
)

func (CATapMuteBehavior) String

func (e CATapMuteBehavior) String() string

type ICATapDescription

type ICATapDescription interface {
	objectivec.IObject

	BundleIDs() []string
	SetBundleIDs(value []string)
	DeviceUID() string
	SetDeviceUID(value string)
	IsExclusive() bool
	SetExclusive(value bool)
	IsMixdown() bool
	SetMixdown(value bool)
	IsMono() bool
	SetMono(value bool)
	IsPrivate() bool
	SetPrivate(value bool)
	IsProcessRestoreEnabled() bool
	SetProcessRestoreEnabled(value bool)
	MuteBehavior() CATapMuteBehavior
	SetMuteBehavior(value CATapMuteBehavior)
	Name() string
	SetName(value string)
	Processes() []foundation.NSNumber
	SetProcesses(value []foundation.NSNumber)
	Stream() foundation.NSNumber
	SetStream(value foundation.NSNumber)
	UUID() foundation.NSUUID
	SetUUID(value foundation.NSUUID)

	InitExcludingProcessesAndDeviceUIDWithStream(processesObjectIDsToExcludeFromTap []foundation.NSNumber, deviceUID string, stream int) CATapDescription
	InitMonoGlobalTapButExcludeProcesses(processesObjectIDsToExcludeFromTap []foundation.NSNumber) CATapDescription
	InitMonoMixdownOfProcesses(processesObjectIDsToIncludeInTap []foundation.NSNumber) CATapDescription
	InitStereoGlobalTapButExcludeProcesses(processesObjectIDsToExcludeFromTap []foundation.NSNumber) CATapDescription
	InitStereoMixdownOfProcesses(processesObjectIDsToIncludeInTap []foundation.NSNumber) CATapDescription
	InitWithProcessesAndDeviceUIDWithStream(processesObjectIDsToIncludeInTap []foundation.NSNumber, deviceUID string, stream int) CATapDescription
}

An interface definition for the CATapDescription class.

Instance Properties

See: https://developer.apple.com/documentation/CoreAudio/CATapDescription

type KAudio

type KAudio int32
const (
	KAudioDevicePermissionsError            KAudio = '!'<<24 | 'h'<<16 | 'o'<<8 | 'g' // '!hog'
	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'
)

func (KAudio) String

func (e KAudio) String() string

type KAudioAggregateDriftCompensation

type KAudioAggregateDriftCompensation uint32
const (
	KAudioAggregateDriftCompensationHighQuality   KAudioAggregateDriftCompensation = 0x60
	KAudioAggregateDriftCompensationLowQuality    KAudioAggregateDriftCompensation = 0x20
	KAudioAggregateDriftCompensationMaxQuality    KAudioAggregateDriftCompensation = 0x7f
	KAudioAggregateDriftCompensationMediumQuality KAudioAggregateDriftCompensation = 0x40
	KAudioAggregateDriftCompensationMinQuality    KAudioAggregateDriftCompensation = 0
)

func (KAudioAggregateDriftCompensation) String

type KAudioClockSourceItemKind

type KAudioClockSourceItemKind uint32
const (
	KAudioClockSourceItemKindInternal KAudioClockSourceItemKind = 'i'<<24 | 'n'<<16 | 't'<<8 | ' ' // 'int '
)

func (KAudioClockSourceItemKind) String

func (e KAudioClockSourceItemKind) String() string

type KAudioDeviceProperty

type KAudioDeviceProperty uint
const (
	KAudioDevicePropertyClockAlgorithm      KAudioDeviceProperty = 0
	KAudioDevicePropertyClockIsStable       KAudioDeviceProperty = 0
	KAudioDevicePropertyZeroTimeStampPeriod KAudioDeviceProperty = 0
)

func (KAudioDeviceProperty) String

func (e KAudioDeviceProperty) String() string

type KAudioDeviceStartTime

type KAudioDeviceStartTime uint32
const (
	KAudioDeviceStartTimeDontConsultDeviceFlag KAudioDeviceStartTime = 2
	KAudioDeviceStartTimeDontConsultHALFlag    KAudioDeviceStartTime = 4
	KAudioDeviceStartTimeIsInputFlag           KAudioDeviceStartTime = 1
)

func (KAudioDeviceStartTime) String

func (e KAudioDeviceStartTime) String() string

type KAudioDeviceTransportType

type KAudioDeviceTransportType uint32
const (
	KAudioDeviceTransportTypeAVB                       KAudioDeviceTransportType = 'e'<<24 | 'a'<<16 | 'v'<<8 | 'b' // 'eavb'
	KAudioDeviceTransportTypeAggregate                 KAudioDeviceTransportType = 'g'<<24 | 'r'<<16 | 'u'<<8 | 'p' // 'grup'
	KAudioDeviceTransportTypeAirPlay                   KAudioDeviceTransportType = 'a'<<24 | 'i'<<16 | 'r'<<8 | 'p' // 'airp'
	KAudioDeviceTransportTypeBluetooth                 KAudioDeviceTransportType = 'b'<<24 | 'l'<<16 | 'u'<<8 | 'e' // 'blue'
	KAudioDeviceTransportTypeBluetoothLE               KAudioDeviceTransportType = 'b'<<24 | 'l'<<16 | 'e'<<8 | 'a' // 'blea'
	KAudioDeviceTransportTypeBuiltIn                   KAudioDeviceTransportType = 'b'<<24 | 'l'<<16 | 't'<<8 | 'n' // 'bltn'
	KAudioDeviceTransportTypeContinuityCaptureWired    KAudioDeviceTransportType = 'c'<<24 | 'c'<<16 | 'w'<<8 | 'd' // 'ccwd'
	KAudioDeviceTransportTypeContinuityCaptureWireless KAudioDeviceTransportType = 'c'<<24 | 'c'<<16 | 'w'<<8 | 'l' // 'ccwl'
	KAudioDeviceTransportTypeDisplayPort               KAudioDeviceTransportType = 'd'<<24 | 'p'<<16 | 'r'<<8 | 't' // 'dprt'
	KAudioDeviceTransportTypeFireWire                  KAudioDeviceTransportType = '1'<<24 | '3'<<16 | '9'<<8 | '4' // '1394'
	KAudioDeviceTransportTypeHDMI                      KAudioDeviceTransportType = 'h'<<24 | 'd'<<16 | 'm'<<8 | 'i' // 'hdmi'
	KAudioDeviceTransportTypePCI                       KAudioDeviceTransportType = 'p'<<24 | 'c'<<16 | 'i'<<8 | ' ' // 'pci '
	KAudioDeviceTransportTypeThunderbolt               KAudioDeviceTransportType = 't'<<24 | 'h'<<16 | 'u'<<8 | 'n' // 'thun'
	KAudioDeviceTransportTypeUSB                       KAudioDeviceTransportType = 'u'<<24 | 's'<<16 | 'b'<<8 | ' ' // 'usb '
	KAudioDeviceTransportTypeUnknown                   KAudioDeviceTransportType = 0
	KAudioDeviceTransportTypeVirtual                   KAudioDeviceTransportType = 'v'<<24 | 'i'<<16 | 'r'<<8 | 't' // 'virt'
	// Deprecated.
	KAudioDeviceTransportTypeContinuityCapture KAudioDeviceTransportType = 'c'<<24 | 'c'<<16 | 'a'<<8 | 'p' // 'ccap'
)

func (KAudioDeviceTransportType) String

func (e KAudioDeviceTransportType) String() string

type KAudioDeviceTransportTypeAuto

type KAudioDeviceTransportTypeAuto uint32
const (
	KAudioDeviceTransportTypeAutoAggregate KAudioDeviceTransportTypeAuto = 'f'<<24 | 'g'<<16 | 'r'<<8 | 'p' // 'fgrp'
)

func (KAudioDeviceTransportTypeAuto) String

type KAudioObjectPlugIn

type KAudioObjectPlugIn uint
const (
	KAudioObjectPlugInObject KAudioObjectPlugIn = 0
)

func (KAudioObjectPlugIn) String

func (e KAudioObjectPlugIn) String() string

type KAudioObjectPropertyCustomPropertyInfo

type KAudioObjectPropertyCustomPropertyInfo uint
const (
	KAudioObjectPropertyCustomPropertyInfoList KAudioObjectPropertyCustomPropertyInfo = 0
)

func (KAudioObjectPropertyCustomPropertyInfo) String

type KAudioObjectSystem

type KAudioObjectSystem int32
const (
	KAudioObjectSystemObject KAudioObjectSystem = 1
)

func (KAudioObjectSystem) String

func (e KAudioObjectSystem) String() string

type KAudioPlugInPropertyResource

type KAudioPlugInPropertyResource uint
const (
	KAudioPlugInPropertyResourceBundle KAudioPlugInPropertyResource = 0
)

func (KAudioPlugInPropertyResource) String

type KAudioPropertyWildcard

type KAudioPropertyWildcard uint8
const (
	KAudioPropertyWildcardSection KAudioPropertyWildcard = 0xff
)

func (KAudioPropertyWildcard) String

func (e KAudioPropertyWildcard) String() string

type KAudioSelectorControlItemKind

type KAudioSelectorControlItemKind uint32
const (
	KAudioSelectorControlItemKindSpacer KAudioSelectorControlItemKind = 's'<<24 | 'p'<<16 | 'c'<<8 | 'r' // 'spcr'
)

func (KAudioSelectorControlItemKind) String

type KAudioServerPlugInCustomPropertyDataType

type KAudioServerPlugInCustomPropertyDataType uint
const (
	KAudioServerPlugInCustomPropertyDataTypeCFPropertyList KAudioServerPlugInCustomPropertyDataType = 0
	KAudioServerPlugInCustomPropertyDataTypeCFString       KAudioServerPlugInCustomPropertyDataType = 0
	KAudioServerPlugInCustomPropertyDataTypeNone           KAudioServerPlugInCustomPropertyDataType = 0
)

func (KAudioServerPlugInCustomPropertyDataType) String

type KAudioServerPlugInHostClientI

type KAudioServerPlugInHostClientI uint
const (
	KAudioServerPlugInHostClientID KAudioServerPlugInHostClientI = 0
)

func (KAudioServerPlugInHostClientI) String

type KAudioStreamTerminalType

type KAudioStreamTerminalType uint32
const (
	KAudioStreamTerminalTypeDigitalAudioInterface KAudioStreamTerminalType = 's'<<24 | 'p'<<16 | 'd'<<8 | 'f' // 'spdf'
	KAudioStreamTerminalTypeDisplayPort           KAudioStreamTerminalType = 'd'<<24 | 'p'<<16 | 'r'<<8 | 't' // 'dprt'
	KAudioStreamTerminalTypeHDMI                  KAudioStreamTerminalType = 'h'<<24 | 'd'<<16 | 'm'<<8 | 'i' // 'hdmi'
	KAudioStreamTerminalTypeHeadphones            KAudioStreamTerminalType = 'h'<<24 | 'd'<<16 | 'p'<<8 | 'h' // 'hdph'
	KAudioStreamTerminalTypeHeadsetMicrophone     KAudioStreamTerminalType = 'h'<<24 | 'm'<<16 | 'i'<<8 | 'c' // 'hmic'
	KAudioStreamTerminalTypeLFESpeaker            KAudioStreamTerminalType = 'l'<<24 | 'f'<<16 | 'e'<<8 | 's' // 'lfes'
	KAudioStreamTerminalTypeLine                  KAudioStreamTerminalType = 'l'<<24 | 'i'<<16 | 'n'<<8 | 'e' // 'line'
	KAudioStreamTerminalTypeMicrophone            KAudioStreamTerminalType = 'm'<<24 | 'i'<<16 | 'c'<<8 | 'r' // 'micr'
	KAudioStreamTerminalTypeReceiverMicrophone    KAudioStreamTerminalType = 'r'<<24 | 'm'<<16 | 'i'<<8 | 'c' // 'rmic'
	KAudioStreamTerminalTypeReceiverSpeaker       KAudioStreamTerminalType = 'r'<<24 | 's'<<16 | 'p'<<8 | 'k' // 'rspk'
	KAudioStreamTerminalTypeSpeaker               KAudioStreamTerminalType = 's'<<24 | 'p'<<16 | 'k'<<8 | 'r' // 'spkr'
	KAudioStreamTerminalTypeTTY                   KAudioStreamTerminalType = 't'<<24 | 't'<<16 | 'y'<<8 | '_' // 'tty_'
	KAudioStreamTerminalTypeUnknown               KAudioStreamTerminalType = 0
)

func (KAudioStreamTerminalType) String

func (e KAudioStreamTerminalType) String() string

type KAudioSubDeviceDriftCompensation

type KAudioSubDeviceDriftCompensation uint32
const (
	// Deprecated: use kAudioAggregateDriftCompensationHighQuality.
	KAudioSubDeviceDriftCompensationHighQuality KAudioSubDeviceDriftCompensation = 0x60
	// Deprecated: use kAudioAggregateDriftCompensationLowQuality.
	KAudioSubDeviceDriftCompensationLowQuality KAudioSubDeviceDriftCompensation = 0x20
	// Deprecated: use kAudioAggregateDriftCompensationMaxQuality.
	KAudioSubDeviceDriftCompensationMaxQuality KAudioSubDeviceDriftCompensation = 0x7f
	// Deprecated: use kAudioAggregateDriftCompensationMediumQuality.
	KAudioSubDeviceDriftCompensationMediumQuality KAudioSubDeviceDriftCompensation = 0x40
	// Deprecated: use kAudioAggregateDriftCompensationMinQuality.
	KAudioSubDeviceDriftCompensationMinQuality KAudioSubDeviceDriftCompensation = 0
)

func (KAudioSubDeviceDriftCompensation) String

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL