In Options>Preferences>Game Sounds check that the devices match your configuration.
Most onboard audio seems now to be made by Realtek and in the Game Sounds it shows two devices marked as (Realtek High Definition Audio). It is surprisingly easy to miss the word Digital in the other option of the two! Another option is that if you use a USB headset is that the settings have somehow changed to the motherboard audio.