AudioToolbox Changes for Swift
AudioToolbox
Modified AUAudioUnit
| Declaration | |
|---|---|
| From | class AUAudioUnit : NSObject {
convenience init()
init(componentDescription componentDescription: AudioComponentDescription, options options: AudioComponentInstantiationOptions = []) throws
convenience init(componentDescription componentDescription: AudioComponentDescription) throws
class func instantiate(with componentDescription: AudioComponentDescription, options options: AudioComponentInstantiationOptions = [], completionHandler completionHandler: @escaping (AUAudioUnit?, Error?) -> Swift.Void)
var componentDescription: AudioComponentDescription { get }
var component: AudioComponent { get }
var componentName: String? { get }
var audioUnitName: String? { get }
var manufacturerName: String? { get }
var componentVersion: UInt32 { get }
func allocateRenderResources() throws
func deallocateRenderResources()
var renderResourcesAllocated: Bool { get }
func reset()
var inputBusses: AUAudioUnitBusArray { get }
var outputBusses: AUAudioUnitBusArray { get }
var renderBlock: AudioToolbox.AURenderBlock { get }
var scheduleParameterBlock: AudioToolbox.AUScheduleParameterBlock { get }
func token(byAddingRenderObserver observer: AudioToolbox.AURenderObserver) -> Int
func removeRenderObserver(_ token: Int)
var maximumFramesToRender: AUAudioFrameCount
var parameterTree: AUParameterTree? { get }
func parametersForOverview(withCount count: Int) -> [NSNumber]
var allParameterValues: Bool { get }
var isMusicDeviceOrEffect: Bool { get }
var virtualMIDICableCount: Int { get }
var scheduleMIDIEventBlock: AudioToolbox.AUScheduleMIDIEventBlock? { get }
var fullState: [String : Any]?
var fullStateForDocument: [String : Any]?
var factoryPresets: [AUAudioUnitPreset]? { get }
var currentPreset: AUAudioUnitPreset?
var latency: TimeInterval { get }
var tailTime: TimeInterval { get }
var renderQuality: Int
var shouldBypassEffect: Bool
var canProcessInPlace: Bool { get }
var isRenderingOffline: Bool
var channelCapabilities: [NSNumber]? { get }
var musicalContextBlock: AudioToolbox.AUHostMusicalContextBlock?
var transportStateBlock: AudioToolbox.AUHostTransportStateBlock?
var contextName: String?
var supportsMPE: Bool { get }
var channelMap: [NSNumber]?
class func registerSubclass(_ cls: Swift.AnyClass, as componentDescription: AudioComponentDescription, name name: String, version version: UInt32)
var internalRenderBlock: AudioToolbox.AUInternalRenderBlock { get }
func shouldChange(to format: AVAudioFormat, for bus: AUAudioUnitBus) -> Bool
func setRenderResourcesAllocated(_ flag: Bool)
var canPerformInput: Bool { get }
var canPerformOutput: Bool { get }
var isInputEnabled: Bool
var isOutputEnabled: Bool
var outputProvider: AudioToolbox.AURenderPullInputBlock?
var inputHandler: AudioToolbox.AUInputHandler?
func startHardware() throws
func stopHardware()
func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
func performSelector(inBackground aSelector: Selector, with arg: Any?)
class func classForKeyedUnarchiver() -> AnyClass
var classForKeyedArchiver: AnyClass? { get }
func replacementObject(for archiver: NSKeyedArchiver) -> Any?
class func classFallbacksForKeyedArchiver() -> [String]
class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
class func automaticallyNotifiesObservers(forKey key: String) -> Bool
var observationInfo: UnsafeMutableRawPointer?
func willChangeValue(forKey key: String)
func didChangeValue(forKey key: String)
func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
class var accessInstanceVariablesDirectly: Bool { get }
func value(forKey key: String) -> Any?
func setValue(_ value: Any?, forKey key: String)
func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
func mutableArrayValue(forKey key: String) -> NSMutableArray
func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
func mutableSetValue(forKey key: String) -> NSMutableSet
func value(forKeyPath keyPath: String) -> Any?
func setValue(_ value: Any?, forKeyPath keyPath: String)
func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
func value(forUndefinedKey key: String) -> Any?
func setValue(_ value: Any?, forUndefinedKey key: String)
func setNilValueForKey(_ key: String)
func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
func setValuesForKeys(_ keyedValues: [String : Any])
func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
func fileManager(_ fm: FileManager, willProcessPath path: String)
func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
class func cancelPreviousPerformRequests(withTarget aTarget: Any)
func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
var autoContentAccessingProxy: Any { get }
class func version() -> Int
class func setVersion(_ aVersion: Int)
var classForCoder: AnyClass { get }
func awakeAfter(using aDecoder: NSCoder) -> Any?
}
extension AUAudioUnit : CVarArg {
}
extension AUAudioUnit : Equatable, Hashable {
var hashValue: Int { get }
}
extension AUAudioUnit {
var canPerformInput: Bool { get }
var canPerformOutput: Bool { get }
var isInputEnabled: Bool
var isOutputEnabled: Bool
var outputProvider: AudioToolbox.AURenderPullInputBlock?
var inputHandler: AudioToolbox.AUInputHandler?
func startHardware() throws
func stopHardware()
}
extension AUAudioUnit {
class func registerSubclass(_ cls: Swift.AnyClass, as componentDescription: AudioComponentDescription, name name: String, version version: UInt32)
var internalRenderBlock: AudioToolbox.AUInternalRenderBlock { get }
func shouldChange(to format: AVAudioFormat, for bus: AUAudioUnitBus) -> Bool
func setRenderResourcesAllocated(_ flag: Bool)
}
extension AUAudioUnit {
func requestViewController(completionHandler completionHandler: @escaping (UIViewController?) -> Swift.Void)
} |
| To | class AUAudioUnit : NSObject {
convenience init()
init(componentDescription componentDescription: AudioComponentDescription, options options: AudioComponentInstantiationOptions = []) throws
convenience init(componentDescription componentDescription: AudioComponentDescription) throws
class func instantiate(with componentDescription: AudioComponentDescription, options options: AudioComponentInstantiationOptions = [], completionHandler completionHandler: @escaping (AUAudioUnit?, Error?) -> Swift.Void)
var componentDescription: AudioComponentDescription { get }
var component: AudioComponent { get }
var componentName: String? { get }
var audioUnitName: String? { get }
var manufacturerName: String? { get }
var componentVersion: UInt32 { get }
func allocateRenderResources() throws
func deallocateRenderResources()
var renderResourcesAllocated: Bool { get }
func reset()
var inputBusses: AUAudioUnitBusArray { get }
var outputBusses: AUAudioUnitBusArray { get }
var renderBlock: AudioToolbox.AURenderBlock { get }
var scheduleParameterBlock: AudioToolbox.AUScheduleParameterBlock { get }
func token(byAddingRenderObserver observer: @escaping AudioToolbox.AURenderObserver) -> Int
func removeRenderObserver(_ token: Int)
var maximumFramesToRender: AUAudioFrameCount
var parameterTree: AUParameterTree? { get }
func parametersForOverview(withCount count: Int) -> [NSNumber]
var allParameterValues: Bool { get }
var isMusicDeviceOrEffect: Bool { get }
var virtualMIDICableCount: Int { get }
var scheduleMIDIEventBlock: AudioToolbox.AUScheduleMIDIEventBlock? { get }
var fullState: [String : Any]?
var fullStateForDocument: [String : Any]?
var factoryPresets: [AUAudioUnitPreset]? { get }
var currentPreset: AUAudioUnitPreset?
var latency: TimeInterval { get }
var tailTime: TimeInterval { get }
var renderQuality: Int
var shouldBypassEffect: Bool
var canProcessInPlace: Bool { get }
var isRenderingOffline: Bool
var channelCapabilities: [NSNumber]? { get }
var musicalContextBlock: AudioToolbox.AUHostMusicalContextBlock?
var transportStateBlock: AudioToolbox.AUHostTransportStateBlock?
var contextName: String?
var supportsMPE: Bool { get }
var channelMap: [NSNumber]?
class func registerSubclass(_ cls: Swift.AnyClass, as componentDescription: AudioComponentDescription, name name: String, version version: UInt32)
var internalRenderBlock: AudioToolbox.AUInternalRenderBlock { get }
func shouldChange(to format: AVAudioFormat, for bus: AUAudioUnitBus) -> Bool
func setRenderResourcesAllocated(_ flag: Bool)
var canPerformInput: Bool { get }
var canPerformOutput: Bool { get }
var isInputEnabled: Bool
var isOutputEnabled: Bool
var outputProvider: AudioToolbox.AURenderPullInputBlock?
var inputHandler: AudioToolbox.AUInputHandler?
func startHardware() throws
func stopHardware()
func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
func performSelector(inBackground aSelector: Selector, with arg: Any?)
class func classForKeyedUnarchiver() -> AnyClass
var classForKeyedArchiver: AnyClass? { get }
func replacementObject(for archiver: NSKeyedArchiver) -> Any?
class func classFallbacksForKeyedArchiver() -> [String]
class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
class func automaticallyNotifiesObservers(forKey key: String) -> Bool
var observationInfo: UnsafeMutableRawPointer?
func willChangeValue(forKey key: String)
func didChangeValue(forKey key: String)
func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
class var accessInstanceVariablesDirectly: Bool { get }
func value(forKey key: String) -> Any?
func setValue(_ value: Any?, forKey key: String)
func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
func mutableArrayValue(forKey key: String) -> NSMutableArray
func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
func mutableSetValue(forKey key: String) -> NSMutableSet
func value(forKeyPath keyPath: String) -> Any?
func setValue(_ value: Any?, forKeyPath keyPath: String)
func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
func value(forUndefinedKey key: String) -> Any?
func setValue(_ value: Any?, forUndefinedKey key: String)
func setNilValueForKey(_ key: String)
func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
func setValuesForKeys(_ keyedValues: [String : Any])
func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
func fileManager(_ fm: FileManager, willProcessPath path: String)
func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
class func cancelPreviousPerformRequests(withTarget aTarget: Any)
func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
var autoContentAccessingProxy: Any { get }
class func version() -> Int
class func setVersion(_ aVersion: Int)
var classForCoder: AnyClass { get }
func awakeAfter(using aDecoder: NSCoder) -> Any?
}
extension AUAudioUnit : CVarArg {
}
extension AUAudioUnit : Equatable, Hashable {
var hashValue: Int { get }
}
extension AUAudioUnit {
var canPerformInput: Bool { get }
var canPerformOutput: Bool { get }
var isInputEnabled: Bool
var isOutputEnabled: Bool
var outputProvider: AudioToolbox.AURenderPullInputBlock?
var inputHandler: AudioToolbox.AUInputHandler?
func startHardware() throws
func stopHardware()
}
extension AUAudioUnit {
class func registerSubclass(_ cls: Swift.AnyClass, as componentDescription: AudioComponentDescription, name name: String, version version: UInt32)
var internalRenderBlock: AudioToolbox.AUInternalRenderBlock { get }
func shouldChange(to format: AVAudioFormat, for bus: AUAudioUnitBus) -> Bool
func setRenderResourcesAllocated(_ flag: Bool)
}
extension AUAudioUnit {
func requestViewController(completionHandler completionHandler: @escaping (UIViewController?) -> Swift.Void)
} |
| Declaration | |
|---|---|
| From | func token(byAddingRenderObserver observer: AudioToolbox.AURenderObserver) -> Int |
| To | func token(byAddingRenderObserver observer: @escaping AudioToolbox.AURenderObserver) -> Int |
Modified AUParameterNode
| Declaration | |
|---|---|
| From | class AUParameterNode : NSObject {
var identifier: String { get }
var keyPath: String { get }
var displayName: String { get }
func displayName(withLength maximumLength: Int) -> String
func token(byAddingParameterObserver observer: AudioToolbox.AUParameterObserver) -> AUParameterObserverToken
func token(byAddingParameterRecordingObserver observer: AudioToolbox.AUParameterRecordingObserver) -> AUParameterObserverToken
func token(byAddingParameterAutomationObserver observer: AudioToolbox.AUParameterAutomationObserver) -> AUParameterObserverToken
func removeParameterObserver(_ token: AUParameterObserverToken)
var implementorValueObserver: AudioToolbox.AUImplementorValueObserver
var implementorValueProvider: AudioToolbox.AUImplementorValueProvider
var implementorStringFromValueCallback: AudioToolbox.AUImplementorStringFromValueCallback
var implementorValueFromStringCallback: AudioToolbox.AUImplementorValueFromStringCallback
var implementorDisplayNameWithLengthCallback: AudioToolbox.AUImplementorDisplayNameWithLengthCallback
func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
func performSelector(inBackground aSelector: Selector, with arg: Any?)
class func classForKeyedUnarchiver() -> AnyClass
var classForKeyedArchiver: AnyClass? { get }
func replacementObject(for archiver: NSKeyedArchiver) -> Any?
class func classFallbacksForKeyedArchiver() -> [String]
class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
class func automaticallyNotifiesObservers(forKey key: String) -> Bool
var observationInfo: UnsafeMutableRawPointer?
func willChangeValue(forKey key: String)
func didChangeValue(forKey key: String)
func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
class var accessInstanceVariablesDirectly: Bool { get }
func value(forKey key: String) -> Any?
func setValue(_ value: Any?, forKey key: String)
func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
func mutableArrayValue(forKey key: String) -> NSMutableArray
func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
func mutableSetValue(forKey key: String) -> NSMutableSet
func value(forKeyPath keyPath: String) -> Any?
func setValue(_ value: Any?, forKeyPath keyPath: String)
func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
func value(forUndefinedKey key: String) -> Any?
func setValue(_ value: Any?, forUndefinedKey key: String)
func setNilValueForKey(_ key: String)
func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
func setValuesForKeys(_ keyedValues: [String : Any])
func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
func fileManager(_ fm: FileManager, willProcessPath path: String)
func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
class func cancelPreviousPerformRequests(withTarget aTarget: Any)
func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
var autoContentAccessingProxy: Any { get }
class func version() -> Int
class func setVersion(_ aVersion: Int)
var classForCoder: AnyClass { get }
func awakeAfter(using aDecoder: NSCoder) -> Any?
}
extension AUParameterNode {
var implementorValueObserver: AudioToolbox.AUImplementorValueObserver
var implementorValueProvider: AudioToolbox.AUImplementorValueProvider
var implementorStringFromValueCallback: AudioToolbox.AUImplementorStringFromValueCallback
var implementorValueFromStringCallback: AudioToolbox.AUImplementorValueFromStringCallback
var implementorDisplayNameWithLengthCallback: AudioToolbox.AUImplementorDisplayNameWithLengthCallback
}
extension AUParameterNode : CVarArg {
}
extension AUParameterNode : Equatable, Hashable {
var hashValue: Int { get }
} |
| To | class AUParameterNode : NSObject {
var identifier: String { get }
var keyPath: String { get }
var displayName: String { get }
func displayName(withLength maximumLength: Int) -> String
func token(byAddingParameterObserver observer: @escaping AudioToolbox.AUParameterObserver) -> AUParameterObserverToken
func token(byAddingParameterRecordingObserver observer: @escaping AudioToolbox.AUParameterRecordingObserver) -> AUParameterObserverToken
func token(byAddingParameterAutomationObserver observer: @escaping AudioToolbox.AUParameterAutomationObserver) -> AUParameterObserverToken
func removeParameterObserver(_ token: AUParameterObserverToken)
var implementorValueObserver: AudioToolbox.AUImplementorValueObserver
var implementorValueProvider: AudioToolbox.AUImplementorValueProvider
var implementorStringFromValueCallback: AudioToolbox.AUImplementorStringFromValueCallback
var implementorValueFromStringCallback: AudioToolbox.AUImplementorValueFromStringCallback
var implementorDisplayNameWithLengthCallback: AudioToolbox.AUImplementorDisplayNameWithLengthCallback
func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
func performSelector(inBackground aSelector: Selector, with arg: Any?)
class func classForKeyedUnarchiver() -> AnyClass
var classForKeyedArchiver: AnyClass? { get }
func replacementObject(for archiver: NSKeyedArchiver) -> Any?
class func classFallbacksForKeyedArchiver() -> [String]
class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
class func automaticallyNotifiesObservers(forKey key: String) -> Bool
var observationInfo: UnsafeMutableRawPointer?
func willChangeValue(forKey key: String)
func didChangeValue(forKey key: String)
func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
class var accessInstanceVariablesDirectly: Bool { get }
func value(forKey key: String) -> Any?
func setValue(_ value: Any?, forKey key: String)
func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
func mutableArrayValue(forKey key: String) -> NSMutableArray
func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
func mutableSetValue(forKey key: String) -> NSMutableSet
func value(forKeyPath keyPath: String) -> Any?
func setValue(_ value: Any?, forKeyPath keyPath: String)
func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
func value(forUndefinedKey key: String) -> Any?
func setValue(_ value: Any?, forUndefinedKey key: String)
func setNilValueForKey(_ key: String)
func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
func setValuesForKeys(_ keyedValues: [String : Any])
func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
func fileManager(_ fm: FileManager, willProcessPath path: String)
func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
class func cancelPreviousPerformRequests(withTarget aTarget: Any)
func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
var autoContentAccessingProxy: Any { get }
class func version() -> Int
class func setVersion(_ aVersion: Int)
var classForCoder: AnyClass { get }
func awakeAfter(using aDecoder: NSCoder) -> Any?
}
extension AUParameterNode {
var implementorValueObserver: AudioToolbox.AUImplementorValueObserver
var implementorValueProvider: AudioToolbox.AUImplementorValueProvider
var implementorStringFromValueCallback: AudioToolbox.AUImplementorStringFromValueCallback
var implementorValueFromStringCallback: AudioToolbox.AUImplementorValueFromStringCallback
var implementorDisplayNameWithLengthCallback: AudioToolbox.AUImplementorDisplayNameWithLengthCallback
}
extension AUParameterNode : CVarArg {
}
extension AUParameterNode : Equatable, Hashable {
var hashValue: Int { get }
} |
| Declaration | |
|---|---|
| From | func token(byAddingParameterAutomationObserver observer: AudioToolbox.AUParameterAutomationObserver) -> AUParameterObserverToken |
| To | func token(byAddingParameterAutomationObserver observer: @escaping AudioToolbox.AUParameterAutomationObserver) -> AUParameterObserverToken |
| Declaration | |
|---|---|
| From | func token(byAddingParameterObserver observer: AudioToolbox.AUParameterObserver) -> AUParameterObserverToken |
| To | func token(byAddingParameterObserver observer: @escaping AudioToolbox.AUParameterObserver) -> AUParameterObserverToken |
| Declaration | |
|---|---|
| From | func token(byAddingParameterRecordingObserver observer: AudioToolbox.AUParameterRecordingObserver) -> AUParameterObserverToken |
| To | func token(byAddingParameterRecordingObserver observer: @escaping AudioToolbox.AUParameterRecordingObserver) -> AUParameterObserverToken |
| Declaration | |
|---|---|
| From | func AudioComponentRegister(_ inDesc: UnsafePointer<AudioComponentDescription>, _ inName: CFString, _ inVersion: UInt32, _ inFactory: AudioToolbox.AudioComponentFactoryFunction) -> AudioComponent |
| To | func AudioComponentRegister(_ inDesc: UnsafePointer<AudioComponentDescription>, _ inName: CFString, _ inVersion: UInt32, _ inFactory: @escaping AudioToolbox.AudioComponentFactoryFunction) -> AudioComponent |
| Declaration | |
|---|---|
| From | func AudioConverterFillComplexBuffer(_ inAudioConverter: AudioConverterRef, _ inInputDataProc: AudioToolbox.AudioConverterComplexInputDataProc, _ inInputDataProcUserData: UnsafeMutableRawPointer?, _ ioOutputDataPacketSize: UnsafeMutablePointer<UInt32>, _ outOutputData: UnsafeMutablePointer<AudioBufferList>, _ outPacketDescription: UnsafeMutablePointer<AudioStreamPacketDescription>?) -> OSStatus |
| To | func AudioConverterFillComplexBuffer(_ inAudioConverter: AudioConverterRef, _ inInputDataProc: @escaping AudioToolbox.AudioConverterComplexInputDataProc, _ inInputDataProcUserData: UnsafeMutableRawPointer?, _ ioOutputDataPacketSize: UnsafeMutablePointer<UInt32>, _ outOutputData: UnsafeMutablePointer<AudioBufferList>, _ outPacketDescription: UnsafeMutablePointer<AudioStreamPacketDescription>?) -> OSStatus |
| Declaration | |
|---|---|
| From | func AudioFileInitializeWithCallbacks(_ inClientData: UnsafeMutableRawPointer, _ inReadFunc: AudioToolbox.AudioFile_ReadProc, _ inWriteFunc: AudioToolbox.AudioFile_WriteProc, _ inGetSizeFunc: AudioToolbox.AudioFile_GetSizeProc, _ inSetSizeFunc: AudioToolbox.AudioFile_SetSizeProc, _ inFileType: AudioFileTypeID, _ inFormat: UnsafePointer<AudioStreamBasicDescription>, _ inFlags: AudioFileFlags, _ outAudioFile: UnsafeMutablePointer<AudioFileID?>) -> OSStatus |
| To | func AudioFileInitializeWithCallbacks(_ inClientData: UnsafeMutableRawPointer, _ inReadFunc: @escaping AudioToolbox.AudioFile_ReadProc, _ inWriteFunc: @escaping AudioToolbox.AudioFile_WriteProc, _ inGetSizeFunc: @escaping AudioToolbox.AudioFile_GetSizeProc, _ inSetSizeFunc: @escaping AudioToolbox.AudioFile_SetSizeProc, _ inFileType: AudioFileTypeID, _ inFormat: UnsafePointer<AudioStreamBasicDescription>, _ inFlags: AudioFileFlags, _ outAudioFile: UnsafeMutablePointer<AudioFileID?>) -> OSStatus |
| Declaration | |
|---|---|
| From | func AudioFileOpenWithCallbacks(_ inClientData: UnsafeMutableRawPointer, _ inReadFunc: AudioToolbox.AudioFile_ReadProc, _ inWriteFunc: AudioToolbox.AudioFile_WriteProc?, _ inGetSizeFunc: AudioToolbox.AudioFile_GetSizeProc, _ inSetSizeFunc: AudioToolbox.AudioFile_SetSizeProc?, _ inFileTypeHint: AudioFileTypeID, _ outAudioFile: UnsafeMutablePointer<AudioFileID?>) -> OSStatus |
| To | func AudioFileOpenWithCallbacks(_ inClientData: UnsafeMutableRawPointer, _ inReadFunc: @escaping AudioToolbox.AudioFile_ReadProc, _ inWriteFunc: AudioToolbox.AudioFile_WriteProc?, _ inGetSizeFunc: @escaping AudioToolbox.AudioFile_GetSizeProc, _ inSetSizeFunc: AudioToolbox.AudioFile_SetSizeProc?, _ inFileTypeHint: AudioFileTypeID, _ outAudioFile: UnsafeMutablePointer<AudioFileID?>) -> OSStatus |
| Declaration | |
|---|---|
| From | func AudioFileStreamOpen(_ inClientData: UnsafeMutableRawPointer?, _ inPropertyListenerProc: AudioToolbox.AudioFileStream_PropertyListenerProc, _ inPacketsProc: AudioToolbox.AudioFileStream_PacketsProc, _ inFileTypeHint: AudioFileTypeID, _ outAudioFileStream: UnsafeMutablePointer<AudioFileStreamID?>) -> OSStatus |
| To | func AudioFileStreamOpen(_ inClientData: UnsafeMutableRawPointer?, _ inPropertyListenerProc: @escaping AudioToolbox.AudioFileStream_PropertyListenerProc, _ inPacketsProc: @escaping AudioToolbox.AudioFileStream_PacketsProc, _ inFileTypeHint: AudioFileTypeID, _ outAudioFileStream: UnsafeMutablePointer<AudioFileStreamID?>) -> OSStatus |
| Declaration | |
|---|---|
| From | func AudioQueueAddPropertyListener(_ inAQ: AudioQueueRef, _ inID: AudioQueuePropertyID, _ inProc: AudioToolbox.AudioQueuePropertyListenerProc, _ inUserData: UnsafeMutableRawPointer?) -> OSStatus |
| To | func AudioQueueAddPropertyListener(_ inAQ: AudioQueueRef, _ inID: AudioQueuePropertyID, _ inProc: @escaping AudioToolbox.AudioQueuePropertyListenerProc, _ inUserData: UnsafeMutableRawPointer?) -> OSStatus |
| Declaration | |
|---|---|
| From | func AudioQueueNewInput(_ inFormat: UnsafePointer<AudioStreamBasicDescription>, _ inCallbackProc: AudioToolbox.AudioQueueInputCallback, _ inUserData: UnsafeMutableRawPointer?, _ inCallbackRunLoop: CFRunLoop?, _ inCallbackRunLoopMode: CFString?, _ inFlags: UInt32, _ outAQ: UnsafeMutablePointer<AudioQueueRef?>) -> OSStatus |
| To | func AudioQueueNewInput(_ inFormat: UnsafePointer<AudioStreamBasicDescription>, _ inCallbackProc: @escaping AudioToolbox.AudioQueueInputCallback, _ inUserData: UnsafeMutableRawPointer?, _ inCallbackRunLoop: CFRunLoop?, _ inCallbackRunLoopMode: CFString?, _ inFlags: UInt32, _ outAQ: UnsafeMutablePointer<AudioQueueRef?>) -> OSStatus |
| Declaration | |
|---|---|
| From | func AudioQueueNewInputWithDispatchQueue(_ outAQ: UnsafeMutablePointer<AudioQueueRef?>, _ inFormat: UnsafePointer<AudioStreamBasicDescription>, _ inFlags: UInt32, _ inCallbackDispatchQueue: DispatchQueue, _ inCallbackBlock: AudioToolbox.AudioQueueInputCallbackBlock) -> OSStatus |
| To | func AudioQueueNewInputWithDispatchQueue(_ outAQ: UnsafeMutablePointer<AudioQueueRef?>, _ inFormat: UnsafePointer<AudioStreamBasicDescription>, _ inFlags: UInt32, _ inCallbackDispatchQueue: DispatchQueue, _ inCallbackBlock: @escaping AudioToolbox.AudioQueueInputCallbackBlock) -> OSStatus |
| Declaration | |
|---|---|
| From | func AudioQueueNewOutput(_ inFormat: UnsafePointer<AudioStreamBasicDescription>, _ inCallbackProc: AudioToolbox.AudioQueueOutputCallback, _ inUserData: UnsafeMutableRawPointer?, _ inCallbackRunLoop: CFRunLoop?, _ inCallbackRunLoopMode: CFString?, _ inFlags: UInt32, _ outAQ: UnsafeMutablePointer<AudioQueueRef?>) -> OSStatus |
| To | func AudioQueueNewOutput(_ inFormat: UnsafePointer<AudioStreamBasicDescription>, _ inCallbackProc: @escaping AudioToolbox.AudioQueueOutputCallback, _ inUserData: UnsafeMutableRawPointer?, _ inCallbackRunLoop: CFRunLoop?, _ inCallbackRunLoopMode: CFString?, _ inFlags: UInt32, _ outAQ: UnsafeMutablePointer<AudioQueueRef?>) -> OSStatus |
| Declaration | |
|---|---|
| From | func AudioQueueNewOutputWithDispatchQueue(_ outAQ: UnsafeMutablePointer<AudioQueueRef?>, _ inFormat: UnsafePointer<AudioStreamBasicDescription>, _ inFlags: UInt32, _ inCallbackDispatchQueue: DispatchQueue, _ inCallbackBlock: AudioToolbox.AudioQueueOutputCallbackBlock) -> OSStatus |
| To | func AudioQueueNewOutputWithDispatchQueue(_ outAQ: UnsafeMutablePointer<AudioQueueRef?>, _ inFormat: UnsafePointer<AudioStreamBasicDescription>, _ inFlags: UInt32, _ inCallbackDispatchQueue: DispatchQueue, _ inCallbackBlock: @escaping AudioToolbox.AudioQueueOutputCallbackBlock) -> OSStatus |
| Declaration | |
|---|---|
| From | func AudioQueueProcessingTapNew(_ inAQ: AudioQueueRef, _ inCallback: AudioToolbox.AudioQueueProcessingTapCallback, _ inClientData: UnsafeMutableRawPointer?, _ inFlags: AudioQueueProcessingTapFlags, _ outMaxFrames: UnsafeMutablePointer<UInt32>, _ outProcessingFormat: UnsafeMutablePointer<AudioStreamBasicDescription>, _ outAQTap: UnsafeMutablePointer<AudioQueueProcessingTapRef?>) -> OSStatus |
| To | func AudioQueueProcessingTapNew(_ inAQ: AudioQueueRef, _ inCallback: @escaping AudioToolbox.AudioQueueProcessingTapCallback, _ inClientData: UnsafeMutableRawPointer?, _ inFlags: AudioQueueProcessingTapFlags, _ outMaxFrames: UnsafeMutablePointer<UInt32>, _ outProcessingFormat: UnsafeMutablePointer<AudioStreamBasicDescription>, _ outAQTap: UnsafeMutablePointer<AudioQueueProcessingTapRef?>) -> OSStatus |
| Declaration | |
|---|---|
| From | func AudioQueueRemovePropertyListener(_ inAQ: AudioQueueRef, _ inID: AudioQueuePropertyID, _ inProc: AudioToolbox.AudioQueuePropertyListenerProc, _ inUserData: UnsafeMutableRawPointer?) -> OSStatus |
| To | func AudioQueueRemovePropertyListener(_ inAQ: AudioQueueRef, _ inID: AudioQueuePropertyID, _ inProc: @escaping AudioToolbox.AudioQueuePropertyListenerProc, _ inUserData: UnsafeMutableRawPointer?) -> OSStatus |
| Declaration | |
|---|---|
| From | func AudioServicesAddSystemSoundCompletion(_ inSystemSoundID: SystemSoundID, _ inRunLoop: CFRunLoop?, _ inRunLoopMode: CFString?, _ inCompletionRoutine: AudioToolbox.AudioServicesSystemSoundCompletionProc, _ inClientData: UnsafeMutableRawPointer?) -> OSStatus |
| To | func AudioServicesAddSystemSoundCompletion(_ inSystemSoundID: SystemSoundID, _ inRunLoop: CFRunLoop?, _ inRunLoopMode: CFString?, _ inCompletionRoutine: @escaping AudioToolbox.AudioServicesSystemSoundCompletionProc, _ inClientData: UnsafeMutableRawPointer?) -> OSStatus |
| Declaration | |
|---|---|
| From | func AudioServicesPlayAlertSoundWithCompletion(_ inSystemSoundID: SystemSoundID, _ inCompletionBlock: (@escaping () -> Swift.Void)?) |
| To | func AudioServicesPlayAlertSoundWithCompletion(_ inSystemSoundID: SystemSoundID, _ inCompletionBlock: (() -> Swift.Void)?) |
| Declaration | |
|---|---|
| From | func AudioServicesPlaySystemSoundWithCompletion(_ inSystemSoundID: SystemSoundID, _ inCompletionBlock: (@escaping () -> Swift.Void)?) |
| To | func AudioServicesPlaySystemSoundWithCompletion(_ inSystemSoundID: SystemSoundID, _ inCompletionBlock: (() -> Swift.Void)?) |
| Declaration | |
|---|---|
| From | func AudioUnitAddPropertyListener(_ inUnit: AudioUnit, _ inID: AudioUnitPropertyID, _ inProc: AudioToolbox.AudioUnitPropertyListenerProc, _ inProcUserData: UnsafeMutableRawPointer?) -> OSStatus |
| To | func AudioUnitAddPropertyListener(_ inUnit: AudioUnit, _ inID: AudioUnitPropertyID, _ inProc: @escaping AudioToolbox.AudioUnitPropertyListenerProc, _ inProcUserData: UnsafeMutableRawPointer?) -> OSStatus |
| Declaration | |
|---|---|
| From | func AudioUnitAddRenderNotify(_ inUnit: AudioUnit, _ inProc: AudioToolbox.AURenderCallback, _ inProcUserData: UnsafeMutableRawPointer?) -> OSStatus |
| To | func AudioUnitAddRenderNotify(_ inUnit: AudioUnit, _ inProc: @escaping AudioToolbox.AURenderCallback, _ inProcUserData: UnsafeMutableRawPointer?) -> OSStatus |
| Declaration | |
|---|---|
| From | func AudioUnitRemovePropertyListenerWithUserData(_ inUnit: AudioUnit, _ inID: AudioUnitPropertyID, _ inProc: AudioToolbox.AudioUnitPropertyListenerProc, _ inProcUserData: UnsafeMutableRawPointer?) -> OSStatus |
| To | func AudioUnitRemovePropertyListenerWithUserData(_ inUnit: AudioUnit, _ inID: AudioUnitPropertyID, _ inProc: @escaping AudioToolbox.AudioUnitPropertyListenerProc, _ inProcUserData: UnsafeMutableRawPointer?) -> OSStatus |
| Declaration | |
|---|---|
| From | func AudioUnitRemoveRenderNotify(_ inUnit: AudioUnit, _ inProc: AudioToolbox.AURenderCallback, _ inProcUserData: UnsafeMutableRawPointer?) -> OSStatus |
| To | func AudioUnitRemoveRenderNotify(_ inUnit: AudioUnit, _ inProc: @escaping AudioToolbox.AURenderCallback, _ inProcUserData: UnsafeMutableRawPointer?) -> OSStatus |
| Declaration | |
|---|---|
| From | func AUGraphAddRenderNotify(_ inGraph: AUGraph, _ inCallback: AudioToolbox.AURenderCallback, _ inRefCon: UnsafeMutableRawPointer?) -> OSStatus |
| To | func AUGraphAddRenderNotify(_ inGraph: AUGraph, _ inCallback: @escaping AudioToolbox.AURenderCallback, _ inRefCon: UnsafeMutableRawPointer?) -> OSStatus |
| Declaration | |
|---|---|
| From | func AUGraphRemoveRenderNotify(_ inGraph: AUGraph, _ inCallback: AudioToolbox.AURenderCallback, _ inRefCon: UnsafeMutableRawPointer?) -> OSStatus |
| To | func AUGraphRemoveRenderNotify(_ inGraph: AUGraph, _ inCallback: @escaping AudioToolbox.AURenderCallback, _ inRefCon: UnsafeMutableRawPointer?) -> OSStatus |