CoreAudio Changes for Swift
CoreAudio
Declaration | |
---|---|
From | func AudioDeviceCreateIOProcID(_ inDevice: AudioObjectID, _ inProc: CoreAudio.AudioDeviceIOProc, _ inClientData: UnsafeMutableRawPointer?, _ outIOProcID: UnsafeMutablePointer<CoreAudio.AudioDeviceIOProcID?>) -> OSStatus |
To | func AudioDeviceCreateIOProcID(_ inDevice: AudioObjectID, _ inProc: @escaping CoreAudio.AudioDeviceIOProc, _ inClientData: UnsafeMutableRawPointer?, _ outIOProcID: UnsafeMutablePointer<CoreAudio.AudioDeviceIOProcID?>) -> OSStatus |
Declaration | |
---|---|
From | func AudioDeviceCreateIOProcIDWithBlock(_ outIOProcID: UnsafeMutablePointer<CoreAudio.AudioDeviceIOProcID?>, _ inDevice: AudioObjectID, _ inDispatchQueue: DispatchQueue?, _ inIOBlock: CoreAudio.AudioDeviceIOBlock) -> OSStatus |
To | func AudioDeviceCreateIOProcIDWithBlock(_ outIOProcID: UnsafeMutablePointer<CoreAudio.AudioDeviceIOProcID?>, _ inDevice: AudioObjectID, _ inDispatchQueue: DispatchQueue?, _ inIOBlock: @escaping CoreAudio.AudioDeviceIOBlock) -> OSStatus |
Declaration | |
---|---|
From | func AudioDeviceDestroyIOProcID(_ inDevice: AudioObjectID, _ inIOProcID: CoreAudio.AudioDeviceIOProcID) -> OSStatus |
To | func AudioDeviceDestroyIOProcID(_ inDevice: AudioObjectID, _ inIOProcID: @escaping CoreAudio.AudioDeviceIOProcID) -> OSStatus |
Declaration | |
---|---|
From | func AudioObjectAddPropertyListener(_ inObjectID: AudioObjectID, _ inAddress: UnsafePointer<AudioObjectPropertyAddress>, _ inListener: CoreAudio.AudioObjectPropertyListenerProc, _ inClientData: UnsafeMutableRawPointer?) -> OSStatus |
To | func AudioObjectAddPropertyListener(_ inObjectID: AudioObjectID, _ inAddress: UnsafePointer<AudioObjectPropertyAddress>, _ inListener: @escaping CoreAudio.AudioObjectPropertyListenerProc, _ inClientData: UnsafeMutableRawPointer?) -> OSStatus |
Declaration | |
---|---|
From | func AudioObjectAddPropertyListenerBlock(_ inObjectID: AudioObjectID, _ inAddress: UnsafePointer<AudioObjectPropertyAddress>, _ inDispatchQueue: DispatchQueue?, _ inListener: CoreAudio.AudioObjectPropertyListenerBlock) -> OSStatus |
To | func AudioObjectAddPropertyListenerBlock(_ inObjectID: AudioObjectID, _ inAddress: UnsafePointer<AudioObjectPropertyAddress>, _ inDispatchQueue: DispatchQueue?, _ inListener: @escaping CoreAudio.AudioObjectPropertyListenerBlock) -> OSStatus |
Declaration | |
---|---|
From | func AudioObjectRemovePropertyListener(_ inObjectID: AudioObjectID, _ inAddress: UnsafePointer<AudioObjectPropertyAddress>, _ inListener: CoreAudio.AudioObjectPropertyListenerProc, _ inClientData: UnsafeMutableRawPointer?) -> OSStatus |
To | func AudioObjectRemovePropertyListener(_ inObjectID: AudioObjectID, _ inAddress: UnsafePointer<AudioObjectPropertyAddress>, _ inListener: @escaping CoreAudio.AudioObjectPropertyListenerProc, _ inClientData: UnsafeMutableRawPointer?) -> OSStatus |
Declaration | |
---|---|
From | func AudioObjectRemovePropertyListenerBlock(_ inObjectID: AudioObjectID, _ inAddress: UnsafePointer<AudioObjectPropertyAddress>, _ inDispatchQueue: DispatchQueue?, _ inListener: CoreAudio.AudioObjectPropertyListenerBlock) -> OSStatus |
To | func AudioObjectRemovePropertyListenerBlock(_ inObjectID: AudioObjectID, _ inAddress: UnsafePointer<AudioObjectPropertyAddress>, _ inDispatchQueue: DispatchQueue?, _ inListener: @escaping CoreAudio.AudioObjectPropertyListenerBlock) -> OSStatus |