CMAudioClock

A specialized reference clock used to synchronize with audio sources.

Overview

CMAudioClock provides a special variation on a CMClockRef to use for synchronizing with audio sources. For details on clocks and synchronization, see CMClock.

Topics

Creating Audio Clocks

CMAudioClockCreate

Creates a clock that advances at the same rate as audio output.

CMAudioDeviceClockCreate

Creates a clock that tracks playback through a specific CoreAudio device.

CMAudioDeviceClockCreateFromAudioDeviceID

Creates a clock that tracks playback through a specific CoreAudio device.

Configuring Audio Clocks

CMAudioDeviceClockGetAudioDevice

Queries which CoreAudio device the clock is tracking.

CMAudioDeviceClockSetAudioDeviceID

Changes the CoreAudio device the clock is tracking.

CMAudioDeviceClockSetAudioDeviceUID

Changes the CoreAudio device the clock is tracking.

See Also

Media Synchronization

CMClock

A reference clock used to synchronize applications and devices.

CMTimebase

A model of a timeline under application control.