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

◆ audio_regulator_init()

int audio_regulator_init ( struct audio_regulator_ctx *const ctx,
struct audio_regulator_imp_ctx *const imp_ctx,
struct audio_regulator_ops const *const imp_cb )

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

Initialize an instance of the audio regulator module with the specified initial configuration.

Parameters
ctx[in/out] Pointer to the audio regulator's context.
imp_ctx[in] Pointer to the implemented regulator's context.
imp_cb[in] Pointer to the table of callbacks.
Returns
0 if successful, error otherwise.