Open loongkobe opened 3 months ago
Hi, I do not understand Chinese, but you might be interested in my implementation of MP3 decoding with minimp3 on ESP-IDF: https://github.com/vmsh0/gaga
Please note that, as indicated in the README.md, I have used a different fork of minimp3. If you wish to use the original (this one), then you will need to set an appropriate stack size for your decoding task.
Hi, I do not understand Chinese, but you might be interested in my implementation of MP3 decoding with minimp3 on ESP-IDF: https://github.com/vmsh0/gaga
Please note that, as indicated in the README.md, I have used a different fork of minimp3. If you wish to use the original (this one), then you will need to set an appropriate stack size for your decoding task.
thank you, i modify this and it works
while (total_bytes_written < (size_t)pcm_length) {
i2s_write(I2S_NUM, pcm_buf + total_bytes_written,
pcm_length - total_bytes_written, &bytes_written, portMAX_DELAY);
total_bytes_written += bytes_written;
}
这是我利用minimp3库进行mp3解码然后输送到i2s进行播放,开发板式esp32,开发工具是esp-idf,但是解码到得到的pcm数据始终为空,是我使用方法有问题吗?也找不到具体的使用文档