You can try the following steps in order to solve the Windows Media Player sound problem:
1. Reinstall the sound driver on your computer;
2. Close all programs that could use your sound device;
3. Install the current version of DirectX.
Also you can run a sound playback troubleshooter from Microsoft support page. Click the Fix it button, save the file and install it on your computer.