AudioDeviceCreateIOProcIDWithBlock(_:_:_:_:)
Declaration
func AudioDeviceCreateIOProcIDWithBlock(_ outIOProcID: UnsafeMutablePointer<AudioDeviceIOProcID?>, _ inDevice: AudioObjectID, _ inDispatchQueue: dispatch_queue_t?, _ inIOBlock: @escaping AudioDeviceIOBlock) -> OSStatusParameters
- outIOProcID:
The newly created AudioDeviceIOProcID.
- inDevice:
The AudioDevice to register the Block with.
- inDispatchQueue:
The dispatch queue on which the IOBlock will be dispatched. All IOBlocks are dispatched synchronously. Note that this dispatch queue will be retained until a matching call to AudioDeviceDestroyIOProcID is made. If this value is NULL, then the IOBlock will be directly invoked.
- inIOBlock:
The AudioDeviceIOBlock to register. Note that this block will be Block_copy’d and the reference maintained until a matching call to AudioDeviceDestroyIOProcID is made.
Return Value
An OSStatus indicating success or failure.
Discussion
Creates an AudioDeviceIOProcID from an AudioDeviceIOBlock
See Also
Functions
AudioConvertHostTimeToNanos(_:)AudioConvertNanosToHostTime(_:)AudioDeviceCreateIOProcID(_:_:_:_:)AudioDeviceDestroyIOProcID(_:_:)AudioDeviceGetCurrentTime(_:_:)AudioDeviceGetNearestStartTime(_:_:_:)AudioDeviceStart(_:_:)AudioDeviceStartAtTime(_:_:_:_:)AudioDeviceStop(_:_:)AudioDeviceTranslateTime(_:_:_:)AudioGetCurrentHostTime()AudioGetHostClockFrequency()AudioGetHostClockMinimumTimeDelta()AudioHardwareCreateAggregateDevice(_:_:)AudioHardwareDestroyAggregateDevice(_:)