nrfxlib API 0.1.0
Loading...
Searching...
No Matches
LC3_translation

Functions

int sw_codec_lc3_enc_run (void const *const pcm_data, uint32_t pcm_data_size, uint32_t enc_bitrate, uint8_t audio_ch, uint16_t lc3_data_buf_size, uint8_t *const lc3_data, uint16_t *const lc3_data_wr_size)
 Runs the LC3 encoder.
 
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)
 Runs the LC3 decoder.
 
int sw_codec_lc3_enc_uninit_all (void)
 Closes the LC3 encoder and frees allocated RAM.
 
int sw_codec_lc3_dec_uninit_all (void)
 Closes the LC3 decoder and frees allocated RAM.
 
int sw_codec_lc3_init (uint8_t *sw_codec_lc3_buffer, uint32_t *sw_codec_lc3_buffer_size, uint16_t framesize_us)
 Initializes the LC3 Codec.
 
int sw_codec_lc3_enc_init (uint16_t pcm_sample_rate, uint8_t pcm_bit_depth, uint16_t framesize_us, uint32_t enc_bitrate, uint8_t num_channels, uint16_t *const pcm_bytes_req)
 Initializes the LC3 encoder and allocates required RAM.
 
int sw_codec_lc3_dec_init (uint16_t pcm_sample_rate, uint8_t pcm_bit_depth, uint16_t framesize_us, uint8_t num_channels)
 Initializes the LC3 decoder and allocates required RAM.
 

Detailed Description