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

◆ audio_rate_control_update()

int audio_rate_control_update ( struct audio_rate_control_ctx *const ctx,
void *const control_val_u )

#include <applications/nrf_audio/src/modules/audio_rate_control/audio_rate_control.h>

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

Parameters
ctx[in/out] Pointer to the audio rate control's context.
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.
Returns
0 if successful, error otherwise.