coreaudio

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Rendered for darwin/amd64

Overview

Package coreaudio provides a fluent Go API over the macOS CoreAudio framework.

Construction

New… functions create objects; each With… method sets one property and returns its receiver, so configuration calls chain. A <Type>FromID constructor adopts an Objective-C object obtained elsewhere.

Lifecycle

A wrapper releases its Objective-C object automatically once the garbage collector finds it unreachable. Call Release to relinquish the reference deterministically (for objects holding scarce resources); Release is idempotent, and afterwards the wrapper's methods are no-ops returning zero values.

Index

Constants

View Source
const (
	KAudioAggregateDeviceClassID                     = 1633773415
	KAudioAggregateDevicePropertyActiveSubDeviceList = 1634169456
	KAudioAggregateDevicePropertyClockDevice         = 1634755428
	KAudioAggregateDevicePropertyComposition         = 1633906541
	KAudioAggregateDevicePropertyFullSubDeviceList   = 1735554416
	KAudioAggregateDevicePropertyMainSubDevice       = 1634562932
	// Deprecated: since macOS 12.0.
	KAudioAggregateDevicePropertyMasterSubDevice                       = 1634562932
	KAudioAggregateDevicePropertySubTapList                            = 1635017072
	KAudioAggregateDevicePropertyTapList                               = 1952542755
	KAudioAggregateDriftCompensationHighQuality                        = 96
	KAudioAggregateDriftCompensationLowQuality                         = 32
	KAudioAggregateDriftCompensationMaxQuality                         = 127
	KAudioAggregateDriftCompensationMediumQuality                      = 64
	KAudioAggregateDriftCompensationMinQuality                         = 0
	KAudioBooleanControlClassID                                        = 1953458028
	KAudioBooleanControlPropertyValue                                  = 1650685548
	KAudioBootChimeVolumeControlClassID                                = 1886544237
	KAudioBoxClassID                                                   = 1633841016
	KAudioBoxPropertyAcquired                                          = 1652060014
	KAudioBoxPropertyAcquisitionFailed                                 = 1652060006
	KAudioBoxPropertyBoxUID                                            = 1651861860
	KAudioBoxPropertyClockDeviceList                                   = 1650682915
	KAudioBoxPropertyDeviceList                                        = 1650751011
	KAudioBoxPropertyHasAudio                                          = 1651007861
	KAudioBoxPropertyHasMIDI                                           = 1651010921
	KAudioBoxPropertyHasVideo                                          = 1651013225
	KAudioBoxPropertyIsProtected                                       = 1651536495
	KAudioBoxPropertyTransportType                                     = 1953653102
	KAudioClipLightControlClassID                                      = 1668049264
	KAudioClockDeviceClassID                                           = 1633905771
	KAudioClockDevicePropertyAvailableNominalSampleRates               = 1853059619
	KAudioClockDevicePropertyClockDomain                               = 1668049764
	KAudioClockDevicePropertyControlList                               = 1668575852
	KAudioClockDevicePropertyDeviceIsAlive                             = 1818850926
	KAudioClockDevicePropertyDeviceIsRunning                           = 1735354734
	KAudioClockDevicePropertyDeviceUID                                 = 1668639076
	KAudioClockDevicePropertyLatency                                   = 1819569763
	KAudioClockDevicePropertyNominalSampleRate                         = 1853059700
	KAudioClockDevicePropertyTransportType                             = 1953653102
	KAudioClockSourceControlClassID                                    = 1668047723
	KAudioClockSourceControlPropertyItemKind                           = 1668049771
	KAudioClockSourceItemKindInternal                                  = 1768846368
	KAudioControlClassID                                               = 1633907820
	KAudioControlPropertyElement                                       = 1667591277
	KAudioControlPropertyScope                                         = 1668506480
	KAudioControlPropertyVariant                                       = 1668702578
	KAudioDataDestinationControlClassID                                = 1684370292
	KAudioDataSourceControlClassID                                     = 1685287523
	KAudioDeviceClassID                                                = 1633969526
	KAudioDevicePermissionsError                                       = 560492391
	KAudioDeviceProcessorOverload                                      = 1870030194
	KAudioDevicePropertyActualSampleRate                               = 1634955892
	KAudioDevicePropertyAvailableNominalSampleRates                    = 1853059619
	KAudioDevicePropertyBufferFrameSize                                = 1718839674
	KAudioDevicePropertyBufferFrameSizeRange                           = 1718843939
	KAudioDevicePropertyBufferSize                                     = 1651730810
	KAudioDevicePropertyBufferSizeRange                                = 1651735075
	KAudioDevicePropertyChannelCategoryName                            = 1667460717
	KAudioDevicePropertyChannelCategoryNameCFString                    = 1818452846
	KAudioDevicePropertyChannelName                                    = 1667788397
	KAudioDevicePropertyChannelNameCFString                            = 1818454126
	KAudioDevicePropertyChannelNominalLineLevel                        = 1852601964
	KAudioDevicePropertyChannelNominalLineLevelNameForID               = 1668181110
	KAudioDevicePropertyChannelNominalLineLevelNameForIDCFString       = 1818455660
	KAudioDevicePropertyChannelNominalLineLevels                       = 1852601891
	KAudioDevicePropertyChannelNumberName                              = 1668181613
	KAudioDevicePropertyChannelNumberNameCFString                      = 1818455662
	KAudioDevicePropertyClipLight                                      = 1668049264
	KAudioDevicePropertyClockDevice                                    = 1634755428
	KAudioDevicePropertyClockDomain                                    = 1668049764
	KAudioDevicePropertyClockSource                                    = 1668510307
	KAudioDevicePropertyClockSourceKindForID                           = 1668506475
	KAudioDevicePropertyClockSourceNameForID                           = 1668506478
	KAudioDevicePropertyClockSourceNameForIDCFString                   = 1818456942
	KAudioDevicePropertyClockSources                                   = 1668506403
	KAudioDevicePropertyConfigurationApplication                       = 1667330160
	KAudioDevicePropertyDataSource                                     = 1936945763
	KAudioDevicePropertyDataSourceKindForID                            = 1936941931
	KAudioDevicePropertyDataSourceNameForID                            = 1936941934
	KAudioDevicePropertyDataSourceNameForIDCFString                    = 1819501422
	KAudioDevicePropertyDataSources                                    = 1936941859
	KAudioDevicePropertyDeviceCanBeDefaultDevice                       = 1684434036
	KAudioDevicePropertyDeviceCanBeDefaultSystemDevice                 = 1936092276
	KAudioDevicePropertyDeviceHasChanged                               = 1684629094
	KAudioDevicePropertyDeviceIsAlive                                  = 1818850926
	KAudioDevicePropertyDeviceIsRunning                                = 1735354734
	KAudioDevicePropertyDeviceIsRunningSomewhere                       = 1735356005
	KAudioDevicePropertyDeviceManufacturer                             = 1835101042
	KAudioDevicePropertyDeviceManufacturerCFString                     = 1819107691
	KAudioDevicePropertyDeviceName                                     = 1851878757
	KAudioDevicePropertyDeviceNameCFString                             = 1819173229
	KAudioDevicePropertyDeviceUID                                      = 1969841184
	KAudioDevicePropertyDriverShouldOwniSub                            = 1769174370
	KAudioDevicePropertyHighPassFilterSetting                          = 1751740518
	KAudioDevicePropertyHighPassFilterSettingNameForID                 = 1667787120
	KAudioDevicePropertyHighPassFilterSettingNameForIDCFString         = 1751740524
	KAudioDevicePropertyHighPassFilterSettings                         = 1751740451
	KAudioDevicePropertyHogMode                                        = 1869180523
	KAudioDevicePropertyIOCycleUsage                                   = 1852012899
	KAudioDevicePropertyIOProcStreamUsage                              = 1937077093
	KAudioDevicePropertyIOStoppedAbnormally                            = 1937010788
	KAudioDevicePropertyIOThreadOSWorkgroup                            = 1869838183
	KAudioDevicePropertyIcon                                           = 1768124270
	KAudioDevicePropertyIsHidden                                       = 1751737454
	KAudioDevicePropertyJackIsConnected                                = 1784767339
	KAudioDevicePropertyLatency                                        = 1819569763
	KAudioDevicePropertyListenback                                     = 1819504226
	KAudioDevicePropertyModelUID                                       = 1836411236
	KAudioDevicePropertyMute                                           = 1836414053
	KAudioDevicePropertyNominalSampleRate                              = 1853059700
	KAudioDevicePropertyPhantomPower                                   = 1885888878
	KAudioDevicePropertyPhaseInvert                                    = 1885893481
	KAudioDevicePropertyPlayThru                                       = 1953002101
	KAudioDevicePropertyPlayThruDestination                            = 1835295859
	KAudioDevicePropertyPlayThruDestinationNameForID                   = 1835295854
	KAudioDevicePropertyPlayThruDestinationNameForIDCFString           = 1835295843
	KAudioDevicePropertyPlayThruDestinations                           = 1835295779
	KAudioDevicePropertyPlayThruSolo                                   = 1953002099
	KAudioDevicePropertyPlayThruStereoPan                              = 1836281966
	KAudioDevicePropertyPlayThruStereoPanChannels                      = 1836281891
	KAudioDevicePropertyPlayThruVolumeDecibels                         = 1836475490
	KAudioDevicePropertyPlayThruVolumeDecibelsToScalar                 = 1836462707
	KAudioDevicePropertyPlayThruVolumeDecibelsToScalarTransferFunction = 1836479590
	KAudioDevicePropertyPlayThruVolumeRangeDecibels                    = 1836475427
	KAudioDevicePropertyPlayThruVolumeScalar                           = 1836479331
	KAudioDevicePropertyPlayThruVolumeScalarToDecibels                 = 1836462692
	KAudioDevicePropertyPlugIn                                         = 1886156135
	KAudioDevicePropertyPreferredChannelLayout                         = 1936879204
	KAudioDevicePropertyPreferredChannelsForStereo                     = 1684236338
	KAudioDevicePropertyProcessMute                                    = 1634758765
	KAudioDevicePropertyRegisterBufferList                             = 1919055206
	KAudioDevicePropertyRelatedDevices                                 = 1634429294
	KAudioDevicePropertySafetyOffset                                   = 1935763060
	KAudioDevicePropertyScopeInput                                     = 1768845428
	KAudioDevicePropertyScopeOutput                                    = 1869968496
	KAudioDevicePropertyScopePlayThrough                               = 1886679669
	KAudioDevicePropertySolo                                           = 1936682095
	KAudioDevicePropertyStereoPan                                      = 1936744814
	KAudioDevicePropertyStereoPanChannels                              = 1936748067
	KAudioDevicePropertyStreamConfiguration                            = 1936482681
	KAudioDevicePropertyStreamFormat                                   = 1936092532
	KAudioDevicePropertyStreamFormatMatch                              = 1936092525
	KAudioDevicePropertyStreamFormatSupported                          = 1936092479
	KAudioDevicePropertyStreamFormats                                  = 1936092451
	KAudioDevicePropertyStreams                                        = 1937009955
	KAudioDevicePropertySubMute                                        = 1936553332
	KAudioDevicePropertySubVolumeDecibels                              = 1937140836
	KAudioDevicePropertySubVolumeDecibelsToScalar                      = 1935946358
	KAudioDevicePropertySubVolumeDecibelsToScalarTransferFunction      = 1937142886
	KAudioDevicePropertySubVolumeRangeDecibels                         = 1937138723
	KAudioDevicePropertySubVolumeScalar                                = 1937140845
	KAudioDevicePropertySubVolumeScalarToDecibels                      = 1937125988
	KAudioDevicePropertySupportsMixing                                 = 1835628607
	KAudioDevicePropertyTalkback                                       = 1952541794
	KAudioDevicePropertyTransportType                                  = 1953653102
	KAudioDevicePropertyUsesVariableBufferFrameSizes                   = 1986425722
	KAudioDevicePropertyVoiceActivityDetectionEnable                   = 1983996971
	KAudioDevicePropertyVoiceActivityDetectionState                    = 1983997011
	KAudioDevicePropertyVolumeDecibels                                 = 1987013732
	KAudioDevicePropertyVolumeDecibelsToScalar                         = 1684157046
	KAudioDevicePropertyVolumeDecibelsToScalarTransferFunction         = 1986229350
	KAudioDevicePropertyVolumeRangeDecibels                            = 1986290211
	KAudioDevicePropertyVolumeScalar                                   = 1987013741
	KAudioDevicePropertyVolumeScalarToDecibels                         = 1983013986
	KAudioDevicePropertyWantsControlsRestored                          = 1919251299
	KAudioDevicePropertyWantsStreamFormatsRestored                     = 1919251302
	KAudioDeviceStartTimeDontConsultDeviceFlag                         = 2
	KAudioDeviceStartTimeDontConsultHALFlag                            = 4
	KAudioDeviceStartTimeIsInputFlag                                   = 1
	KAudioDeviceTransportTypeAVB                                       = 1700886114
	KAudioDeviceTransportTypeAggregate                                 = 1735554416
	KAudioDeviceTransportTypeAirPlay                                   = 1634300528
	KAudioDeviceTransportTypeAutoAggregate                             = 1718055536
	KAudioDeviceTransportTypeBluetooth                                 = 1651275109
	KAudioDeviceTransportTypeBluetoothLE                               = 1651271009
	KAudioDeviceTransportTypeBuiltIn                                   = 1651274862
	// Deprecated: Please use kAudioDeviceTransportTypeContinuityCaptureWired and kAudioDeviceTransportTypeContinuityCaptureWireless to describe Continuity Capture devices.
	KAudioDeviceTransportTypeContinuityCapture                            = 1667457392
	KAudioDeviceTransportTypeContinuityCaptureWired                       = 1667463012
	KAudioDeviceTransportTypeContinuityCaptureWireless                    = 1667463020
	KAudioDeviceTransportTypeDisplayPort                                  = 1685090932
	KAudioDeviceTransportTypeFireWire                                     = 825440564
	KAudioDeviceTransportTypeHDMI                                         = 1751412073
	KAudioDeviceTransportTypePCI                                          = 1885563168
	KAudioDeviceTransportTypeThunderbolt                                  = 1953002862
	KAudioDeviceTransportTypeUSB                                          = 1970496032
	KAudioDeviceTransportTypeUnknown                                      = 0
	KAudioDeviceTransportTypeVirtual                                      = 1986622068
	KAudioDeviceUnknown                                                   = 0
	KAudioDeviceUnsupportedFormatError                                    = 560226676
	KAudioEndPointClassID                                                 = 1701733488
	KAudioEndPointDeviceClassID                                           = 1701078390
	KAudioEndPointDevicePropertyComposition                               = 1633906541
	KAudioEndPointDevicePropertyEndPointList                              = 1634169456
	KAudioEndPointDevicePropertyIsPrivate                                 = 1886546294
	KAudioHardwareBadDeviceError                                          = 560227702
	KAudioHardwareBadObjectError                                          = 560947818
	KAudioHardwareBadPropertySizeError                                    = 561211770
	KAudioHardwareBadStreamError                                          = 561214578
	KAudioHardwareIllegalOperationError                                   = 1852797029
	KAudioHardwareNoError                                                 = 0
	KAudioHardwareNotReadyError                                           = 1852990585
	KAudioHardwareNotRunningError                                         = 1937010544
	KAudioHardwarePropertyBootChimeVolumeDecibels                         = 1650620004
	KAudioHardwarePropertyBootChimeVolumeDecibelsToScalar                 = 1650733686
	KAudioHardwarePropertyBootChimeVolumeDecibelsToScalarTransferFunction = 1651930214
	KAudioHardwarePropertyBootChimeVolumeRangeDecibels                    = 1650615331
	KAudioHardwarePropertyBootChimeVolumeScalar                           = 1650620019
	KAudioHardwarePropertyBootChimeVolumeScalarToDecibels                 = 1651913316
	KAudioHardwarePropertyBoxList                                         = 1651472419
	KAudioHardwarePropertyClockDeviceList                                 = 1668049699
	KAudioHardwarePropertyDefaultInputDevice                              = 1682533920
	KAudioHardwarePropertyDefaultOutputDevice                             = 1682929012
	KAudioHardwarePropertyDefaultSystemOutputDevice                       = 1934587252
	KAudioHardwarePropertyDeviceForUID                                    = 1685416292
	KAudioHardwarePropertyDevices                                         = 1684370979
	KAudioHardwarePropertyHogModeIsAllowed                                = 1752131442
	KAudioHardwarePropertyIsInitingOrExiting                              = 1768845172
	KAudioHardwarePropertyMixStereoToMono                                 = 1937010031
	KAudioHardwarePropertyPlugInForBundleID                               = 1885954665
	KAudioHardwarePropertyPlugInList                                      = 1886152483
	KAudioHardwarePropertyPowerHint                                       = 1886353256
	KAudioHardwarePropertyProcessInputMute                                = 1886218606
	KAudioHardwarePropertyProcessIsAudible                                = 1886221684
	KAudioHardwarePropertyProcessIsMain                                   = 1835100526
	// Deprecated: since macOS 12.0.
	KAudioHardwarePropertyProcessIsMaster                      = 1835103092
	KAudioHardwarePropertyProcessObjectList                    = 1886548771
	KAudioHardwarePropertyRunLoop                              = 1919839344
	KAudioHardwarePropertyServiceRestarted                     = 1936880500
	KAudioHardwarePropertySleepingIsAllowed                    = 1936483696
	KAudioHardwarePropertyTapList                              = 1953526563
	KAudioHardwarePropertyTranslateBundleIDToPlugIn            = 1651074160
	KAudioHardwarePropertyTranslateBundleIDToTransportManager  = 1953325673
	KAudioHardwarePropertyTranslatePIDToProcessObject          = 1768174192
	KAudioHardwarePropertyTranslateUIDToBox                    = 1969841250
	KAudioHardwarePropertyTranslateUIDToClockDevice            = 1969841251
	KAudioHardwarePropertyTranslateUIDToDevice                 = 1969841252
	KAudioHardwarePropertyTranslateUIDToTap                    = 1969841268
	KAudioHardwarePropertyTransportManagerList                 = 1953326883
	KAudioHardwarePropertyUnloadingIsAllowed                   = 1970170980
	KAudioHardwarePropertyUserIDChanged                        = 1702193508
	KAudioHardwarePropertyUserSessionIsActiveOrHeadless        = 1970496882
	KAudioHardwareUnknownPropertyError                         = 2003332927
	KAudioHardwareUnspecifiedError                             = 2003329396
	KAudioHardwareUnsupportedOperationError                    = 1970171760
	KAudioHighPassFilterControlClassID                         = 1751740518
	KAudioISubOwnerControlClassID                              = 1635017576
	KAudioJackControlClassID                                   = 1784767339
	KAudioLFEMuteControlClassID                                = 1937072749
	KAudioLFEVolumeControlClassID                              = 1937072758
	KAudioLevelControlClassID                                  = 1818588780
	KAudioLevelControlPropertyConvertDecibelsToScalar          = 1818453107
	KAudioLevelControlPropertyConvertScalarToDecibels          = 1818456932
	KAudioLevelControlPropertyDecibelRange                     = 1818453106
	KAudioLevelControlPropertyDecibelValue                     = 1818453110
	KAudioLevelControlPropertyDecibelsToScalarTransferFunction = 1818457190
	KAudioLevelControlPropertyScalarValue                      = 1818456950
	KAudioLineLevelControlClassID                              = 1852601964
	KAudioListenbackControlClassID                             = 1819504226
	KAudioMuteControlClassID                                   = 1836414053
	KAudioObjectClassID                                        = 1634689642
	KAudioObjectClassIDWildcard                                = 707406378
	KAudioObjectPropertyBaseClass                              = 1650682995
	KAudioObjectPropertyClass                                  = 1668047219
	KAudioObjectPropertyControlList                            = 1668575852
	KAudioObjectPropertyCreator                                = 1869638759
	KAudioObjectPropertyElementCategoryName                    = 1818452846
	KAudioObjectPropertyElementMain                            = 0
	// Deprecated: since macOS 12.0.
	KAudioObjectPropertyElementMaster             = 0
	KAudioObjectPropertyElementName               = 1818454126
	KAudioObjectPropertyElementNumberName         = 1818455662
	KAudioObjectPropertyElementWildcard           = 4294967295
	KAudioObjectPropertyFirmwareVersion           = 1719105134
	KAudioObjectPropertyIdentify                  = 1768187246
	KAudioObjectPropertyListenerAdded             = 1818850145
	KAudioObjectPropertyListenerRemoved           = 1818850162
	KAudioObjectPropertyManufacturer              = 1819107691
	KAudioObjectPropertyModelName                 = 1819111268
	KAudioObjectPropertyName                      = 1819173229
	KAudioObjectPropertyOwnedObjects              = 1870098020
	KAudioObjectPropertyOwner                     = 1937007734
	KAudioObjectPropertyScopeGlobal               = 1735159650
	KAudioObjectPropertyScopeInput                = 1768845428
	KAudioObjectPropertyScopeOutput               = 1869968496
	KAudioObjectPropertyScopePlayThrough          = 1886679669
	KAudioObjectPropertyScopeWildcard             = 707406378
	KAudioObjectPropertySelectorWildcard          = 707406378
	KAudioObjectPropertySerialNumber              = 1936618861
	KAudioObjectSystemObject                      = 1
	KAudioObjectUnknown                           = 0
	KAudioPhantomPowerControlClassID              = 1885888878
	KAudioPhaseInvertControlClassID               = 1885893481
	KAudioPlugInClassID                           = 1634757735
	KAudioPlugInCreateAggregateDevice             = 1667327847
	KAudioPlugInDestroyAggregateDevice            = 1684105063
	KAudioPlugInPropertyBoxList                   = 1651472419
	KAudioPlugInPropertyBundleID                  = 1885956452
	KAudioPlugInPropertyClockDeviceList           = 1668049699
	KAudioPlugInPropertyDeviceList                = 1684370979
	KAudioPlugInPropertyTranslateUIDToBox         = 1969841250
	KAudioPlugInPropertyTranslateUIDToClockDevice = 1969841251
	KAudioPlugInPropertyTranslateUIDToDevice      = 1969841252
	KAudioProcessClassID                          = 1668050548
	KAudioProcessPropertyBundleID                 = 1885497700
	KAudioProcessPropertyDevices                  = 1885632035
	KAudioProcessPropertyIsRunning                = 1885958719
	KAudioProcessPropertyIsRunningInput           = 1885958761
	KAudioProcessPropertyIsRunningOutput          = 1885958767
	KAudioProcessPropertyPID                      = 1886415204
	KAudioPropertyWildcardChannel                 = 4294967295
	KAudioPropertyWildcardPropertyID              = 707406378
	KAudioPropertyWildcardSection                 = 255
	KAudioSelectorControlClassID                  = 1936483188
	KAudioSelectorControlItemKindSpacer           = 1936745330
	KAudioSelectorControlPropertyAvailableItems   = 1935892841
	KAudioSelectorControlPropertyCurrentItem      = 1935893353
	KAudioSelectorControlPropertyItemKind         = 1668049771
	KAudioSelectorControlPropertyItemName         = 1935894894
	KAudioSliderControlClassID                    = 1936483442
	KAudioSliderControlPropertyRange              = 1935962738
	KAudioSliderControlPropertyValue              = 1935962742
	KAudioSoloControlClassID                      = 1936682095
	KAudioStereoPanControlClassID                 = 1936744814
	KAudioStereoPanControlPropertyPanningChannels = 1936745315
	KAudioStereoPanControlPropertyValue           = 1936745334
	KAudioStreamClassID                           = 1634956402
	KAudioStreamPropertyAvailablePhysicalFormats  = 1885762657
	KAudioStreamPropertyAvailableVirtualFormats   = 1936092513
	KAudioStreamPropertyDirection                 = 1935960434
	KAudioStreamPropertyIsActive                  = 1935762292
	KAudioStreamPropertyLatency                   = 1819569763
	KAudioStreamPropertyOwningDevice              = 1937007734
	KAudioStreamPropertyPhysicalFormat            = 1885762592
	KAudioStreamPropertyPhysicalFormatMatch       = 1885762669
	KAudioStreamPropertyPhysicalFormatSupported   = 1885762623
	KAudioStreamPropertyPhysicalFormats           = 1885762595
	KAudioStreamPropertyStartingChannel           = 1935894638
	KAudioStreamPropertyTerminalType              = 1952805485
	KAudioStreamPropertyVirtualFormat             = 1936092532
	KAudioStreamTerminalTypeDigitalAudioInterface = 1936745574
	KAudioStreamTerminalTypeDisplayPort           = 1685090932
	KAudioStreamTerminalTypeHDMI                  = 1751412073
	KAudioStreamTerminalTypeHeadphones            = 1751412840
	KAudioStreamTerminalTypeHeadsetMicrophone     = 1752000867
	KAudioStreamTerminalTypeLFESpeaker            = 1818649971
	KAudioStreamTerminalTypeLine                  = 1818848869
	KAudioStreamTerminalTypeMicrophone            = 1835623282
	KAudioStreamTerminalTypeReceiverMicrophone    = 1919773027
	KAudioStreamTerminalTypeReceiverSpeaker       = 1920168043
	KAudioStreamTerminalTypeSpeaker               = 1936747378
	KAudioStreamTerminalTypeTTY                   = 1953790303
	KAudioStreamTerminalTypeUnknown               = 0
	KAudioStreamUnknown                           = 0
	KAudioSubDeviceClassID                        = 1634956642
	// Deprecated: since macOS API_TO_BE_DEPRECATED.
	KAudioSubDeviceDriftCompensationHighQuality = 96
	// Deprecated: since macOS API_TO_BE_DEPRECATED.
	KAudioSubDeviceDriftCompensationLowQuality = 32
	// Deprecated: since macOS API_TO_BE_DEPRECATED.
	KAudioSubDeviceDriftCompensationMaxQuality = 127
	// Deprecated: since macOS API_TO_BE_DEPRECATED.
	KAudioSubDeviceDriftCompensationMediumQuality = 64
	// Deprecated: since macOS API_TO_BE_DEPRECATED.
	KAudioSubDeviceDriftCompensationMinQuality           = 0
	KAudioSubDevicePropertyDriftCompensation             = 1685218932
	KAudioSubDevicePropertyDriftCompensationQuality      = 1685218929
	KAudioSubDevicePropertyExtraLatency                  = 2020373603
	KAudioSubTapClassID                                  = 1937006960
	KAudioSubTapPropertyDriftCompensation                = 1685218932
	KAudioSubTapPropertyDriftCompensationQuality         = 1685218929
	KAudioSubTapPropertyExtraLatency                     = 2020373603
	KAudioSystemObjectClassID                            = 1634957683
	KAudioTalkbackControlClassID                         = 1952541794
	KAudioTapClassID                                     = 1952672883
	KAudioTapPropertyDescription                         = 1952740195
	KAudioTapPropertyFormat                              = 1952869748
	KAudioTapPropertyUID                                 = 1953851748
	KAudioTransportManagerClassID                        = 1953656941
	KAudioTransportManagerCreateEndPointDevice           = 1667523958
	KAudioTransportManagerDestroyEndPointDevice          = 1684301174
	KAudioTransportManagerPropertyEndPointList           = 1701733411
	KAudioTransportManagerPropertyTranslateUIDToEndPoint = 1969841253
	KAudioTransportManagerPropertyTransportType          = 1953653102
	KAudioVolumeControlClassID                           = 1986817381
)

