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

◆ sw_codec_init()

int sw_codec_init ( struct sw_codec_config  sw_codec_cfg)

Initialize the software codec and statically or dynamically allocate memory to be used, depending on the selected codec and its configuration.

Parameters
[in]sw_codec_cfgStruct to set up sw_codec.
Returns
0 if success, error codes depends on sw_codec selected.