Contents

DeviceSampleRateChanged

Call to update stream formats when the owning video device changes sample rate.

Declaration

kern_return_t DeviceSampleRateChanged(double in_sample_rate);

Discussion

Goes through all the available stream formats and selects the closet format with the matching sample rate. The system calls HandleChangeCurrentStreamFormat on the stream to update its format.

See Also

Managing stream changes