Variables

This section is empty.

Functions

func AudioConvertHostTimeToNanos

func AudioConvertHostTimeToNanos(inHostTime uint64) uint64

AudioConvertHostTimeToNanos calls the CoreAudio framework function AudioConvertHostTimeToNanos.

func AudioConvertNanosToHostTime

func AudioConvertNanosToHostTime(inNanos uint64) uint64

AudioConvertNanosToHostTime calls the CoreAudio framework function AudioConvertNanosToHostTime.

func AudioDeviceAddIOProc

func AudioDeviceAddIOProc(inDevice int, inProc unsafe.Pointer, inClientData unsafe.Pointer) error

AudioDeviceAddIOProc reports an error if the CoreAudio framework function AudioDeviceAddIOProc fails.

func AudioDeviceAddPropertyListener

func AudioDeviceAddPropertyListener(inDevice int, inChannel int, isInput uint8, inPropertyID int, inProc unsafe.Pointer, inClientData unsafe.Pointer) error

AudioDeviceAddPropertyListener reports an error if the CoreAudio framework function AudioDeviceAddPropertyListener fails.

func AudioDeviceCreateIOProcID

func AudioDeviceCreateIOProcID(inDevice int, inProc unsafe.Pointer, inClientData unsafe.Pointer, outIOProcID unsafe.Pointer) error

AudioDeviceCreateIOProcID reports an error if the CoreAudio framework function AudioDeviceCreateIOProcID fails.

func AudioDeviceCreateIOProcIDWithBlock

func AudioDeviceCreateIOProcIDWithBlock(outIOProcID unsafe.Pointer, inDevice int, inDispatchQueue dispatch.Queue, inIOBlock unsafe.Pointer) int

AudioDeviceCreateIOProcIDWithBlock calls the CoreAudio framework function AudioDeviceCreateIOProcIDWithBlock.

func AudioDeviceDestroyIOProcID

func AudioDeviceDestroyIOProcID(inDevice int, inIOProcID unsafe.Pointer) error

AudioDeviceDestroyIOProcID reports an error if the CoreAudio framework function AudioDeviceDestroyIOProcID fails.

func AudioDeviceGetCurrentTime

func AudioDeviceGetCurrentTime(inDevice int, outTime *coreaudiotypes.AudioTimeStamp) error

AudioDeviceGetCurrentTime reports an error if the CoreAudio framework function AudioDeviceGetCurrentTime fails.

func AudioDeviceGetNearestStartTime

func AudioDeviceGetNearestStartTime(inDevice int, ioRequestedStartTime *coreaudiotypes.AudioTimeStamp, inFlags int) error

AudioDeviceGetNearestStartTime reports an error if the CoreAudio framework function AudioDeviceGetNearestStartTime fails.

func AudioDeviceGetProperty

func AudioDeviceGetProperty(inDevice int, inChannel int, isInput uint8, inPropertyID int, outPropertyData unsafe.Pointer) (result int, ioPropertyDataSize int)

AudioDeviceGetProperty calls the CoreAudio framework function AudioDeviceGetProperty.

func AudioDeviceGetPropertyInfo

func AudioDeviceGetPropertyInfo(inDevice int, inChannel int, isInput uint8, inPropertyID int) (result int, outSize int, outWritable uint8)

AudioDeviceGetPropertyInfo calls the CoreAudio framework function AudioDeviceGetPropertyInfo.

func AudioDeviceRead

func AudioDeviceRead(inDevice int, inStartTime *coreaudiotypes.AudioTimeStamp, outData unsafe.Pointer) int

AudioDeviceRead calls the CoreAudio framework function AudioDeviceRead.

func AudioDeviceRemoveIOProc

func AudioDeviceRemoveIOProc(inDevice int, inProc unsafe.Pointer) error

AudioDeviceRemoveIOProc reports an error if the CoreAudio framework function AudioDeviceRemoveIOProc fails.

func AudioDeviceRemovePropertyListener

