![]() |
nRF Connect SDK API 3.4.99
|
| 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.
| 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. |
| -EOVERFLOW | The change required is too big, but has been clamped to fit normal range. |
| -EINVAL | The provided control value is invalid. |
| Negative | error code for other failures. |
| 0 | if successful. |