Replace esphome-libs codecs with ESP-IDF Audio Codecs module #3821
Unanswered
PxPert
asked this question in
Experimental ideas
Replies: 2 comments 2 replies
|
esphome runs on more than just ESP devices. |
0 replies
|
I know, but ESPHome is also designed to run optimized code for the microcontroller it’s built for. So it would be possible to wrap the ESP-IDF codecs behind the same interface and use them on ESP32s, while using the “generic ones” for all the others. |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Describe your idea
Hi,
ESPHome currently uses its own internal implementation for audio codec functions (micro-flac, micro-wav etc.). Since ESP-IDF supports the official esp_audio_codec component, which includes not only the codecs currently used by ESPHome but also additional ones, why not integrating the official esp_audio_codec component instead of relying on the custom library?
Why is this exciting?
Less custom code to mantain
Standard libraries (esp-idf)
More codecs supported
More optimized codecs?
Potential use cases
Everything that needs the audio codecs
Anything else?
No response
All reactions