nRF Connect SDK API 0.1.0
|
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.
[in] | encoded_data | Pointer to encoded data. |
[in] | encoded_size | Size of encoded data. |
[in] | bad_frame | Flag to indicate a missing/bad frame (only LC3). |
[out] | pcm_data | Pointer to buffer to store decoded PCM data. |
[out] | pcm_size | Size of decoded data. |