<!--
{
  "documentType" : "article",
  "framework" : "AudioToolbox",
  "identifier" : "/documentation/AudioToolbox/1387633-aueventsampletime",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "AUEventSampleTime"
}
-->

# AUEventSampleTime

Expresses time as a sample count.

## Discussion

Callers of the [`AUScheduleParameterBlock`](/documentation/AudioToolbox/AUScheduleParameterBlock) and [`AUScheduleMIDIEventBlock`](/documentation/AudioToolbox/AUScheduleMIDIEventBlock) blocks can pass the `AUEventSampleTimeImmediate` value to indicate that the event should be rendered as soon as possible (in the next cycle). A caller may also add a small (less than 4096) sample frame offset to this constant.

> Note:
> The base ``doc://com.apple.audiotoolbox/documentation/AudioToolbox/AUAudioUnit`` implementation translates the `AUEventSampleTimeImmediate` constant to a true ``doc://com.apple.audiotoolbox/documentation/AudioToolbox/AUEventSampleTime`` value. Subclasses will not see this value.

## Topics

### Constants

[`AUEventSampleTimeImmediate`](/documentation/AudioToolbox/AUEventSampleTimeImmediate)



---

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)