Contents

CMAudioDeviceClockSetAudioDeviceUID(_:deviceUID:)

Changes the Core Audio device the clock is tracking by specifying a new device unique identifier.

Declaration

func CMAudioDeviceClockSetAudioDeviceUID(_ clock: CMClock, deviceUID: CFString?) -> OSStatus

Parameters

  • clock:

    The clock to change.

  • deviceUID:

    The UID of the Core Audio device to track.

Discussion

Pass NULL for deviceUID to make the clock track the default device.

See Also

Configuring Audio Clocks