nrfxlib API 0.1.0
Loading...
Searching...
No Matches
LC3DecodeOutput_t Struct Reference

LC3 decoder output PCM structure. More...

#include <LC3API.h>

Data Fields

void * PCMData
 Output buffer pointer.
 
uint16_t PCMDataLength
 Output buffer size in bytes.
 
uint16_t bytesWritten
 Number of bytes written to the output buffer.
 
uint16_t PLCCounter
 Number of successive frames to which PLC has been applied.
 

Detailed Description

LC3 decoder output PCM structure.

This structure is used to hold the decoded PCM audio samples of an audio stream. The buffer is externally allocated and its pointer and size are passed to the LC3 decoder. bytesWritten contains the number of bytes written to the buffer. The number of PCM bytes needed per frame can be calculated with LC3PCMBuffersize(). If PLC has been applied to the frame, PLCCounter will increment by one. A frame decoded without any bit errors resets PLCCounter to zero.


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