source: multimedia/libdriv/alsa-lib.xml@ f62b93bb

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.4 9.0 9.1 bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since f62b93bb was f62b93bb, checked in by Bruce Dubbs <bdubbs@…>, 5 years ago

Update to harfbuzz-2.1.1.
Update to alsa-{lib,plugins,tools,utils}-1.0.7.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@20687 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 7.3 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY alsa-lib-download-http " ">
8 <!ENTITY alsa-lib-download-ftp "&alsa-download-ftp;/lib/alsa-lib-&alsa-lib-version;.tar.bz2">
9 <!ENTITY alsa-lib-md5sum "51ca1283e27e7dc10207ccce33919cf2">
10 <!ENTITY alsa-lib-size "984 KB">
11 <!ENTITY alsa-lib-buildsize "31 MB (with tests)">
12 <!ENTITY alsa-lib-time "0.3 SBU (with tests)">
13]>
14
15<sect1 id="alsa-lib" xreflabel="alsa-lib-&alsa-lib-version;">
16 <?dbhtml filename="alsa-lib.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>alsa-lib-&alsa-lib-version;</title>
24
25 <indexterm zone="alsa-lib">
26 <primary sortas="a-alsa-lib">alsa-lib</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to ALSA Library</title>
31
32 <para>
33 The <application>ALSA Library</application> package contains
34 the ALSA library used by programs (including <application>ALSA
35 Utilities</application>) requiring access to the ALSA sound
36 interface.
37 </para>
38
39 &lfs83_checked;
40
41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
44 <para>
45 Download (HTTP): <ulink url="&alsa-lib-download-http;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download (FTP): <ulink url="&alsa-lib-download-ftp;"/>
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download MD5 sum: &alsa-lib-md5sum;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Download size: &alsa-lib-size;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated disk space required: &alsa-lib-buildsize;
66 </para>
67 </listitem>
68 <listitem>
69 <para>
70 Estimated build time: &alsa-lib-time;
71 </para>
72 </listitem>
73 </itemizedlist>
74
75 <bridgehead renderas="sect3">ALSA Library Dependencies</bridgehead>
76
77 <bridgehead renderas="sect4">Optional</bridgehead>
78 <para role="optional">
79 <xref linkend="doxygen"/> and
80 <xref linkend="python2"/>
81 </para>
82
83 <para condition="html" role="usernotes">User Notes:
84 <ulink url="&blfs-wiki;/alsa-lib"/>
85 </para>
86 </sect2>
87
88 <sect2 role="kernel" id="alsa-lib-kernel">
89 <title>Kernel Configuration</title>
90
91 <para>
92 If needed, enable the following options in the kernel
93 configuration and recompile the kernel:
94 </para>
95
96 <screen><literal>Device Drivers ---&gt;
97 &lt;*/m&gt; Sound card support ---&gt; [CONFIG_SOUND]
98 &lt;*/m&gt; Advanced Linux Sound Architecture ---&gt; [CONFIG_SND]
99 Select settings and drivers appropriate for your hardware.</literal></screen>
100
101 <para>
102 In the Device Drivers &rArr; Sound card support &rArr; Advanced Linux
103 Sound Architecture section of the kernel configuration, select the settings
104 and drivers appropriate for your hardware. Ensure that the deprecated Device
105 Drivers &rArr; Sound card support &rArr; Open Sound System is
106 <emphasis>not</emphasis> selected. If necessary, recompile and install your
107 new kernel.
108 </para>
109
110 <indexterm zone="alsa-lib alsa-lib-kernel">
111 <primary sortas="d-ALSA">ALSA</primary>
112 </indexterm>
113
114 </sect2>
115
116 <sect2 role="installation">
117 <title>Installation of ALSA Library</title>
118
119 <para>
120 Install <application>ALSA Library</application> by
121 running the following commands:
122 </para>
123
124<screen><userinput>./configure &amp;&amp;
125make</userinput></screen>
126
127 <para>
128 If you have <application>Doxygen</application> installed and you wish to
129 build the library API documentation, run the following
130 commands from the top-level directory of the source tree:
131 </para>
132
133<screen><userinput>make doc</userinput></screen>
134
135 <para>
136 To test the results, issue: <command>make check</command>.
137 </para>
138
139 <para>
140 Now, as the <systemitem class="username">root</systemitem> user:
141 </para>
142
143<screen role="root"><userinput>make install</userinput></screen>
144
145 <para>
146 To install the API documentation, run the following command as
147 the <systemitem class="username">root</systemitem> user:
148 </para>
149
150<screen role="root"><userinput>install -v -d -m755 /usr/share/doc/alsa-lib-&alsa-lib-version;/html/search &amp;&amp;
151install -v -m644 doc/doxygen/html/*.* \
152 /usr/share/doc/alsa-lib-&alsa-lib-version;/html &amp;&amp;
153install -v -m644 doc/doxygen/html/search/* \
154 /usr/share/doc/alsa-lib-&alsa-lib-version;/html/search</userinput></screen>
155
156 </sect2>
157
158 <sect2 role="configuration">
159 <title>Configuring ALSA Library</title>
160
161 <sect3 id="alsa-lib-config">
162 <title>Config Files</title>
163
164 <para>
165 <filename>~/.asoundrc</filename> and
166 <filename>/etc/asound.conf</filename>
167 </para>
168
169 <indexterm zone="alsa-lib alsa-lib-config">
170 <primary sortas="e-AA.asoundrc">~/.asoundrc</primary>
171 </indexterm>
172
173 <indexterm zone="alsa-lib alsa-lib-config">
174 <primary sortas="e-etc-asound.conf">/etc/asound.conf</primary>
175 </indexterm>
176
177 </sect3>
178
179 <sect3>
180 <title>Configuration Information</title>
181
182 <para>
183 The default <filename>alsa.conf</filename> is adequate for most
184 installations. For extra functionality and/or advanced control of your
185 sound device, you may need to create additional configuration files.
186 For information on the available configuration parameters, visit
187 <ulink url="http://www.alsa-project.org/main/index.php/Asoundrc"/>.
188 </para>
189
190 </sect3>
191
192 </sect2>
193
194 <sect2 role="content">
195 <title>Contents</title>
196
197 <segmentedlist>
198 <segtitle>Installed Program</segtitle>
199 <segtitle>Installed Library</segtitle>
200 <segtitle>Installed Directories</segtitle>
201
202 <seglistitem>
203 <seg>
204 aserver
205 </seg>
206 <seg>
207 libasound.so and four others under /usr/lib/alsa-lib/smixer
208 </seg>
209 <seg>
210 /usr/include/alsa,
211 /usr/lib/alsa-lib,
212 /usr/share/alsa and
213 /usr/share/doc/alsa-lib-&alsa-lib-version;
214 </seg>
215 </seglistitem>
216 </segmentedlist>
217
218 <variablelist>
219 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
220 <?dbfo list-presentation="list"?>
221 <?dbhtml list-presentation="table"?>
222
223 <varlistentry id="aserver">
224 <term><command>aserver</command></term>
225 <listitem>
226 <para>
227 is the ALSA server.
228 </para>
229 <indexterm zone="alsa-lib aserver">
230 <primary sortas="b-aserver">aserver</primary>
231 </indexterm>
232 </listitem>
233 </varlistentry>
234
235 <varlistentry id="libasound">
236 <term><filename class="libraryfile">libasound.so</filename></term>
237 <listitem>
238 <para>
239 contains the ALSA API functions.
240 </para>
241 <indexterm zone="alsa-lib libasound">
242 <primary sortas="c-libasound">libasound.so</primary>
243 </indexterm>
244 </listitem>
245 </varlistentry>
246
247 </variablelist>
248
249 </sect2>
250
251</sect1>
Note: See TracBrowser for help on using the repository browser.