added tricks about the sound
[www.git] / www / tricks / raspberry_pi3_sound.html
diff --git a/www/tricks/raspberry_pi3_sound.html b/www/tricks/raspberry_pi3_sound.html
new file mode 100644 (file)
index 0000000..af7fc31
--- /dev/null
@@ -0,0 +1,75 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="UTF-8">
+<!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge"><![endif]-->
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta name="generator" content="Asciidoctor 1.5.4">
+<title>Raspberry PI - Configure the sound</title>
+<link rel="stylesheet" href="./../style.css">
+<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/css/font-awesome.min.css">
+<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
+<script src="../nav.js"></script>
+</head>
+<body class="article">
+<div id="header">
+<h1>Raspberry PI - Configure the sound</h1>
+</div>
+<div id="content">
+<div class="sect1">
+<h2 id="_output_to_the_headphones">Output to the headphones</h2>
+<div class="sectionbody">
+<div class="paragraph">
+<p>By default it appears that the default output of the sound
+is automatic, it means that if HDMI supports audio it will
+use it.</p>
+</div>
+<div class="paragraph">
+<p>To change the audio output:</p>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre>sudo amixer -c 0 cset numid=3 &lt;output&gt;</pre>
+</div>
+</div>
+<div class="paragraph">
+<p>where &lt;output&gt; can be:</p>
+</div>
+<div class="ulist">
+<ul>
+<li>
+<p>0: auto</p>
+</li>
+<li>
+<p>1: headphones</p>
+</li>
+<li>
+<p>2: hdmi</p>
+</li>
+</ul>
+</div>
+</div>
+</div>
+</div>
+<div id="footer">
+<div id="footer-text">
+Last updated 2017-02-16 20:23:53 CET
+</div>
+</div>
+<footer>
+        <ul>
+                <li><i class="fa fa-rss" aria-hidden="true"></i>
+                        Feed: <a href="https://wpitchoune.net/news/feed.xml">RSS 2.0</a>
+                </li>
+
+                <li><i class="fa fa-envelope" aria-hidden="true"></i>
+                    Email: <a href="mailto:jeanfi@gmail.com">jeanfi@gmail.com</a>
+                </li>
+
+                <li><i class="fa fa-git-square" aria-hidden="true"></i>
+                    Source repository: <a href="https://git.wpitchoune.net/gitweb">gitweb</a>
+                </li>
+        </ul>
+</footer>
+</body>
+</html>
\ No newline at end of file