nRF Connect SDK API 2.8.99
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.