FLAC Decoder

Decode an audio data stream provided in FLAC format.

API Reference

Functions

audio_element_handle_t flac_decoder_init(flac_decoder_cfg_t *config)

Create an Audio Element handle to decode incoming FLAC data.

Return
The audio element handle
Parameters
  • config: The configuration

Structures

struct flac_decoder_cfg_t

FLAC 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)

Macros

FLAC_DECODER_TASK_STACK_SIZE
FLAC_DECODER_TASK_CORE
FLAC_DECODER_TASK_PRIO
FLAC_DECODER_RINGBUFFER_SIZE
DEFAULT_FLAC_DECODER_CONFIG()