How can I play a sound at startup screen?

Description

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?

Esp32-Wroom-32

What LVGL version are you using?

V8.3.4