Documentation Archive Developer
Search

AudioToolbox Changes for Swift

AudioToolbox

Declaration
From
struct AUNodeInteraction {
    var nodeInteractionType: UInt32
    init()
}
To
struct AUNodeInteraction {
    struct __Unnamed_union_nodeInteraction {
        var connection: AUNodeConnection
        var inputCallback: AUNodeRenderCallback
        init(connection connection: AUNodeConnection)
        init(inputCallback inputCallback: AUNodeRenderCallback)
        init()
    }
    var nodeInteractionType: UInt32
    var nodeInteraction: AUNodeInteraction.__Unnamed_union_nodeInteraction
    init()
    init(nodeInteractionType nodeInteractionType: UInt32, nodeInteraction nodeInteraction: AUNodeInteraction.__Unnamed_union_nodeInteraction)
}