Arduino library to play MOD, WAV, FLAC, MIDI, RTTTL, MP3, and AAC files on I2S DACs or with a software emulated delta-sigma DAC on the ESP8266 and ESP32
Thank you for writing this awesome library. It's really useful for my project. So I develop a device using ESP32-S2. I stream mp4 file then play it using this library.
Currently, here is my implementation
file_http = new AudioFileSourceHTTPStream();
file_http->RegisterMetadataCB(MDCallback, (void *)"HTTP");
if (file_http->open(URL)) {
buff = new AudioFileSourceBuffer(file_http, preallocateBuffer, preallocateBufferSize);
buff->RegisterStatusCB(StatusCallback, (void *)"buffer");
aac = new AudioGeneratorAAC();
out = new AudioOutputI2S();
out->SetPinout(AMP_BCLK, AMP_WCLK, AMP_DOUT);
aac->begin(buff, out);
}
Unfortunately, I hear no output from my speaker. Is this library available for mp4? or was I doing wrong with the implementation?
Thank you for writing this awesome library. It's really useful for my project. So I develop a device using ESP32-S2. I stream mp4 file then play it using this library.
Currently, here is my implementation
Unfortunately, I hear no output from my speaker. Is this library available for mp4? or was I doing wrong with the implementation?
Thank you