[ESP32] Modified circuit with power supply noise countermeasures to avoid surface mounting errors.
The MAX98357 itself needs to be connected to pins 25, 26 and 22 of the ESP32 WROOM 32E. keep the I2S signals (BCLK, LRCLK and DIN) as close as possible to pins 25 and 26 of the ESP32, as keeping the wires short reduces the risk of signal degradation and cross-talk. Attempt to optimise decoupling capacitors in the circuitry around the power supply to reduce power supply noise.