mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
765bf674d0
It has been observed that, in case of underflow (data unavailability) in I2S transmission, previously filled up tx descriptors continue to get transmitted on line, causing noise in case of audio use case. This change adds optional `tx_desc_auto_clear` field during I2S driver intialization than can zero initialize tx descriptor in case of underflow situation in interrupt handler itself. Closes: https://github.com/espressif/esp-idf/issues/1789