This example shows how to use the I2S on the ESP32 to build an audio loopback with an external ADC/DAC and how to generate the needed I2S-MCLK signal which is by default not supported by Espressif's I2S driver.
Watch my YouTube video where I have explained everything in detail: https://youtu.be/WsDwj6SENOE