---
title: SetOutputLatency
framework: VideoDriverKit
role: symbol
role_heading: Instance Method
platforms: [driverkit 27.0+]
path: videodriverkit/iouservideoclockdevice/setoutputlatency
---

# SetOutputLatency

Sets the output latency of the clock device.

## Declaration

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

## Parameters

- `in_latency`: uint32_t output latency value to set.

## Discussion

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.

## See Also

### Working with timing and latency

- [GetOutputLatency](videodriverkit/iouservideoclockdevice/getoutputlatency.md)
- [SetInputLatency](videodriverkit/iouservideoclockdevice/setinputlatency.md)
- [GetInputLatency](videodriverkit/iouservideoclockdevice/getinputlatency.md)
