I've just installed Raspberry Pi and everything works great, except I can't get the default system sound to use HDMI. If I run something like omxplayer -o hdmi <filename> then the sound works, but I can't seem to get every application to just use HDMI audio by default. I have the line hdmi_drive=2 in my /boot/config.txt file. Is there anything else I need to do?
Tell me more
×
Raspberry Pi Stack Exchange is a question and answer site for
users and developers of hardware and software for Raspberry Pi. It's 100% free, no registration required.
|
|
|||
|
|
|
Adding A small summary. By default output will be automatic (hdmi if hdmi supports audio, otherwise analogue). You can force it with:
where n is 0=auto, 1=headphones, 2=hdmi. If you are running Debian, try
to test analogue output. And to test HDMI.
Also note that you may have to add your user to the 'audio' group to get permission to access the sound card. |
|||
|
|