AAC Decoder¶
Decode an audio data stream provided in AAC format.
API Reference¶
Header File¶
Functions¶
- 
audio_element_handle_t 
aac_decoder_init(aac_decoder_cfg_t *config)¶ Create an Audio Element handle to decode incoming AAC data.
- Return
 The audio element handle
- Parameters
 config: The configuration
Structures¶
- 
struct 
aac_decoder_cfg_t¶ AAC Decoder configuration.
Public Members
- 
int 
out_rb_size¶ Size of output ringbuffer
- 
int 
task_stack¶ Task stack size
- 
int 
task_core¶ CPU core number (0 or 1) where decoder task in running
- 
int 
task_prio¶ Task priority (based on freeRTOS priority)
- 
bool 
stack_in_ext¶ Try to allocate stack in external memory
- 
bool 
plus_enable¶ Dynamically enable HE-AAC (v1 v2) decoding
- 
int 
 
Macros¶
- 
AAC_DECODER_TASK_STACK_SIZE¶ 
- 
AAC_DECODER_TASK_CORE¶ 
- 
AAC_DECODER_TASK_PRIO¶ 
- 
AAC_DECODER_RINGBUFFER_SIZE¶ 
- 
DEFAULT_AAC_DECODER_CONFIG()¶