I've followed the instructions to "force sound over 3.5mm jack" but when I run omxplayer example.mp3 I get no audio. When I force omxplayer to play over the 3.5mm jack using omxplayer -o local example.mp3 it works. How do I change the system-wide default to 3.5mm so when I run omxplayer example.mp3 (or play audio through another app) it works?
Asked
Active
Viewed 2.5k times
6
Tyler
- 61
- 1
- 1
- 2
1 Answers
4
The Raspberry Pi documentation covers three ways to force audio. Try the first two methods:
Desktop volume control
Right-clicking the volume icon on the desktop taskbar brings up the audio output selector;Command line
This command will switch the audio output to HDMI:amixer cset numid=3 2Here the output is being set to 2, which is HDMI. Setting the output to 1 switches to analogue (headphone jack). The default setting is 0 which is automatic.
raspi-config
Go toAdvanced->Audio, HDMI and analogue should appear here
Greenonline
- 2,969
- 5
- 27
- 38
Andy Anderson
- 649
- 1
- 4
- 11