This happened on my late 2013 MBP. I left some stupid YT video playing for hours and I think the DSP engine finally tripped and fell at some point.
That sounds like something a warranty repair should cover.
It's so frustrating even pursuing that with Apple for these very common issues. They'll gaslight you with the friendliest of words and nicest of smiles until you just give up and bugger off for good.
On the contrary, in my experience the Genius bar has a test device that does a sound sweep and any failure at all they hand you a replacement on the spot.