AudioDeviceStart(_:_:)
Declaration
func AudioDeviceStart(_ inDevice: AudioObjectID, _ inProcID: AudioDeviceIOProcID?) -> OSStatusParameters
- inDevice:
The AudioDevice to start the IOProc on.
- inProcID:
The AudioDeviceIOProcID to start. Note that this can be NULL, which starts the hardware regardless of whether or not there are any IOProcs registered. This is necessary if any of the AudioDevice’s timing services are to be used. A balancing call to AudioDeviceStop with a NULL IOProc is required to stop the hardware.
Return Value
An OSStatus indicating success or failure.
Discussion
Starts IO for the given AudioDeviceIOProcID.
See Also
Functions
AudioConvertHostTimeToNanos(_:)AudioConvertNanosToHostTime(_:)AudioDeviceCreateIOProcID(_:_:_:_:)AudioDeviceCreateIOProcIDWithBlock(_:_:_:_:)AudioDeviceDestroyIOProcID(_:_:)AudioDeviceGetCurrentTime(_:_:)AudioDeviceGetNearestStartTime(_:_:_:)AudioDeviceStartAtTime(_:_:_:_:)AudioDeviceStop(_:_:)AudioDeviceTranslateTime(_:_:_:)AudioGetCurrentHostTime()AudioGetHostClockFrequency()AudioGetHostClockMinimumTimeDelta()AudioHardwareCreateAggregateDevice(_:_:)AudioHardwareDestroyAggregateDevice(_:)