In order to fix the issue, go to Start, type dxdiag and open the utility. Click the Sound tab, check your sound card model and download the latest drivers available from the developer's page. After that, right-click the Computer icon, select Manage and open Device Manager. Expand the Sound, video and game controllers list, right-click the audio item and select Update Driver Software. Use the Browse option to navigate to the installation package, select the driver and install it following the on-screen instructions.
After that, right-click the sound icon from System Tray and select Playback devices. Click on your sound device from the list, press the Set Default button and then Properties. Select Use this device (enable) as Device usage, click Apply and then OK. If you can't see your sound device in the list, right-click anywhere in the provided window and check the Show Disabled Devices option. If it still doesn't work, try using other speakers. If the problem persists, you might need to change your sound card.