nRF Connect SDK API 0.1.0
|
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. |