I would first check if it isn't the speakers that are broken before even doing anything with the PC
get some random headphones, put them in the same exit and try it out
also try out any other green entry holes you might have in the back of your PC, I remember that one day I turned my old pc on and apparently one died while the other suddenly worked
What Izume says is also important =) and if that even fails I'd suggest a soundcard reinstall which is easy but annoying to do if you have to do it a lot D: