Software codec selection and configuration API for Audio applications.
More...
|
| bool | sw_codec_is_initialized (void) |
| | Check if the software codec is initialized.
|
| |
| int | sw_codec_encode (struct net_buf *audio_frame_in, struct net_buf *audio_frame_out) |
| | Encode PCM data and output encoded data.
|
| |
| int | sw_codec_decode (struct net_buf const *const audio_frame_in, struct net_buf *const audio_frame_out) |
| | Decode encoded data and output PCM data.
|
| |
| int | sw_codec_uninit (struct sw_codec_config sw_codec_cfg) |
| | Uninitialize the software codec and free the allocated space.
|
| |
| 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.
|
| |
Software codec selection and configuration API for Audio applications.
This module provides the software codec interface for audio encoding and decoding operations. It supports the LC3 (Low Complexity Communication Codec) as specified in the Bluetooth LE Audio standard. The module handles codec initialization and codec configuration. It provides encoding/decoding functions with support for different sample rates, bitrates, and channel modes (mono/stereo). It integrates with Audio System to process audio data for both unicast (CIS) and broadcast (BIS) streaming modes.