Contents

SetSampleRate

Sets the current sample rate for the clock device.

Declaration

kern_return_t SetSampleRate(double in_sample_rate);

Parameters

  • in_sample_rate:

    The sample rate to set on the clock device..

Discussion

Changing the sample rate will send a notification to the host to update the object state if successful. The object’s work queue synchronizes access to the sample rate.

See Also

Working with sample rates