Contents

SetClockAlgorithm

Sets the algorithm for the video clock device.

Declaration

kern_return_t SetClockAlgorithm(IOUserVideoClockAlgorithm in_clock_algorithm);

Parameters

  • in_clock_algorithm:

    The IOUserVideoClockAlgorithm value to set.

Return Value

A kern_return_t value indicating success or failure.

Discussion

Drivers can change the clock algorithm of the clock device dynamically. If successful, the clock device sends a notification to the host to update the object state.

See Also

Working with clock device behavior