How can I play a sound at startup screen?


I have created a sketch on Squareline Studio and I added the library DFRobot_MAX98357A to use the amplifier MAX98357A.
If I use the code to play a sound with an empty sketch it works, when I add the LVGL library I can’t reproduce the sounds.

What do you want to achieve?

I would like to reproduce a theme song on startup screen and click button sounds.

What MCU/Processor/Board and compiler are you using?


What LVGL version are you using?