/**********************************************************************************************************
* FLUX Audio Player - I2S audio player for ESP32 and MAX98357A *
**********************************************************************************************************
*
* This example demonstrates how to use the MAX98357A/B Class D amplifier with an ESP32
* to play audio files from an SD card. The MAX98357A/B is a tiny, low-cost, PCM input
* Class D amplifier that provides Class AB audio performance with Class D efficiency.
*
* MAX98357A/B Key Features:
* - Single-Supply Operation: 2.5V to 5.5V
* - 3.2W Output Power into 4Ω at 5V
* - Low 0.013% THD+N at 1kHz
* - High Efficiency: 92% at 1W into 8Ω
* - No MCLK Required
* - Supports I2S and Left-Justified Data Formats (A model: I2S, B model: Left-justified)
* - Filterless Class D Outputs
* - Sample Rates: 8kHz to 96kHz
* - Comprehensive Click-and-Pop Suppression
*
* Hardware Connections:
* ESP32 | MAX98357A | SD Card Module
* ---------|-----------|---------------