nrfxlib API 0.1.0
|
int sw_codec_lc3_dec_run | ( | uint8_t const *const | lc3_data, |
uint16_t | lc3_data_size, | ||
uint16_t | pcm_data_buf_size, | ||
uint8_t | audio_ch, | ||
void *const | pcm_data, | ||
uint16_t *const | pcm_data_wr_size, | ||
bool | bad_frame | ||
) |
#include <lc3/include/sw_codec_lc3.h>
Runs the LC3 decoder.
[in] | lc3_data | Buffer containing LC3 data. |
[in] | lc3_data_size | Number of bytes in lc3_data. |
[in] | pcm_data_buf_size | Size of supplied pcm_data buffer |
[in] | audio_ch | Index to which channel is being decoded |
[out] | pcm_data | Pointer to PCM data output buffer. |
[out] | pcm_data_wr_size | Number of bytes written to pcm_data |
[out] | bad_frame | Bad frame indicator. Refer to LC3 doc. |