I had the same problem and I just got back my MacBook from the service center.
Is there anything we can do to make sure this doesn't happen again? I only use headphones so I almost never use the internal speakers.
I'm kinda disappointed since I only had the MacBook for a few weeks
I would be careful with this setup. One of the speaker got busted after I unplugged the headphones after waking from sleep. Started the metal screeching noise once I started playback from headphones to internal speakers.
If you can, avoid iina/vlc and scrubbing in playback. It could happened again from any sources, safari youtube etc.