Open Device Manager, and make sure you've audio drivers installed and properly working.
You can visit your device manufacturer's website to download audio drivers for your system model.
Try updating audio drivers to latest version.
Or if you've already updated them, try to roll back previous version to see if that works.
Run Playing Audio troubleshooter from Settings app > System > Troubleshoot > Other troubleshooters. Let us know what it reports back.