Contents

setMixClipOverhead

Used to tell IOAudioFamily when the watchdog timer must fire by.

Declaration

virtual void setMixClipOverhead(
 UInt32newMixClipOverhead);

Parameters

  • newMixClipOverhead:

    How much time per buffer should be made available for the mix and clip routines to run. Valid values are 1 through 99, inclusive.

Return Value

return no error

Overview

setMixClipOverhead allows an audio engine to tell IOAudioFamily how much time an engine will take to mix and clip its samples, in percent. The default value is 10, meaning 10%. This will cause IOAudioFamily to make the watchdog timer fire when there is just over 10% of the time to complete a buffer set left (e.g. 51 samples when the HAL is using a buffer size of 512 samples).

See Also

Miscellaneous