AudioUnit Changes for Swift
AudioUnit
Added AURenderEvent.head
Added AURenderEvent.init(head: AURenderEventHeader)
Added AURenderEvent.init(MIDI: AUMIDIEvent)
Added AURenderEvent.init(parameter: AUParameterEvent)
Added AURenderEvent.MIDI
Added AURenderEvent.parameter
Modified AU3DMixerAttenuationCurve [enum]
Protocols | |
---|---|
From | Equatable, Hashable, RawRepresentable |
To | -- |
Modified AUAudioUnit
Protocols | |
---|---|
From | AnyObject |
To | -- |
Modified AUAudioUnitBus
Protocols | |
---|---|
From | AnyObject |
To | -- |
Modified AUAudioUnitBusArray
Protocols | |
---|---|
From | AnyObject, NSFastEnumeration |
To | NSFastEnumeration |
Modified AUAudioUnitBusType [enum]
Protocols | |
---|---|
From | Equatable, Hashable, RawRepresentable |
To | -- |
Modified AUAudioUnitFactory
Declaration | Protocols | |
---|---|---|
From | protocol AUAudioUnitFactory : NSExtensionRequestHandling, NSObjectProtocol { func createAudioUnitWithComponentDescription(_ desc: AudioComponentDescription) throws -> AUAudioUnit } | NSExtensionRequestHandling, NSObjectProtocol |
To | protocol AUAudioUnitFactory : NSExtensionRequestHandling { func createAudioUnitWithComponentDescription(_ desc: AudioComponentDescription) throws -> AUAudioUnit } | NSExtensionRequestHandling |
Modified AUAudioUnitPreset
Declaration | Protocols | |
---|---|---|
From | class AUAudioUnitPreset : NSObject, NSSecureCoding, NSCoding { var number: Int var name: String } | AnyObject, NSCoding, NSSecureCoding |
To | class AUAudioUnitPreset : NSObject, NSSecureCoding { var number: Int var name: String } | NSSecureCoding |
Modified AUAudioUnitV2Bridge
Protocols | |
---|---|
From | AnyObject |
To | -- |
Protocols | |
---|---|
From | Equatable, Hashable, RawRepresentable |
To | -- |
Modified AudioUnitParameterUnit [enum]
Protocols | |
---|---|
From | Equatable, Hashable, RawRepresentable |
To | -- |
Modified AudioUnitRemoteControlEvent [enum]
Protocols | |
---|---|
From | Equatable, Hashable, RawRepresentable |
To | -- |
Modified AUParameter
Declaration | Protocols | |
---|---|---|
From | class AUParameter : AUParameterNode, NSSecureCoding, NSCoding { var minValue: AUValue { get } var maxValue: AUValue { get } var unit: AudioUnitParameterUnit { get } var unitName: String? { get } var flags: AudioUnitParameterOptions { get } var address: AUParameterAddress { get } var valueStrings: [String]? { get } var dependentParameters: [NSNumber]? { get } var value: AUValue func setValue(_ value: AUValue, originator originator: AUParameterObserverToken) func setValue(_ value: AUValue, originator originator: AUParameterObserverToken, atHostTime hostTime: UInt64) func stringFromValue(_ value: UnsafePointer<AUValue>) -> String func valueFromString(_ string: String) -> AUValue } | AnyObject, NSCoding, NSSecureCoding |
To | class AUParameter : AUParameterNode, NSSecureCoding { var minValue: AUValue { get } var maxValue: AUValue { get } var unit: AudioUnitParameterUnit { get } var unitName: String? { get } var flags: AudioUnitParameterOptions { get } var address: AUParameterAddress { get } var valueStrings: [String]? { get } var dependentParameters: [NSNumber]? { get } var value: AUValue func setValue(_ value: AUValue, originator originator: AUParameterObserverToken) func setValue(_ value: AUValue, originator originator: AUParameterObserverToken, atHostTime hostTime: UInt64) func stringFromValue(_ value: UnsafePointer<AUValue>) -> String func valueFromString(_ string: String) -> AUValue } | NSSecureCoding |
Modified AUParameterEventType [enum]
Protocols | |
---|---|
From | Equatable, Hashable, RawRepresentable |
To | -- |
Modified AUParameterGroup
Declaration | Protocols | |
---|---|---|
From | class AUParameterGroup : AUParameterNode, NSSecureCoding, NSCoding { var children: [AUParameterNode] { get } var allParameters: [AUParameter] { get } } | AnyObject, NSCoding, NSSecureCoding |
To | class AUParameterGroup : AUParameterNode, NSSecureCoding { var children: [AUParameterNode] { get } var allParameters: [AUParameter] { get } } | NSSecureCoding |
Modified AUParameterNode
Protocols | |
---|---|
From | AnyObject |
To | -- |
Modified AUParameterTree
Declaration | Protocols | |
---|---|---|
From | class AUParameterTree : AUParameterGroup { func parameterWithAddress(_ address: AUParameterAddress) -> AUParameter? func parameterWithID(_ paramID: AudioUnitParameterID, scope scope: AudioUnitScope, element element: AudioUnitElement) -> AUParameter? } extension AUParameterTree { class func createParameterWithIdentifier(_ identifier: String, name name: String, address address: AUParameterAddress, min min: AUValue, max max: AUValue, unit unit: AudioUnitParameterUnit, unitName unitName: String?, flags flags: AudioUnitParameterOptions, valueStrings valueStrings: [String]?, dependentParameters dependentParameters: [NSNumber]?) -> AUParameter class func createGroupWithIdentifier(_ identifier: String, name name: String, children children: [AUParameterNode]) -> AUParameterGroup class func createGroupTemplate(_ children: [AUParameterNode]) -> AUParameterGroup class func createGroupFromTemplate(_ templateGroup: AUParameterGroup, identifier identifier: String, name name: String, addressOffset addressOffset: AUParameterAddress) -> AUParameterGroup class func createTreeWithChildren(_ children: [AUParameterNode]) -> AUParameterTree } | AnyObject, NSCoding, NSSecureCoding |
To | class AUParameterTree : AUParameterGroup, NSSecureCoding { func parameterWithAddress(_ address: AUParameterAddress) -> AUParameter? func parameterWithID(_ paramID: AudioUnitParameterID, scope scope: AudioUnitScope, element element: AudioUnitElement) -> AUParameter? } extension AUParameterTree { class func createParameterWithIdentifier(_ identifier: String, name name: String, address address: AUParameterAddress, min min: AUValue, max max: AUValue, unit unit: AudioUnitParameterUnit, unitName unitName: String?, flags flags: AudioUnitParameterOptions, valueStrings valueStrings: [String]?, dependentParameters dependentParameters: [NSNumber]?) -> AUParameter class func createGroupWithIdentifier(_ identifier: String, name name: String, children children: [AUParameterNode]) -> AUParameterGroup class func createGroupTemplate(_ children: [AUParameterNode]) -> AUParameterGroup class func createGroupFromTemplate(_ templateGroup: AUParameterGroup, identifier identifier: String, name name: String, addressOffset addressOffset: AUParameterAddress) -> AUParameterGroup class func createTreeWithChildren(_ children: [AUParameterNode]) -> AUParameterTree } | NSSecureCoding |
Modified AURenderEvent [struct]
Declaration | |
---|---|
From | struct AURenderEvent { init() } |
To | struct AURenderEvent { var head: AURenderEventHeader var parameter: AUParameterEvent var MIDI: AUMIDIEvent init(head head: AURenderEventHeader) init(parameter parameter: AUParameterEvent) init(MIDI MIDI: AUMIDIEvent) init() } |
Modified AURenderEventType [enum]
Protocols | |
---|---|
From | Equatable, Hashable, RawRepresentable |
To | -- |
Modified AUReverbRoomType [enum]
Protocols | |
---|---|
From | Equatable, Hashable, RawRepresentable |
To | -- |
Modified AUSpatializationAlgorithm [enum]
Protocols | |
---|---|
From | Equatable, Hashable, RawRepresentable |
To | -- |
Protocols | |
---|---|
From | Equatable, Hashable, RawRepresentable |
To | -- |