<!--
{
  "availability" : [
    "DriverKit: 21.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AudioDriverKit",
  "identifier" : "/documentation/AudioDriverKit/IOUserAudioClockDevice/UpdateCurrentZeroTimestamp",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AudioDriverKit"
    ],
    "preciseIdentifier" : "c:@S@IOUserAudioClockDevice@F@UpdateCurrentZeroTimestamp#k#k#"
  },
  "title" : "UpdateCurrentZeroTimestamp"
}
-->

# UpdateCurrentZeroTimestamp

Updates the current timestamp value.

```
void UpdateCurrentZeroTimestamp(uint64_t in_sample_time, uint64_t in_host_time);
```

## Parameters

`in_sample_time`

The most current sample time tracked by the hardware device.

`in_host_time`

The most current host time tracked by the hardware device.

## Discussion

Updating the current timestamp should use the time passed in the hardware interrupt.

---

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)