added psensor 1.2.1 news
[www.git] / www / tricks / raspberry_pi3_sound.html
1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
4 <meta charset="UTF-8">
5 <meta http-equiv="X-UA-Compatible" content="IE=edge">
6 <meta name="viewport" content="width=device-width, initial-scale=1.0">
7 <meta name="generator" content="Asciidoctor 2.0.10">
8 <title>Raspberry PI - Configure the sound</title>
9 <link rel="stylesheet" href="./../style.css">
10 <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
11 <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
12 <script src="../nav.js"></script>
13 </head>
14 <body class="article">
15 <div id="header">
16 <h1>Raspberry PI - Configure the sound</h1>
17 </div>
18 <div id="content">
19 <div class="sect1">
20 <h2 id="_output_to_the_headphones">Output to the headphones</h2>
21 <div class="sectionbody">
22 <div class="paragraph">
23 <p>By default it appears that the default output of the sound
24 is automatic, it means that if HDMI supports audio it will
25 use it.</p>
26 </div>
27 <div class="paragraph">
28 <p>To change the audio output:</p>
29 </div>
30 <div class="listingblock">
31 <div class="content">
32 <pre>sudo amixer -c 0 cset numid=3 &lt;output&gt;</pre>
33 </div>
34 </div>
35 <div class="paragraph">
36 <p>where &lt;output&gt; can be:</p>
37 </div>
38 <div class="ulist">
39 <ul>
40 <li>
41 <p>0: auto</p>
42 </li>
43 <li>
44 <p>1: headphones</p>
45 </li>
46 <li>
47 <p>2: hdmi</p>
48 </li>
49 </ul>
50 </div>
51 </div>
52 </div>
53 </div>
54 <div id="footer">
55 <div id="footer-text">
56 Last updated 2020-06-29 22:20:15 +0200
57 </div>
58 </div>
59 <footer>
60         <ul>
61                 <li><i class="fa fa-rss" aria-hidden="true"></i>
62                         Feed: <a href="https://wpitchoune.net/news/feed.xml">RSS 2.0</a>
63                 </li>
64
65                 <li><i class="fa fa-envelope" aria-hidden="true"></i>
66                     Email: <a href="mailto:jeanfi@gmail.com">jeanfi@gmail.com</a>
67                 </li>
68
69                 <li><i class="fa fa-git-square" aria-hidden="true"></i>
70                     Source repository: <a href="https://git.wpitchoune.net/gitweb">gitweb</a>
71                 </li>
72         </ul>
73 </footer>
74 </body>
75 </html>