nrfxlib API 2.8.99
Loading...
Searching...
No Matches
LC3EncodeInput_t Struct Reference

LC3 encoder input PCM data structure. More...

#include <LC3API.h>

Data Fields

const void * PCMData
 Pointer to the PCM data to encode.
 
uint16_t PCMDataLength
 Length of PCM data in bytes.
 
uint32_t encodeBitrate
 Bit rate, in bits per second, at which to encode frame.
 
uint16_t bytesRead
 Number of PCM data bytes read.
 

Detailed Description

LC3 encoder input PCM data structure.

Structure used to pass an audio frame to the encoder. Incoming PCM samples must be linear with a bit depth rounded to the nearest byte. A bit depth of 16 uses 2 bytes per sample, bit depths of 17-24 use 3 bytes per sample, and bit depths of 25-32 use 4 bytes per sample. The number of PCM bytes needed per frame can be calculated using LC3PCMBuffersize().


The documentation for this struct was generated from the following file: