nrfxlib API 0.1.0
|
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. | |
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().