Symbols: 12.5% of Apple's iOS API (9 of 72, exact) · Rows: 2: 2 ✅ · iOS: 2.0+
Area: Media · Apple: Core Audio · Issues: area:media
- Adapted: on iOS, Core Audio is the audio data types (the hardware abstraction layer is macOS only).
import CoreAudiois a module that re-exports AudioToolbox (isim/swift/overlays/CoreAudio.swift), where isim keeps the types' Swift side; the C structs are the CoreAudioTypes module. Rows: CoreAudioTypes, AudioToolbox. - Objective-C / C interface:
<CoreAudio/CoreAudio.h>and<CoreAudio/CoreAudioTypes.h>(isim/sdk-src/Frameworks/CoreAudio): the structs plus the format IDs and linear PCM flags.
| API / feature | Status | iOS | Notes |
|---|---|---|---|
import CoreAudio, import CoreAudioTypes |
✅ | 2.0 | adapted: CoreAudio re-exports AudioToolbox; CoreAudioTypes is the C module of the structs. Tested (HelloAudioModules) |
#import <CoreAudio/CoreAudioTypes.h>, -framework CoreAudio: AudioStreamBasicDescription, AudioBufferList, AudioTimeStamp, kAudioFormat… IDs, kAudioFormatFlag… / kLinearPCMFormatFlag… |
✅ | 2.0 | Apple's values and layouts. Tested (AudioHeadersTest) |
63 symbols Apple documents for iOS that isim does not have (exact; Apple snapshot 2026-10-14). Each links to Apple's documentation.
List
func AudioConvertHostTimeToNanos(UInt64) -> UInt64func AudioConvertNanosToHostTime(UInt64) -> UInt64func AudioDeviceCreateIOProcID(AudioObjectID, AudioDeviceIOProc, UnsafeMutableRawPointer?, UnsafeMutablePointer<AudioDeviceIOProcID?>) -> OSStatusfunc AudioDeviceCreateIOProcIDWithBlock(UnsafeMutablePointer<AudioDeviceIOProcID?>, AudioObjectID, dispatch_queue_t?, AudioDeviceIOBlock) -> OSStatusfunc AudioDeviceDestroyIOProcID(AudioObjectID, AudioDeviceIOProcID) -> OSStatusfunc AudioDeviceGetCurrentTime(AudioObjectID, UnsafeMutablePointer<AudioTimeStamp>) -> OSStatusfunc AudioDeviceGetNearestStartTime(AudioObjectID, UnsafeMutablePointer<AudioTimeStamp>, UInt32) -> OSStatusfunc AudioDeviceStart(AudioObjectID, AudioDeviceIOProcID?) -> OSStatusfunc AudioDeviceStartAtTime(AudioObjectID, AudioDeviceIOProcID?, UnsafeMutablePointer<AudioTimeStamp>, UInt32) -> OSStatusfunc AudioDeviceStop(AudioObjectID, AudioDeviceIOProcID?) -> OSStatusfunc AudioDeviceTranslateTime(AudioObjectID, UnsafePointer<AudioTimeStamp>, UnsafeMutablePointer<AudioTimeStamp>) -> OSStatusfunc AudioGetCurrentHostTime() -> UInt64func AudioGetHostClockFrequency() -> Float64func AudioGetHostClockMinimumTimeDelta() -> UInt32func AudioHardwareCreateAggregateDevice(CFDictionary, UnsafeMutablePointer<AudioObjectID>) -> OSStatusfunc AudioHardwareDestroyAggregateDevice(AudioObjectID) -> OSStatusfunc AudioHardwareUnload() -> OSStatusfunc AudioObjectAddPropertyListener(AudioObjectID, UnsafePointer<AudioObjectPropertyAddress>, AudioObjectPropertyListenerProc, UnsafeMutableRawPointer?) -> OSStatusfunc AudioObjectAddPropertyListenerBlock(AudioObjectID, UnsafePointer<AudioObjectPropertyAddress>, dispatch_queue_t?, AudioObjectPropertyListenerBlock) -> OSStatusfunc AudioObjectGetPropertyData(AudioObjectID, UnsafePointer<AudioObjectPropertyAddress>, UInt32, UnsafeRawPointer?, UnsafeMutablePointer<UInt32>, UnsafeMutableRawPointer) -> OSStatusfunc AudioObjectGetPropertyDataSize(AudioObjectID, UnsafePointer<AudioObjectPropertyAddress>, UInt32, UnsafeRawPointer?, UnsafeMutablePointer<UInt32>) -> OSStatusfunc AudioObjectHasProperty(AudioObjectID, UnsafePointer<AudioObjectPropertyAddress>) -> Boolfunc AudioObjectIsPropertySettable(AudioObjectID, UnsafePointer<AudioObjectPropertyAddress>, UnsafeMutablePointer<DarwinBoolean>) -> OSStatusfunc AudioObjectRemovePropertyListener(AudioObjectID, UnsafePointer<AudioObjectPropertyAddress>, AudioObjectPropertyListenerProc, UnsafeMutableRawPointer?) -> OSStatusfunc AudioObjectRemovePropertyListenerBlock(AudioObjectID, UnsafePointer<AudioObjectPropertyAddress>, dispatch_queue_t?, AudioObjectPropertyListenerBlock) -> OSStatusfunc AudioObjectSetPropertyData(AudioObjectID, UnsafePointer<AudioObjectPropertyAddress>, UInt32, UnsafeRawPointer?, UInt32, UnsafeRawPointer) -> OSStatusfunc AudioObjectShow(AudioObjectID)CATapDescriptionvar bundleIDs: [String]var deviceUID: String?init()var isExclusive: Boolvar isMixdown: Boolvar isMono: Boolvar isPrivate: Boolvar isProcessRestoreEnabled: Boolvar muteBehavior: CATapMuteBehaviorvar name: Stringvar uuid: UUIDCATapMuteBehaviorinit?(rawValue: Int)case mutedcase mutedWhenTappedcase unmutedvar kAudioSubDeviceDriftCompensationHighQuality: UInt32var kAudioSubDeviceDriftCompensationLowQuality: UInt32var kAudioSubDeviceDriftCompensationMaxQuality: UInt32var kAudioSubDeviceDriftCompensationMediumQuality: UInt32var kAudioSubDeviceDriftCompensationMinQuality: UInt32ManagedAudioChannelLayoutvar bitmap: AudioChannelBitmapvar channelDescriptions: ManagedAudioChannelLayout.ChannelDescriptionsManagedAudioChannelLayout.ChannelDescriptionsinit(audioChannelLayoutPointer: AudioChannelLayout.UnsafePointer, deallocator: (AudioChannelLayout.UnsafePointer) -> Void)init(channelDescriptions: [AudioChannelDescription])init(maximumDescriptions: Int)init(tag: AudioChannelLayoutTag)var numberOfChannels: Intfunc setAllToUnknown()var sizeInBytes: Intvar tag: AudioChannelLayoutTagfunc withUnsafeMutablePointer<Result>((UnsafeMutablePointer<AudioChannelLayout>) throws -> Result) rethrows -> Resultfunc withUnsafePointer<Result>((UnsafePointer<AudioChannelLayout>) throws -> Result) rethrows -> Result