1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY alsa-lib-download-http "&alsa-download-http;/lib/alsa-lib-&alsa-lib-version;.tar.bz2">
|
---|
8 | <!ENTITY alsa-lib-download-ftp "&alsa-download-ftp;/lib/alsa-lib-&alsa-lib-version;.tar.bz2">
|
---|
9 | <!ENTITY alsa-lib-md5sum "ef7ae78a0ef08cbeacb295f2518886ab">
|
---|
10 | <!ENTITY alsa-lib-size "696 KB">
|
---|
11 | <!ENTITY alsa-lib-buildsize "31.8 MB (additional 15.2 MB to build and install docs)">
|
---|
12 | <!ENTITY alsa-lib-time "0.7 SBU (less than 0.1 SBU to build and install docs)">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="alsa-lib" xreflabel="ALSA Library-&alsa-lib-version;">
|
---|
16 | <?dbhtml filename="alsa-lib.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | <keywordset>
|
---|
22 | <keyword role="package">alsa-lib-&alsa-lib-version;.tar</keyword>
|
---|
23 | <keyword role="ftpdir">alsa-lib</keyword>
|
---|
24 | </keywordset>
|
---|
25 | </sect1info>
|
---|
26 |
|
---|
27 | <title>ALSA Library-&alsa-lib-version;</title>
|
---|
28 |
|
---|
29 | <indexterm zone="alsa-lib">
|
---|
30 | <primary sortas="a-ALSA-Library">ALSA Library</primary>
|
---|
31 | </indexterm>
|
---|
32 |
|
---|
33 | <sect2 role="package">
|
---|
34 | <title>Introduction to ALSA Library</title>
|
---|
35 |
|
---|
36 | <para>The <application>ALSA Library</application> package contains
|
---|
37 | the ALSA library. This is used by programs (including <application>ALSA
|
---|
38 | Utilities</application>) requiring access to the ALSA sound interface.</para>
|
---|
39 |
|
---|
40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
41 | <itemizedlist spacing="compact">
|
---|
42 | <listitem>
|
---|
43 | <para>Download (HTTP): <ulink url="&alsa-lib-download-http;"/></para>
|
---|
44 | </listitem>
|
---|
45 | <listitem>
|
---|
46 | <para>Download (FTP): <ulink url="&alsa-lib-download-ftp;"/></para>
|
---|
47 | </listitem>
|
---|
48 | <listitem>
|
---|
49 | <para>Download MD5 sum: &alsa-lib-md5sum;</para>
|
---|
50 | </listitem>
|
---|
51 | <listitem>
|
---|
52 | <para>Download size: &alsa-lib-size;</para>
|
---|
53 | </listitem>
|
---|
54 | <listitem>
|
---|
55 | <para>Estimated disk space required: &alsa-lib-buildsize;</para>
|
---|
56 | </listitem>
|
---|
57 | <listitem>
|
---|
58 | <para>Estimated build time: &alsa-lib-time;</para>
|
---|
59 | </listitem>
|
---|
60 | </itemizedlist>
|
---|
61 |
|
---|
62 | <bridgehead renderas="sect3">ALSA Library Dependencies</bridgehead>
|
---|
63 |
|
---|
64 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
65 | <para role="optional"><xref linkend="doxygen"/> and
|
---|
66 | <ulink url="ftp://ftp.lst.de/pub/people/okir/resmgr/">resmgr</ulink></para>
|
---|
67 |
|
---|
68 | <para condition="html" role="usernotes">User Notes:
|
---|
69 | <ulink url="&blfs-wiki;/alsa-lib"/></para>
|
---|
70 |
|
---|
71 | </sect2>
|
---|
72 |
|
---|
73 | <sect2 role="kernel" id="alsa-lib-kernel">
|
---|
74 | <title>Kernel Configuration</title>
|
---|
75 |
|
---|
76 | <para>In the Device Drivers ⇒ Sound ⇒ Advanced Linux Sound
|
---|
77 | Architecture section of the kernel configuration, select the settings and
|
---|
78 | drivers appropriate for your hardware. Ensure that the deprecated Device
|
---|
79 | Drivers ⇒ Sound ⇒ Open Sound System is <emphasis>not</emphasis>
|
---|
80 | selected. If necessary, recompile and install your new kernel.</para>
|
---|
81 |
|
---|
82 | <indexterm zone="alsa-lib alsa-lib-kernel">
|
---|
83 | <primary sortas="d-ALSA">ALSA</primary>
|
---|
84 | </indexterm>
|
---|
85 |
|
---|
86 | </sect2>
|
---|
87 |
|
---|
88 | <sect2 role="installation">
|
---|
89 | <title>Installation of ALSA Library</title>
|
---|
90 |
|
---|
91 | <para>Install <application>ALSA Library</application> by
|
---|
92 | running the following commands:</para>
|
---|
93 |
|
---|
94 | <screen><userinput>./configure --enable-static &&
|
---|
95 | make</userinput></screen>
|
---|
96 |
|
---|
97 | <para>This package does not come with a test suite.</para>
|
---|
98 |
|
---|
99 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
100 |
|
---|
101 | <screen role="root"><userinput>make install &&
|
---|
102 | install -v -m644 -D doc/asoundrc.txt \
|
---|
103 | /usr/share/doc/alsa-lib-&alsa-lib-version;/asoundrc.txt</userinput></screen>
|
---|
104 |
|
---|
105 | <para>If you have <application>Doxygen</application> installed and you wish to
|
---|
106 | build the library API documentation, run the following
|
---|
107 | commands from the top-level directory of the source tree:</para>
|
---|
108 |
|
---|
109 | <screen><userinput>make doc</userinput></screen>
|
---|
110 |
|
---|
111 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
112 |
|
---|
113 | <screen role="root"><userinput>install -v -d -m755 /usr/share/alsa/doc/html &&
|
---|
114 | install -v -m644 doc/doxygen/html/* /usr/share/alsa/doc/html</userinput></screen>
|
---|
115 |
|
---|
116 | </sect2>
|
---|
117 |
|
---|
118 | <sect2 role="commands">
|
---|
119 | <title>Command Explanations</title>
|
---|
120 |
|
---|
121 | <para><parameter>--enable-static</parameter>: This switch is used to enable
|
---|
122 | building the static library as some programs link against it.</para>
|
---|
123 |
|
---|
124 | </sect2>
|
---|
125 |
|
---|
126 | <sect2 role="configuration">
|
---|
127 | <title>Configuring ALSA Library</title>
|
---|
128 |
|
---|
129 | <sect3 id="alsa-lib-config">
|
---|
130 | <title>Config Files</title>
|
---|
131 |
|
---|
132 | <para><filename>~/.asoundrc</filename>,
|
---|
133 | <filename>/etc/asound.conf</filename>,
|
---|
134 | <filename>/usr/share/alsa/alsa.conf</filename>, and
|
---|
135 | <filename>/usr/share/alsa/{cards,pcm}/*.conf</filename></para>
|
---|
136 |
|
---|
137 | <indexterm zone="alsa-lib alsa-lib-config">
|
---|
138 | <primary sortas="e-AA.asoundrc">~/.asoundrc</primary>
|
---|
139 | </indexterm>
|
---|
140 |
|
---|
141 | <indexterm zone="alsa-lib alsa-lib-config">
|
---|
142 | <primary sortas="e-etc-asound.conf">/etc/asound.conf</primary>
|
---|
143 | </indexterm>
|
---|
144 |
|
---|
145 | <indexterm zone="alsa-lib alsa-lib-config">
|
---|
146 | <primary sortas="e-usr-share-alsa-alsa.conf">/usr/share/alsa/alsa.conf</primary>
|
---|
147 | </indexterm>
|
---|
148 |
|
---|
149 | <indexterm zone="alsa-lib alsa-lib-config">
|
---|
150 | <primary sortas="e-usr-share-alsa-alsa1">.../alsa/{cards,pcm}/*.conf</primary>
|
---|
151 | </indexterm>
|
---|
152 |
|
---|
153 | </sect3>
|
---|
154 |
|
---|
155 | <sect3>
|
---|
156 | <title>Configuration Information</title>
|
---|
157 |
|
---|
158 | <para>The default <filename>alsa.conf</filename> is adequate for most
|
---|
159 | installations. For extra functionality and/or advanced control of your sound
|
---|
160 | device, you may need to create additional configuration files. For
|
---|
161 | information on the available configuration parameters, visit <ulink
|
---|
162 | url="http://www.alsa-project.org/alsa-doc/doc-php/asoundrc.php"/>.</para>
|
---|
163 |
|
---|
164 | </sect3>
|
---|
165 |
|
---|
166 | </sect2>
|
---|
167 |
|
---|
168 | <sect2 role="content">
|
---|
169 | <title>Contents</title>
|
---|
170 |
|
---|
171 | <segmentedlist>
|
---|
172 | <segtitle>Installed Programs</segtitle>
|
---|
173 | <segtitle>Installed Library</segtitle>
|
---|
174 | <segtitle>Installed Directories</segtitle>
|
---|
175 |
|
---|
176 | <seglistitem>
|
---|
177 | <seg>aserver</seg>
|
---|
178 | <seg>libasound.{so,a} and smixer-*.{so,a}</seg>
|
---|
179 | <seg>/usr/include/alsa, /usr/lib/alsa-lib, /usr/share/alsa and
|
---|
180 | /usr/share/doc/alsa-lib-&alsa-lib-version;</seg>
|
---|
181 | </seglistitem>
|
---|
182 | </segmentedlist>
|
---|
183 |
|
---|
184 | <variablelist>
|
---|
185 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
186 | <?dbfo list-presentation="list"?>
|
---|
187 | <?dbhtml list-presentation="table"?>
|
---|
188 |
|
---|
189 | <varlistentry id="libasound">
|
---|
190 | <term><filename class='libraryfile'>libasound.{so,a}</filename></term>
|
---|
191 | <listitem>
|
---|
192 | <para>provides ALSA functions for application programs.</para>
|
---|
193 | <indexterm zone="alsa-lib libasound">
|
---|
194 | <primary sortas="c-libasound">libasound.{so,a}</primary>
|
---|
195 | </indexterm>
|
---|
196 | </listitem>
|
---|
197 | </varlistentry>
|
---|
198 |
|
---|
199 | <varlistentry id="smixer">
|
---|
200 | <term><filename class='libraryfile'>smixer-*.{so,a}</filename></term>
|
---|
201 | <listitem>
|
---|
202 | <para>provides hardware dependent ALSA mixer functions.</para>
|
---|
203 | <indexterm zone="alsa-lib smixer">
|
---|
204 | <primary sortas="c-smixer">smixer-*.{so,a}</primary>
|
---|
205 | </indexterm>
|
---|
206 | </listitem>
|
---|
207 | </varlistentry>
|
---|
208 |
|
---|
209 | </variablelist>
|
---|
210 |
|
---|
211 | </sect2>
|
---|
212 |
|
---|
213 | </sect1>
|
---|