nRF Connect SDK API 3.4.99
Loading...
Searching...
No Matches

◆ audio_rate_control_update()

int audio_rate_control_update ( enum audio_rate_control_type type,
void *const control_val_u )

#include <audio_rate_control.h>

Update the error between timestamps for an audio rate control module.

Parameters
type[in] The type of the rate control source.
control_val_u[in] The pointer of the rate control value. Note the data type is user defined and must align with the selected rate control APIs.
Return values
-EOVERFLOWThe change required is too big, but has been clamped to fit normal range.
-EINVALThe provided control value is invalid.
Negativeerror code for other failures.
0if successful.