nRF Connect SDK API 2.8.99
|
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.
[in] | pcm_data | Pointer to PCM data. |
[in] | pcm_size | Size of PCM data. |
[out] | encoded_data | Pointer to buffer to store encoded data. |
[out] | encoded_size | Size of encoded data. |