nrfxlib API 2.8.99
Loading...
Searching...
No Matches

◆ LC3EncodeSessionData()

int32_t LC3EncodeSessionData ( LC3EncoderHandle_t encodeHandle,
LC3EncodeInput_t * encodeInput,
LC3EncodeOutput_t * encodeOutput )

#include <lc3/codec/inc/LC3API.h>

Encodes a frame of data using LC3.

This function processes the audio frame data passed in the encodeInput structure. It returns the encoded data in the encodeOutput structure.

Parameters
[in]encodeHandleHandle to an encoder instance.
[in]encodeInputPointer to a structure pointing to the frame's audio samples to encode.
[in]encodeOutputPointer to a structure to receive the frame's encoded data.
Returns
Zero on success or one of the defined LC3 result codes on error.