Checklist
Issue or Suggestion Description
I noticed that there are two codec implementations: esp_codec and esp_audio_codec, and some parts seem to conflict with each other. What is the reason behind this design?
I found that both
• esp_codec/include/codec/esp_aac_enc.h
• esp_audio_codec/include/encoder/impl/esp_aac_enc.h
define a structure with the same name esp_aac_enc_config_t, but the fields inside are different.
It was further found that some parts of ESP-ADF depend on esp_codec, while the newer component esp_gmf depends on esp_audio_codec.
As a result, when using esp_gmf in a project based on ESP-ADF, conflicts may occur due to duplicate structure names and header files.