I have a sound problem with my Pi running Raspbian. I am using a HD monitor connected to my pi via a HDMI cable (it doesn't have internal speakers).
When the sound setting is on Auto my sound via headphones doesn't work.
I have to manually set Force 3.5mm ('headphone') jack when I want to listen with headphones.
I accessed these settings by typing:
then changed to headphone mode under Advanced Options --> Audio
What I want is for sound to play through headphones, when audio set on auto, since I also connect my pi to my TV.