AKInput

public protocol AKInput : AKOutput

Manages connections to inputNode.

  • inputNode Default implementation

    The node that an output’s node can connect to. Default implementation will return outputNode.

    Default Implementation

    Declaration

    Swift

    var inputNode: AVAudioNode { get }
  • nextInput Default implementation

    The input bus that should be used for an input connection. Default implementation is 0. Multi-input nodes should return an open bus.

    • Return: An inputConnection object conatining self and the input bus to use for an input connection.

    Default Implementation

    Declaration

    Swift

    var nextInput: AKInputConnection { get }
  • disconnectInput() Default implementation

    Disconnects all inputs

    Default Implementation

    Declaration

    Swift

    func disconnectInput()
  • disconnectInput(bus:) Default implementation

    Disconnects input on a bus.

    Default Implementation

    Declaration

    Swift

    func disconnectInput(bus: Int)
  • input(_:) Default implementation

    Creates an input connection object with a bus number.

    • Return: An inputConnection object conatining self and the input bus to use for an input connection.

    Default Implementation

    Declaration

    Swift

    func input(_ bus: Int) -> AKInputConnection