A little more detail needed; are you experiencing a problem after using a headset of some kind?
If the socket that you are using - which one? - is designed to over-ride the speaker output, then this behaviour would be normal.
Surface Pro 5 News - release date, UK price, features, specs
Gear VR vs. Daydream: Which delivers the best VR experience?
iPad Pro 12.9 vs Surface Pro 5
Synology invites you to visit them at Insomnia on 26th – 29th August. Book your tickets now and visit Synology.