Skip to content

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? #52

@skipify

Description

@skipify

Checklist

  • Checked the issue tracker for similar issues to ensure this is not a duplicate.
  • Provided a clear description of your suggestion.
  • Included any relevant context or examples.

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions