// Decoder for HLS segments (MPEG-TS with AAC-LC / HE-AAC), fed by the HLS client's sink. #pragma once #include #include #include #include "esp_err.h" esp_err_t decoder_init(void); // hls_sink_t: segment bytes in; PCM out (7.3: counted and logged). bool decoder_feed(const uint8_t *data, size_t len, bool segment_start);