MacBook goes to sleeps when audio comes on with external speaker connected
My MacBook M1 2020 running OS Sonoma goes to sleep (ie shuts down) when I have an external speaker connected and a website or whatsapp starts playing an audio or a video with audio. What's going on? How can I fix it?
MacBook Air 13″, macOS 14.7