AudioDeviceCreateIOProcID(_:_:_:_:)
Declaration
func AudioDeviceCreateIOProcID(_ inDevice: AudioObjectID, _ inProc: AudioDeviceIOProc, _ inClientData: UnsafeMutableRawPointer?, _ outIOProcID: UnsafeMutablePointer<AudioDeviceIOProcID?>) -> OSStatusParameters
- inDevice:
The AudioDevice to register the IOProc with.
- inProc:
The AudioDeviceIOProc to register.
- inClientData:
A pointer to client data that is passed back to the IOProc when it is called.
- outIOProcID:
The newly created AudioDeviceIOProcID.
Return Value
An OSStatus indicating success or failure.
Discussion
Creates an AudioDeviceIOProcID from an AudioDeviceIOProc and a client data pointer.
AudioDeviceIOProcIDs allow for the client to register the same function pointer with a device multiple times
See Also
Functions
AudioConvertHostTimeToNanos(_:)AudioConvertNanosToHostTime(_:)AudioDeviceCreateIOProcIDWithBlock(_:_:_:_:)AudioDeviceDestroyIOProcID(_:_:)AudioDeviceGetCurrentTime(_:_:)AudioDeviceGetNearestStartTime(_:_:_:)AudioDeviceStart(_:_:)AudioDeviceStartAtTime(_:_:_:_:)AudioDeviceStop(_:_:)AudioDeviceTranslateTime(_:_:_:)AudioGetCurrentHostTime()AudioGetHostClockFrequency()AudioGetHostClockMinimumTimeDelta()AudioHardwareCreateAggregateDevice(_:_:)AudioHardwareDestroyAggregateDevice(_:)