Free up memory to reduce Ethernet audio dropouts - #84
Conversation
The 64KB data cache came in from the Home Assistant Voice PE config, where it feeds microWakeWord. The CAST-1 has no microphone. On the S3 the cache is carved out of internal SRAM, so dropping to the IDF default of 32KB returns 32KB to the internal heap. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. WalkthroughThe ESPHome configuration updates the firmware version substitution and changes the ESP32-S3 data cache setting from 64KB to 32KB. ChangesESPHome configuration
Priority: ⬇️ Low Estimated code review effort: 1 (Trivial) | ~5 minutes Change: Bug fix Suggested reviewers: Merge Risk: ⚪ Minimal · up to The configuration update matches the stated objective and supplied streaming validation, with no actionable merge-blocking risk remaining. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. A rabbit checks the version line, Comment |
This merges to beta first. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Version: 26.9.18.1
What does this implement/fix?
The 64KB data cache came in from the Home Assistant Voice PE config, where it feeds microWakeWord. The CAST-1 has no microphone. On the S3 the cache is carved out of internal SRAM, so dropping to the IDF default of 32KB returns 32KB to the internal heap, the pool that runs short when streaming over Ethernet.
Tested on a CAST-1: 2 h 47 min of continuous streaming with no resets, and audio sounded clean throughout. Stream-start chunk drops were fewer than on 64KB (61 vs 84), with no drops or sync loss during steady playback.
Types of changes
Checklist / Checklijst:
If user-visible functionality or configuration variables are added/modified:
🤖 Generated with Claude Code
Summary by CodeRabbit