init
TypeScriptstatic init(): AVAudioIONodeSwift declarationinit()class · iOS 8.0+ · SDK 27.1
class AVAudioIONodestatic init(): AVAudioIONodeSwift declarationinit()setVoiceProcessingEnabled(enabled: boolean): voidSwift declarationfunc setVoiceProcessingEnabled(_ enabled: Bool) throwsget presentationLatency(): numberSwift declarationvar presentationLatency: TimeInterval { get }get isVoiceProcessingEnabled(): booleanSwift declarationvar isVoiceProcessingEnabled: Bool { get }withAudioUnit(body: ((arg0: (SDKHandle) | null) => unknown)): unknownSwift declarationfunc withAudioUnit<R, E>(_ body: (borrowing AudioUnit?) throws(E) -> R) throws(E) -> R where E : ErrorProvides scoped access to the I/O node's AudioUnit This method provides thread-safe, scoped access to the underlying AudioUnit. The audio unit reference is only valid within the closure and must not be retained or accessed outside of it. - Parameter body: A closure that receives the AudioUnit instance - Returns: The value returned by the closure - Throws: Rethrows any error thrown by the closure
get audioUnit(): (SDKHandle) | nullSwift declaration@export(implementation) var audioUnit: AudioUnit? { get }No declarations were skipped in this snapshot.