[audio] Bump microDecoder to v0.4.0 - #18291
Conversation
- Fixes several bugs and makes other easier to diagnose - v0.4.0 includes Ogg Vorbis suport enabled by default, so until ESPHome supports it properly it is always disabled
|
To use the changes in this PR: # Clone the repository:
git clone https://github.com/esphome/esphome
cd esphome
# Checkout the PR branch:
git fetch origin pull/18291/head:micro-decoder-v0.4.0
git checkout micro-decoder-v0.4.0
# Install the development version:
script/setup
# Activate the development version:
source venv/bin/activateNow you can run (Added by the PR bot) |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## dev #18291 +/- ##
=======================================
Coverage 87.97% 87.97%
=======================================
Files 65 65
Lines 14890 14890
Branches 2239 2239
=======================================
Hits 13100 13100
Misses 1478 1478
Partials 312 312 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Pull request overview
This PR updates ESPHome’s ESP-IDF audio dependency set to use esphome/micro-decoder v0.4.0, aligning both the repository’s IDF component manifest and the audio component’s codegen to that version. It also proactively disables the newly-enabled Vorbis codec in micro-decoder because ESPHome does not support it yet.
Changes:
- Bump
esphome/micro-decoderdependency from 0.2.0 to 0.4.0 in the ESPHome IDF component manifest. - Update audio code generation to pull
esphome/micro-decoderv0.4.0. - Always disable
CONFIG_MICRO_DECODER_CODEC_VORBISin IDF sdkconfig to prevent unsupported Vorbis decoding.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| esphome/idf_component.yml | Updates the pinned ESP-IDF managed component version for esphome/micro-decoder to 0.4.0. |
| esphome/components/audio/init.py | Updates codegen to use micro-decoder 0.4.0 and disables Vorbis via sdkconfig. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Memory Impact AnalysisComponents:
This analysis runs automatically when components change. Memory usage is measured from a representative test configuration. |
What does this implement/fix?
Bumps the microDecoder library (GitHub/Espressif Registry) to v0.4.0 (changelog).
Types of changes
Related issue or feature (if applicable):
Pull request in esphome.io with documentation (if applicable): not applicable
Pull request in developers.esphome.io with developer documentation (if applicable): not applicable
Test Environment
Example entry for
config.yaml:Checklist:
tests/folder).If user exposed functionality or configuration variables are added/changed: