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

# SetOutputLatency

Sets the output latency of the clock device.

```
kern_return_t SetOutputLatency(uint32_t in_latency);
```

## Parameters

`in_latency`

uint32_t output latency value to set.

## Discussion

Drivers can change the latency of the clock device dynamically. The object sends a notification to the host to update the object state on success.
The object’s work queue synchronizes access to the value.

---

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)