attach
TypeScriptattach(node: AVAudioNode): voidSwift declarationfunc attach(_ node: AVAudioNode)class · iOS 8.0+ · SDK 27.1
class AVAudioEngineattach(node: AVAudioNode): voidSwift declarationfunc attach(_ node: AVAudioNode)connectToFormat(node1: AVAudioNode, node2: AVAudioNode, format?: (AVAudioFormat) | null): voidSwift declarationfunc connect(_ node1: AVAudioNode, to node2: AVAudioNode, format: AVAudioFormat?)connectNodeToFormat(node1: AVAudioNode, node2: AVAudioNode, format?: (AVAudioFormat) | null): voidSwift declarationfunc connectNode(_ node1: AVAudioNode, to node2: AVAudioNode, format: AVAudioFormat?) throwsconnectToFromBusToBusFormat(node1: AVAudioNode, node2: AVAudioNode, bus1: number, bus2: number, format?: (AVAudioFormat) | null): voidSwift declarationfunc connect(_ node1: AVAudioNode, to node2: AVAudioNode, fromBus bus1: AVAudioNodeBus, toBus bus2: AVAudioNodeBus, format: AVAudioFormat?)connectNodeToFromBusToBusFormat(node1: AVAudioNode, node2: AVAudioNode, bus1: number, bus2: number, format?: (AVAudioFormat) | null): voidSwift declarationfunc connectNode(_ node1: AVAudioNode, to node2: AVAudioNode, fromBus bus1: AVAudioNodeBus, toBus bus2: AVAudioNodeBus, format: AVAudioFormat?) throwsconnectToFromBusFormat(sourceNode: AVAudioNode, destNodes: Array<AVAudioConnectionPoint>, sourceBus: number, format?: (AVAudioFormat) | null): voidSwift declarationfunc connect(_ sourceNode: AVAudioNode, to destNodes: [AVAudioConnectionPoint], fromBus sourceBus: AVAudioNodeBus, format: AVAudioFormat?)connectNodeToFromBusFormat(sourceNode: AVAudioNode, destNodes: Array<AVAudioConnectionPoint>, sourceBus: number, format?: (AVAudioFormat) | null): voidSwift declarationfunc connectNode(_ sourceNode: AVAudioNode, to destNodes: [AVAudioConnectionPoint], fromBus sourceBus: AVAudioNodeBus, format: AVAudioFormat?) throwsconnectMIDIToFormat(sourceNode: AVAudioNode, destinationNode: AVAudioNode, format?: (AVAudioFormat) | null): voidSwift declarationfunc connectMIDI(_ sourceNode: AVAudioNode, to destinationNode: AVAudioNode, format: AVAudioFormat?, eventListProvider tapBlock: AVMIDIEventListBlock? = nil)connectMIDIToFormat86448(sourceNode: AVAudioNode, destinationNodes: Array<AVAudioNode>, format?: (AVAudioFormat) | null): voidSwift declarationfunc connectMIDI(_ sourceNode: AVAudioNode, to destinationNodes: [AVAudioNode], format: AVAudioFormat?, block tapBlock: AUMIDIOutputEventBlock? = nil)connectMIDIToFormat39598(sourceNode: AVAudioNode, destinationNodes: Array<AVAudioNode>, format?: (AVAudioFormat) | null): voidSwift declarationfunc connectMIDI(_ sourceNode: AVAudioNode, to destinationNodes: [AVAudioNode], format: AVAudioFormat?, eventListBlock tapBlock: AUMIDIEventListBlock? = nil)detach(node: AVAudioNode): voidSwift declarationfunc detach(_ node: AVAudioNode)disableManualRenderingMode(): voidSwift declarationfunc disableManualRenderingMode()disconnectMIDIFrom(sourceNode: AVAudioNode, destinationNode: AVAudioNode): voidSwift declarationfunc disconnectMIDI(_ sourceNode: AVAudioNode, from destinationNode: AVAudioNode)disconnectMIDIFrom21581(sourceNode: AVAudioNode, destinationNodes: Array<AVAudioNode>): voidSwift declarationfunc disconnectMIDI(_ sourceNode: AVAudioNode, from destinationNodes: [AVAudioNode])disconnectMIDIInput(node: AVAudioNode): voidSwift declarationfunc disconnectMIDIInput(_ node: AVAudioNode)disconnectMIDIOutput(node: AVAudioNode): voidSwift declarationfunc disconnectMIDIOutput(_ node: AVAudioNode)disconnectNodeInput(node: AVAudioNode): voidSwift declarationfunc disconnectNodeInput(_ node: AVAudioNode)disconnectNodeInputBus(node: AVAudioNode, bus: number): voidSwift declarationfunc disconnectNodeInput(_ node: AVAudioNode, bus: AVAudioNodeBus)disconnectNodeOutput(node: AVAudioNode): voidSwift declarationfunc disconnectNodeOutput(_ node: AVAudioNode)disconnectNodeOutputBus(node: AVAudioNode, bus: number): voidSwift declarationfunc disconnectNodeOutput(_ node: AVAudioNode, bus: AVAudioNodeBus)enableManualRenderingMode(mode: AVAudioEngineManualRenderingMode, pcmFormat: AVAudioFormat, maximumFrameCount: number): voidSwift declarationfunc enableManualRenderingMode(_ mode: AVAudioEngineManualRenderingMode, format pcmFormat: AVAudioFormat, maximumFrameCount: AVAudioFrameCount) throwsstatic init(): AVAudioEngineSwift declarationinit()inputConnectionPoint(node: AVAudioNode, bus: number): (AVAudioConnectionPoint) | nullSwift declarationfunc inputConnectionPoint(for node: AVAudioNode, inputBus bus: AVAudioNodeBus) -> AVAudioConnectionPoint?outputConnectionPoints(node: AVAudioNode, bus: number): Array<AVAudioConnectionPoint>Swift declarationfunc outputConnectionPoints(for node: AVAudioNode, outputBus bus: AVAudioNodeBus) -> [AVAudioConnectionPoint]pause(): voidSwift declarationfunc pause()prepare(): voidSwift declarationfunc prepare()renderOffline(numberOfFrames: number, buffer: AVAudioPCMBuffer): AVAudioEngineManualRenderingStatusSwift declarationfunc renderOffline(_ numberOfFrames: AVAudioFrameCount, to buffer: AVAudioPCMBuffer) throws -> AVAudioEngineManualRenderingStatusreset(): voidSwift declarationfunc reset()start(): voidSwift declarationfunc start() throwsstop(): voidSwift declarationfunc stop()get attachedNodes(): Array<AVAudioNode>Swift declarationvar attachedNodes: Set<AVAudioNode> { get }get isAutoShutdownEnabled(): booleanSwift declarationvar isAutoShutdownEnabled: Bool { get set }set isAutoShutdownEnabled(value: boolean)Swift declarationvar isAutoShutdownEnabled: Bool { get set }get inputNode(): AVAudioInputNodeSwift declarationvar inputNode: AVAudioInputNode { get }get isInManualRenderingMode(): booleanSwift declarationvar isInManualRenderingMode: Bool { get }get mainMixerNode(): AVAudioMixerNodeSwift declarationvar mainMixerNode: AVAudioMixerNode { get }get manualRenderingBlock(): ((arg0: number, arg1: SDKHandle, arg2: (SDKHandle) | null) => Promise<AVAudioEngineManualRenderingStatus>)Swift declarationvar manualRenderingBlock: AVAudioEngineManualRenderingBlock { get }get manualRenderingFormat(): AVAudioFormatSwift declarationvar manualRenderingFormat: AVAudioFormat { get }get manualRenderingMaximumFrameCount(): numberSwift declarationvar manualRenderingMaximumFrameCount: AVAudioFrameCount { get }get manualRenderingMode(): AVAudioEngineManualRenderingModeSwift declarationvar manualRenderingMode: AVAudioEngineManualRenderingMode { get }get manualRenderingSampleTime(): numberSwift declarationvar manualRenderingSampleTime: AVAudioFramePosition { get }get outputNode(): AVAudioOutputNodeSwift declarationvar outputNode: AVAudioOutputNode { get }get isRunning(): booleanSwift declarationvar isRunning: Bool { get }get musicSequence(): (SDKHandle) | nullSwift declaration@export(implementation) var musicSequence: MusicSequence? { get }withMusicSequence(body: ((arg0: (SDKHandle) | null) => unknown)): unknownSwift declarationfunc withMusicSequence<R, E>(_ body: (borrowing MusicSequence?) throws(E) -> R) throws(E) -> R where E : ErrorProvides scoped access to the AVAudioEngine's MusicSequence This method provides thread-safe, scoped access to the MusicSequence. The MusicSequence reference is only valid within the closure and must not be retained or accessed outside of it. - Parameter body: A closure that receives a MusicSequence - Returns: The value returned by the closure - Throws: Rethrows any error thrown by the closure
3 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
AVAudioEngine.connectMIDI(_:to:format:block:)
The iOS SDK compiler rejected this binding: ambiguous use of 'connectMIDI'
AVAudioEngine.connectMIDI(_:to:format:eventListBlock:)
The iOS SDK compiler rejected this binding: ambiguous use of 'connectMIDI'
AVAudioEngine.connectMIDI(_:to:format:eventListProvider:)
The iOS SDK compiler rejected this binding: ambiguous use of 'connectMIDI'