Hi
Try doing System restore to the date when the unit was working fine.
Try to update the Sound driver from hp.com website.
Last step is to run a recovery on the unit before these please back up your data.
If still does not work speaker on the unit have gone bad needs to be replaced.
If your notebook is still under warranty, contact HP and arrange to have the speaker replaced.