6

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?

Tyler
  • 61
  • 1
  • 1
  • 2

1 Answers1

4

The Raspberry Pi documentation covers three ways to force audio. Try the first two methods:

  1. Desktop volume control
    Right-clicking the volume icon on the desktop taskbar brings up the audio output selector;

  2. Command line
    This command will switch the audio output to HDMI:

    amixer cset numid=3 2
    

    Here 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.

  3. raspi-config
    Go to Advanced -> Audio, HDMI and analogue should appear here

Greenonline
  • 2,969
  • 5
  • 27
  • 38
Andy Anderson
  • 649
  • 1
  • 4
  • 11