<!--
{
  "availability" : [
    "DriverKit: 27.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "VideoDriverKit",
  "identifier" : "/documentation/VideoDriverKit/IOUserVideoClockDevice/SetInputLatency",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "VideoDriverKit"
    ],
    "preciseIdentifier" : "c:@S@IOUserVideoClockDevice@F@SetInputLatency#i#"
  },
  "title" : "SetInputLatency"
}
-->

# SetInputLatency

Sets the input latency of the clock device.

```
kern_return_t SetInputLatency(uint32_t in_latency);
```

## Parameters

`in_latency`

The uint32_t input latency value to set.

## Return Value

A kern_return_t value indicating success or failure.

## Discussion

Drivers can change the latency of the clock device dynamically. If successful, the clock device sends a notification
to the host to update the object state.
The object’s work queue synchronizes access to this value when it changes.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)