CMAudioDeviceClockCreateFromAudioDeviceID(allocator:deviceID:clockOut:)
Creates a clock that tracks playback through a Core Audio device with the specified identifier.
Declaration
func CMAudioDeviceClockCreateFromAudioDeviceID(allocator: CFAllocator?, deviceID: AudioDeviceID, clockOut: UnsafeMutablePointer<CMClock?>) -> OSStatusParameters
- allocator:
Allocator for the new clock; pass Kcfallocatordefault or
NULLto use the default allocator. - deviceID:
The Audiodeviceid of the device for which to create a clock.
- clockOut:
Upon return, a pointer to the newly created clock.