CMAudioDeviceClockGetAudioDevice(_:deviceUIDOut:deviceIDOut:trackingDefaultDeviceOut:)
Returns the Core Audio device the clock is tracking.
Declaration
func CMAudioDeviceClockGetAudioDevice(_ clock: CMClock, deviceUIDOut: AutoreleasingUnsafeMutablePointer<CFString?>?, deviceIDOut: UnsafeMutablePointer<AudioDeviceID>?, trackingDefaultDeviceOut: UnsafeMutablePointer<DarwinBoolean>?) -> OSStatusParameters
- clock:
The clock from which to retrieve its audio device.
- deviceUIDOut:
An optional unique device identifier. If you specify a non-
NULLvalue, this function returns thedeviceUIDand its associated ID, and setstrackingDefaultDeviceOuttofalse. - deviceIDOut:
An optional device identifier. If you specify a non-
NULLvalue, this function returns aNULLUID and the device ID, and setstrackingDefaultDeviceOuttofalse. - trackingDefaultDeviceOut:
On return, a Boolean value that indicates whether the audio clock tracks the default audio device.
Return Value
A value that indicates the completion status.