func AudioDeviceRemovePropertyListener(inDevice int, inChannel int, isInput uint8, inPropertyID int, inProc unsafe.Pointer) error

AudioDeviceRemovePropertyListener reports an error if the CoreAudio framework function AudioDeviceRemovePropertyListener fails.

func AudioDeviceSetProperty

func AudioDeviceSetProperty(inDevice int, inWhen *coreaudiotypes.AudioTimeStamp, inChannel int, isInput uint8, inPropertyID int, inPropertyDataSize int, inPropertyData unsafe.Pointer) error

AudioDeviceSetProperty reports an error if the CoreAudio framework function AudioDeviceSetProperty fails.

func AudioDeviceStart

func AudioDeviceStart(inDevice int, inProcID unsafe.Pointer) error

AudioDeviceStart reports an error if the CoreAudio framework function AudioDeviceStart fails.

func AudioDeviceStartAtTime

func AudioDeviceStartAtTime(inDevice int, inProcID unsafe.Pointer, ioRequestedStartTime *coreaudiotypes.AudioTimeStamp, inFlags int) error

AudioDeviceStartAtTime reports an error if the CoreAudio framework function AudioDeviceStartAtTime fails.

func AudioDeviceStop

func AudioDeviceStop(inDevice int, inProcID unsafe.Pointer) error

