Audio is delayed through laptop's speakers, but it's fine without any delay when headphones plugged in

I’m using PulseAudio. This may not be applicable for my case. wireplumber is not even installed in my system.