I2S example needed

I would like to find any working Arduino style example for a esp32-s3 that shows how to input audio using a inmp441 mic. and output it to a max98357a d-class amp. All of the code I have found out there is depreciated since the move to 3.0 framework. Any program that work with either or both parts will help. My ultimate goal is to setup some type of intercom system using I2S with 8khz single channel sampling. I have found AI and google to be a waste of time. Either the code I find is missing dependencies or is depreciated. Any help would be greatly appreciated

From within the IDE:

File -> Examples -> ESP_I2S

If you have the DFRobot_MAX98357A and ESP32Feature28 libraries installed then you should fine examples for those devices as well.

That might give you a starting point.

DroneBotWorkShop does a thorough examination and video walk-through.

Thanks for the reply! I now at least have code that compiles. It is getting late here so I will have to put testing off until tomorrow.

I try always to use the latest documentation provided by the manufacturer.

S3 board should work ok with a code similar to this one (for audio loopback check open ai, it works ok).