AudioDeviceStop reports an error if the CoreAudio framework function AudioDeviceStop fails.

func AudioDeviceTranslateTime

func AudioDeviceTranslateTime(inDevice int, inTime *coreaudiotypes.AudioTimeStamp, outTime *coreaudiotypes.AudioTimeStamp) error

AudioDeviceTranslateTime reports an error if the CoreAudio framework function AudioDeviceTranslateTime fails.

func AudioGetCurrentHostTime

func AudioGetCurrentHostTime() uint64

AudioGetCurrentHostTime calls the CoreAudio framework function AudioGetCurrentHostTime.

func AudioGetHostClockFrequency

func AudioGetHostClockFrequency() float64

AudioGetHostClockFrequency calls the CoreAudio framework function AudioGetHostClockFrequency.

func AudioGetHostClockMinimumTimeDelta

func AudioGetHostClockMinimumTimeDelta() int

AudioGetHostClockMinimumTimeDelta calls the CoreAudio framework function AudioGetHostClockMinimumTimeDelta.

func AudioHardwareAddPropertyListener

func AudioHardwareAddPropertyListener(inPropertyID int, inProc unsafe.Pointer, inClientData unsafe.Pointer) error

AudioHardwareAddPropertyListener reports an error if the CoreAudio framework function AudioHardwareAddPropertyListener fails.

func AudioHardwareAddRunLoopSource

func AudioHardwareAddRunLoopSource(inRunLoopSource obj.Object) error

AudioHardwareAddRunLoopSource reports an error if the CoreAudio framework function AudioHardwareAddRunLoopSource fails.

func AudioHardwareCreateAggregateDevice

func AudioHardwareCreateAggregateDevice(inDescription corefoundation.CFDictionaryRef) (result int, outDeviceID int)

AudioHardwareCreateAggregateDevice calls the CoreAudio framework function AudioHardwareCreateAggregateDevice.

func AudioHardwareDestroyAggregateDevice

func AudioHardwareDestroyAggregateDevice(inDeviceID int) error

AudioHardwareDestroyAggregateDevice reports an error if the CoreAudio framework function AudioHardwareDestroyAggregateDevice fails.

func AudioHardwareGetProperty

func AudioHardwareGetProperty(inPropertyID int, outPropertyData unsafe.Pointer) (result int, ioPropertyDataSize int)

AudioHardwareGetProperty calls the CoreAudio framework function AudioHardwareGetProperty.

func AudioHardwareGetPropertyInfo

func AudioHardwareGetPropertyInfo(inPropertyID int) (result int, outSize int, outWritable uint8)

AudioHardwareGetPropertyInfo calls the CoreAudio framework function AudioHardwareGetPropertyInfo.

func AudioHardwareRemovePropertyListener

func AudioHardwareRemovePropertyListener(inPropertyID int, inProc unsafe.Pointer) error

AudioHardwareRemovePropertyListener reports an error if the CoreAudio framework function AudioHardwareRemovePropertyListener fails.

func AudioHardwareRemoveRunLoopSource

func AudioHardwareRemoveRunLoopSource(inRunLoopSource obj.Object) error

AudioHardwareRemoveRunLoopSource reports an error if the CoreAudio framework function AudioHardwareRemoveRunLoopSource fails.

func AudioHardwareSetProperty

func AudioHardwareSetProperty(inPropertyID int, inPropertyDataSize int, inPropertyData unsafe.Pointer) error

AudioHardwareSetProperty reports an error if the CoreAudio framework function AudioHardwareSetProperty fails.

func AudioHardwareUnload

func AudioHardwareUnload() error

AudioHardwareUnload reports an error if the CoreAudio framework function AudioHardwareUnload fails.

func AudioObjectAddPropertyListener

func AudioObjectAddPropertyListener(inObjectID int, inAddress *AudioObjectPropertyAddress, inListener unsafe.Pointer, inClientData unsafe.Pointer) error

AudioObjectAddPropertyListener reports an error if the CoreAudio framework function AudioObjectAddPropertyListener fails.

func AudioObjectAddPropertyListenerBlock

func AudioObjectAddPropertyListenerBlock(inObjectID int, inAddress *AudioObjectPropertyAddress, inDispatchQueue dispatch.Queue, inListener unsafe.Pointer) int

AudioObjectAddPropertyListenerBlock calls the CoreAudio framework function AudioObjectAddPropertyListenerBlock.

func AudioObjectGetPropertyData

func AudioObjectGetPropertyData(inObjectID int, inAddress *AudioObjectPropertyAddress, inQualifierDataSize int, inQualifierData unsafe.Pointer, outData unsafe.Pointer) (result int, ioDataSize int)

AudioObjectGetPropertyData calls the CoreAudio framework function AudioObjectGetPropertyData.

func AudioObjectGetPropertyDataSize

func AudioObjectGetPropertyDataSize(inObjectID int, inAddress *AudioObjectPropertyAddress, inQualifierDataSize int, inQualifierData unsafe.Pointer) (result int, outDataSize int)

AudioObjectGetPropertyDataSize calls the CoreAudio framework function AudioObjectGetPropertyDataSize.

func AudioObjectHasProperty

func AudioObjectHasProperty(inObjectID int, inAddress *AudioObjectPropertyAddress) uint8

AudioObjectHasProperty calls the CoreAudio framework function AudioObjectHasProperty.

func AudioObjectIsPropertySettable

func AudioObjectIsPropertySettable(inObjectID int, inAddress *AudioObjectPropertyAddress) (result int, outIsSettable uint8)

AudioObjectIsPropertySettable calls the CoreAudio framework function AudioObjectIsPropertySettable.

func AudioObjectRemovePropertyListener

func AudioObjectRemovePropertyListener(inObjectID int, inAddress *AudioObjectPropertyAddress, inListener unsafe.Pointer, inClientData unsafe.Pointer) error

AudioObjectRemovePropertyListener reports an error if the CoreAudio framework function AudioObjectRemovePropertyListener fails.

func AudioObjectRemovePropertyListenerBlock

func AudioObjectRemovePropertyListenerBlock(inObjectID int, inAddress *AudioObjectPropertyAddress, inDispatchQueue dispatch.Queue, inListener unsafe.Pointer) int

AudioObjectRemovePropertyListenerBlock calls the CoreAudio framework function AudioObjectRemovePropertyListenerBlock.

func AudioObjectSetPropertyData

func AudioObjectSetPropertyData(inObjectID int, inAddress *AudioObjectPropertyAddress, inQualifierDataSize int, inQualifierData unsafe.Pointer, inDataSize int, inData unsafe.Pointer) error

AudioObjectSetPropertyData reports an error if the CoreAudio framework function AudioObjectSetPropertyData fails.

