Sets sched ahead time to 0 within the block for the current thread

with_real_time  

Sets sched ahead time to 0 within the block for the current thread. Shorthand for with_sched_ahead_time 0.

See with_sched_ahead_time for a version of this function which allows you to set the schedule ahead time to any arbitrary value. Note, with_real_time will override any value set with set_sched_ahead_time! for the current thread.

Introduced in v3.0

Example

# Example 1

use_real_time 1



# Code will now run approximately 1 second ahead of audio.