#include <zephyr/kernel.h>
#include "channel_assignment.h"
Go to the source code of this file.
|
bool | sw_codec_is_initialized (void) |
| Check if the software codec is initialized.
|
|
int | sw_codec_encode (void *pcm_data, size_t pcm_size, uint8_t **encoded_data, size_t *encoded_size) |
| Encode PCM data and output encoded data.
|
|
int | sw_codec_decode (uint8_t const *const encoded_data, size_t encoded_size, bool bad_frame, void **pcm_data, size_t *pcm_size) |
| 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.
|
|