Files
Adolfo Reyna 2720556d6a fix(audio): ES8311 BOTH complementary open + audio-stream close ref-count + mic unmute
- es8311 driver open() now allows OUTPUT->INPUT complementary (promotes to BOTH) when same native rate 44100
- audio-stream close_stream() ref-counts shared BOTH codec (don't close if other direction still open)
- MCP recordVoice + VoiceRecorder app explicitly unmute and set 100% gain

Fixes mic input not working - was returning ERROR_RESOURCE when output already open
2026-07-21 11:15:15 -04:00
..
2026-07-14 08:34:29 +02:00
2026-07-14 08:34:29 +02:00
2026-07-14 08:34:29 +02:00
2026-07-14 08:34:29 +02:00
2026-07-14 08:34:29 +02:00

ES8311 audio codec

A driver for the ES8311 audio codec by Everest Semiconductor, wired as a dual in/out AUDIO_CODEC_TYPE device (speaker output + microphone input on the same chip). The I2C bus is the device's parent; the I2S controller carrying audio data is referenced via a devicetree phandle.

Wraps Espressif's esp_codec_dev ES8311 implementation.

See https://www.everest-semi.com/pdf/ES8311%20PB.pdf

License: Apache v2.0