Difference between revisions of "Raspberry Pi ALSA"
From WA2IAC Wiki
(ALSA Audio with the Raspberry Pi) |
(→Enabling Audio Output) |
||
Line 22: | Line 22: | ||
== Enabling Audio Output == | == Enabling Audio Output == | ||
− | By default, the RPi audio output is set to automatically select the digital HDMI interface if its being used, otherwise the analog audio output. You can force it to use a specific interface via the sound mixer controls. amixer allows command-line control of the mixer for the ALSA driver. | + | By default, the RPi audio output is set to automatically select the digital HDMI interface if its being used, otherwise the analog audio output. You can force it to use a specific interface via the sound mixer controls. [http://linux.die.net/man/1/amixer amixer] allows command-line control of the mixer for the ALSA driver. |
You can force the RPi to use a specific interface using the command amixer cset numid=3 N where the N parameter means the following: 0=auto, 1=analog, 2=hdmi. Therefore, to force the Raspberry Pi to use the analog output: | You can force the RPi to use a specific interface using the command amixer cset numid=3 N where the N parameter means the following: 0=auto, 1=analog, 2=hdmi. Therefore, to force the Raspberry Pi to use the analog output: |