do you have nitdroid installed? Run that and test sound on speakers. If it works then is software related, if not then is probably hardware.
as root type: stop pulseaudio (in the terminal.) Wait about 15 seconds and then enter start pulseaudio let us know if it works...