func AudioObjectShow

func AudioObjectShow(inObjectID int)

AudioObjectShow calls the CoreAudio framework function AudioObjectShow.

func AudioStreamAddPropertyListener

func AudioStreamAddPropertyListener(inStream int, inChannel int, inPropertyID int, inProc unsafe.Pointer, inClientData unsafe.Pointer) error

AudioStreamAddPropertyListener reports an error if the CoreAudio framework function AudioStreamAddPropertyListener fails.

func AudioStreamGetProperty

func AudioStreamGetProperty(inStream int, inChannel int, inPropertyID int, outPropertyData unsafe.Pointer) (result int, ioPropertyDataSize int)

AudioStreamGetProperty calls the CoreAudio framework function AudioStreamGetProperty.

func AudioStreamGetPropertyInfo

func AudioStreamGetPropertyInfo(inStream int, inChannel int, inPropertyID int) (result int, outSize int, outWritable uint8)

AudioStreamGetPropertyInfo calls the CoreAudio framework function AudioStreamGetPropertyInfo.

func AudioStreamRemovePropertyListener

func AudioStreamRemovePropertyListener(inStream int, inChannel int, inPropertyID int, inProc unsafe.Pointer) error

AudioStreamRemovePropertyListener reports an error if the CoreAudio framework function AudioStreamRemovePropertyListener fails.

func AudioStreamSetProperty

func AudioStreamSetProperty(inStream int, inWhen *coreaudiotypes.AudioTimeStamp, inChannel int, inPropertyID int, inPropertyDataSize int, inPropertyData unsafe.Pointer) error

AudioStreamSetProperty reports an error if the CoreAudio framework function AudioStreamSetProperty fails.

Types

type AudioHardwareIOProcStreamUsage

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

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

type AudioHardwarePowerHint

type AudioHardwarePowerHint uint32
const (
	KAudioHardwarePowerHintNone             AudioHardwarePowerHint = 0
	KAudioHardwarePowerHintFavorSavingPower AudioHardwarePowerHint = 1
)

func (AudioHardwarePowerHint) String

func (e AudioHardwarePowerHint) String() string

String returns the AudioHardwarePowerHint constant's name, or its numeric form when the value is not a known constant.

type AudioLevelControlTransferFunction

type AudioLevelControlTransferFunction uint32
const (
	KAudioLevelControlTranferFunctionLinear  AudioLevelControlTransferFunction = 0
	KAudioLevelControlTranferFunction1Over3  AudioLevelControlTransferFunction = 1
	KAudioLevelControlTranferFunction1Over2  AudioLevelControlTransferFunction = 2
	KAudioLevelControlTranferFunction3Over4  AudioLevelControlTransferFunction = 3
	KAudioLevelControlTranferFunction3Over2  AudioLevelControlTransferFunction = 4
	KAudioLevelControlTranferFunction2Over1  AudioLevelControlTransferFunction = 5
	KAudioLevelControlTranferFunction3Over1  AudioLevelControlTransferFunction = 6
	KAudioLevelControlTranferFunction4Over1  AudioLevelControlTransferFunction = 7
	KAudioLevelControlTranferFunction5Over1  AudioLevelControlTransferFunction = 8
	KAudioLevelControlTranferFunction6Over1  AudioLevelControlTransferFunction = 9
	KAudioLevelControlTranferFunction7Over1  AudioLevelControlTransferFunction = 10
	KAudioLevelControlTranferFunction8Over1  AudioLevelControlTransferFunction = 11
	KAudioLevelControlTranferFunction9Over1  AudioLevelControlTransferFunction = 12
	KAudioLevelControlTranferFunction10Over1 AudioLevelControlTransferFunction = 13
	KAudioLevelControlTranferFunction11Over1 AudioLevelControlTransferFunction = 14
	KAudioLevelControlTranferFunction12Over1 AudioLevelControlTransferFunction = 15
)

func (AudioLevelControlTransferFunction) String

String returns the AudioLevelControlTransferFunction constant's name, or its numeric form when the value is not a known constant.

type AudioObjectPropertyAddress

type AudioObjectPropertyAddress struct {
	MSelector uint32
	MScope    uint32
	MElement  uint32
}

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

type AudioStreamRangedDescription

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

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

type Clockid added in v0.17.0

type Clockid int32
const (
	ClockidRealtime           Clockid = 0
	ClockidMonotonic          Clockid = 6
	ClockidMonotonicRaw       Clockid = 4
	ClockidMonotonicRawApprox Clockid = 5
	ClockidUptimeRaw          Clockid = 8
	ClockidUptimeRawApprox    Clockid = 9
	ClockidProcessCputimeID   Clockid = 12
	ClockidThreadCputimeID    Clockid = 16
)

func (Clockid) String added in v0.17.0

func (e Clockid) String() string

String returns the Clockid constant's name, or its numeric form when the value is not a known constant.

type DispatchAutoreleaseFrequency added in v0.17.0

type DispatchAutoreleaseFrequency uint64
const (
	DispatchAutoreleaseFrequencyInherit  DispatchAutoreleaseFrequency = 0
	DispatchAutoreleaseFrequencyWorkItem DispatchAutoreleaseFrequency = 1
	DispatchAutoreleaseFrequencyNever    DispatchAutoreleaseFrequency = 2
)

func (DispatchAutoreleaseFrequency) String added in v0.17.0

String returns the DispatchAutoreleaseFrequency constant's name, or its numeric form when the value is not a known constant.

type DispatchBlockFlags added in v0.17.0

type DispatchBlockFlags uint64

Bitmask — values may be combined with |.

const (
	DispatchBlockFlagsBarrier         DispatchBlockFlags = 1
	DispatchBlockFlagsDetached        DispatchBlockFlags = 2
	DispatchBlockFlagsAssignCurrent   DispatchBlockFlags = 4
	DispatchBlockFlagsNoQosClass      DispatchBlockFlags = 8
	DispatchBlockFlagsInheritQosClass DispatchBlockFlags = 16
	DispatchBlockFlagsEnforceQosClass DispatchBlockFlags = 32
)

func (DispatchBlockFlags) String added in v0.17.0

func (e DispatchBlockFlags) String() string

String returns the DispatchBlockFlags constant's name, or its numeric form when the value is not a known constant.

type EntryID added in v0.17.0

type EntryID int32
const (
	EntryIDFirstEntry EntryID = 0
	EntryIDNextEntry  EntryID = -1
	EntryIDLastEntry  EntryID = -2
)

func (EntryID) String added in v0.17.0

func (e EntryID) String() string

String returns the EntryID constant's name, or its numeric form when the value is not a known constant.

type FilesecProperty added in v0.17.0

type FilesecProperty int32
const (
	FilesecPropertyOwner        FilesecProperty = 1
	FilesecPropertyGroup        FilesecProperty = 2
	FilesecPropertyUUID         FilesecProperty = 3
	FilesecPropertyMode         FilesecProperty = 4
	FilesecPropertyACL          FilesecProperty = 5
	FilesecPropertyGrpuuid      FilesecProperty = 6
	FilesecPropertyACLRaw       FilesecProperty = 100
	FilesecPropertyACLAllocsize FilesecProperty = 101
)

func (FilesecProperty) String added in v0.17.0

func (e FilesecProperty) String() string

String returns the FilesecProperty constant's name, or its numeric form when the value is not a known constant.

type Flag added in v0.17.0

type Flag int32
const (
	FlagFlagDeferInherit      Flag = 1
	FlagFlagNoInherit         Flag = 131072
	FlagEntryInherited        Flag = 16
	FlagEntryFileInherit      Flag = 32
	FlagEntryDirectoryInherit Flag = 64
	FlagEntryLimitInherit     Flag = 128
	FlagEntryOnlyInherit      Flag = 256
)

func (Flag) String added in v0.17.0

func (e Flag) String() string

String returns the Flag constant's name, or its numeric form when the value is not a known constant.

type Idtype added in v0.17.0

type Idtype int32
const (
	IdtypeAll  Idtype = 0
	IdtypePid  Idtype = 1
	IdtypePgid Idtype = 2
)

func (Idtype) String added in v0.17.0

func (e Idtype) String() string

String returns the Idtype constant's name, or its numeric form when the value is not a known constant.

type MpoFlags added in v0.17.0

type MpoFlags uint32

Bitmask — values may be combined with |.

const (
	MpoFlagsPort                        MpoFlags = 0
	MpoFlagsServicePort                 MpoFlags = 1024
	MpoFlagsConnectionPort              MpoFlags = 2048
	MpoFlagsReplyPort                   MpoFlags = 4096
	MpoFlagsWeakReplyPort               MpoFlags = 16384
	MpoFlagsNotificationPort            MpoFlags = 17408
	MpoFlagsExceptionPort               MpoFlags = 32768
	MpoFlagsConnectionPortWithPortArray MpoFlags = 65536
)

func (MpoFlags) String added in v0.17.0

func (e MpoFlags) String() string

String returns the MpoFlags constant's name, or its numeric form when the value is not a known constant.

type OSClockid added in v0.17.0

type OSClockid uint32
const (
	OSClockidTime OSClockid = 32
)

func (OSClockid) String added in v0.17.0

func (e OSClockid) String() string

String returns the OSClockid constant's name, or its numeric form when the value is not a known constant.

type Perm added in v0.17.0

type Perm int32
const (
	PermReadData           Perm = 2
	PermListDirectory      Perm = 2
	PermWriteData          Perm = 4
	PermAddFile            Perm = 4
	PermExecute            Perm = 8
	PermSearch             Perm = 8
	PermDelete             Perm = 16
	PermAppendData         Perm = 32
	PermAddSubdirectory    Perm = 32
	PermDeleteChild        Perm = 64
	PermReadAttributes     Perm = 128
	PermWriteAttributes    Perm = 256
	PermReadExtattributes  Perm = 512
	PermWriteExtattributes Perm = 1024
	PermReadSecurity       Perm = 2048
	PermWriteSecurity      Perm = 4096
	PermChangeOwner        Perm = 8192
	PermSynchronize        Perm = 1048576
)

func (Perm) String added in v0.17.0

func (e Perm) String() string

String returns the Perm constant's name, or its numeric form when the value is not a known constant.

type PtrauthKey added in v0.17.0

type PtrauthKey int32
const (
	Ptrauth_key_none                     PtrauthKey = -1
	Ptrauth_key_asia                     PtrauthKey = 0
	Ptrauth_key_asib                     PtrauthKey = 1
	Ptrauth_key_asda                     PtrauthKey = 2
	Ptrauth_key_asdb                     PtrauthKey = 3
	Ptrauth_key_process_independent_code PtrauthKey = 0
	Ptrauth_key_process_dependent_code   PtrauthKey = 1
	Ptrauth_key_process_independent_data PtrauthKey = 2
	Ptrauth_key_process_dependent_data   PtrauthKey = 3
	Ptrauth_key_return_address           PtrauthKey = 1
	Ptrauth_key_frame_pointer            PtrauthKey = 3
	Ptrauth_key_function_pointer         PtrauthKey = 0
	Ptrauth_key_block_function           PtrauthKey = 0
	Ptrauth_key_cxx_vtable_pointer       PtrauthKey = 2
	Ptrauth_key_method_list_pointer      PtrauthKey = 2
	Ptrauth_key_objc_isa_pointer         PtrauthKey = 2
	Ptrauth_key_objc_super_pointer       PtrauthKey = 2
	Ptrauth_key_objc_sel_pointer         PtrauthKey = 3
	Ptrauth_key_objc_class_ro_pointer    PtrauthKey = 2
	Ptrauth_key_block_descriptor_pointer PtrauthKey = 2
	Ptrauth_key_init_fini_pointer        PtrauthKey = 0
)

func (PtrauthKey) String added in v0.17.0

func (e PtrauthKey) String() string

String returns the PtrauthKey constant's name, or its numeric form when the value is not a known constant.

type QosClass added in v0.17.0

type QosClass uint32
const (
	QosClassUserInteractive QosClass = 33
	QosClassUserInitiated   QosClass = 25
	QosClassDefault         QosClass = 21
	QosClassUtility         QosClass = 17
	QosClassBackground      QosClass = 9
	QosClassUnspecified     QosClass = 0
)

func (QosClass) String added in v0.17.0

func (e QosClass) String() string

String returns the QosClass constant's name, or its numeric form when the value is not a known constant.

type Tag added in v0.17.0

type Tag int32
const (
	TagUndefinedTag  Tag = 0
	TagExtendedAllow Tag = 1
	TagExtendedDeny  Tag = 2
)

func (Tag) String added in v0.17.0

func (e Tag) String() string

String returns the Tag constant's name, or its numeric form when the value is not a known constant.

type Type added in v0.17.0

type Type int32
const (
	TypeExtended Type = 256
	TypeAccess   Type = 0
	TypeDefault  Type = 1
	TypeAfs      Type = 2
	TypeCoda     Type = 3
	TypeNtfs     Type = 4
	TypeNwfs     Type = 5
)

func (Type) String added in v0.17.0

func (e Type) String() string

String returns the Type constant's name, or its numeric form when the value is not a known constant.

Jump to

Keyboard shortcuts

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