SetAvailableSampleRates
Sets the available sample rates for the clock device.
Declaration
kern_return_t SetAvailableSampleRates(const double *in_sample_rates, size_t in_num_rates);Parameters
- in_sample_rates:
Pointer to a buffer of double’’s with size corresponding to in_num_rates.
- in_num_rates:
Size_t of the number of sample rates in in_sample_rates buffer.
Discussion
Changing the available sample rates will send a notification to the host to update the object state if successful. The object’s work queue synchronizes access to the sample rates.