Contents

AVAudioTime

An object you use to represent a moment in time.

Declaration

class AVAudioTime

Overview

The AVAudioTime object represents a single moment in time in two ways:

  • As host time, using the system’s basic clock with mach_absolute_time()

  • As audio samples at a particular sample rate

A single AVAudioTime instance contains either or both representations, meaning it might represent only a sample time, a host time, or both.

Instances of this class are immutable.

Topics

Creating an Audio Time Instance

Manipulating Host Time

Getting Sample Rate Information

Getting the Core Audio Time Stamp

See Also

Supporting data types