When sound output is switched to digital sound out, the volume control is disabled and will behave that way when you try to change volume. Check system prefs to see what your sound output device is set to. I'd bet it either says digital out, or says you don't have a sound output device.
I saw this a lot with the first white macbooks where the audio jack would start thinking you had a toslink cable plugged in all the time and disabled internal speakers and would do that (/) thing when you tried to adjust volume. Haven't seen one of those in quite awhile.
If it doesn't see the sound hardware, you can try smc and other hardware resets (remove battery for an hour) but if that does not fix it, the audio hardware is probably damaged. Get yourself some USB speakers, they're cheap.