Merge branch 'master' of ssh://wpitchoune.net/srv/git/www
[www.git] / src / tricks / raspberry_pi3_sound.adoc
diff --git a/src/tricks/raspberry_pi3_sound.adoc b/src/tricks/raspberry_pi3_sound.adoc
new file mode 100644 (file)
index 0000000..85ac504
--- /dev/null
@@ -0,0 +1,21 @@
+= Raspberry PI - Configure the sound
+:docinfo2:
+:icons: font
+
+== Output to the headphones
+
+By default it appears that the default output of the sound
+is automatic, it means that if HDMI supports audio it will
+use it.
+
+To change the audio output:
+
+----
+sudo amixer -c 0 cset numid=3 <output>
+----
+
+where <output> can be:
+
+* 0: auto
+* 1: headphones
+* 2: hdmi
\ No newline at end of file