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

# GetCurrentClientSampleTime

Gets the current sample time in the ring buffer that the client has written to or read from.

```
void GetCurrentClientSampleTime(uint64_t *out_input_sample_time, uint64_t *out_output_sample_time);
```

## Parameters

`out_input_sample_time`

On return, the current input sample time read by the client.

`out_output_sample_time`

On return, the current output sample time written by the client.

---

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)