Getting sound on the Raspberry pi

To get sound out the headphone jack type:

To get sound out the HDMI

Trouble with omxplayer?

set the -o output for 3.5 audio jack

set the -o output for hdmi

omxplayer -o hdmi

from: http://www.raspians.com/Knowledgebase/no-analog-sound-out-the-headphone-jack/