source: multimedia/libdriv/alsa-lib.xml@ 31d2934

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 31d2934 was 31d2934, checked in by Bruce Dubbs <bdubbs@…>, 11 years ago

More lfs74 tags

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

  • Property mode set to 100644
File size: 6.7 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 "&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 "69129a7c37697f81ac092335e9fa452b">
10 <!ENTITY alsa-lib-size "886 KB">
11 <!ENTITY alsa-lib-buildsize "18 MB">
12 <!ENTITY alsa-lib-time "0.2 SBU">
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 &lfs74_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 In the Device Drivers &rArr; Sound card support &rArr; Advanced Linux
93 Sound Architecture section of the kernel configuration, select the settings
94 and drivers appropriate for your hardware. Ensure that the deprecated Device
95 Drivers &rArr; Sound card support &rArr; Open Sound System is
96 <emphasis>not</emphasis> selected. If necessary, recompile and install your
97 new kernel.
98 </para>
99
100 <indexterm zone="alsa-lib alsa-lib-kernel">
101 <primary sortas="d-ALSA">ALSA</primary>
102 </indexterm>
103
104 </sect2>
105
106 <sect2 role="installation">
107 <title>Installation of ALSA Library</title>
108
109 <para>
110 Install <application>ALSA Library</application> by
111 running the following commands:
112 </para>
113
114<screen><userinput>./configure &amp;&amp;
115make</userinput></screen>
116
117 <para>
118 To test the results, issue: <command>make check</command>.
119 </para>
120
121 <para>
122 Now, as the <systemitem class="username">root</systemitem> user:
123 </para>
124
125<screen role="root"><userinput>make install</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 install the API documentation, run the following command as
137 the <systemitem class="username">root</systemitem> user:
138 </para>
139
140<screen role="root"><userinput>install -v -d -m755 /usr/share/doc/alsa-lib-&alsa-lib-version;/html &amp;&amp;
141install -v -m644 doc/doxygen/html/* /usr/share/doc/alsa-&alsa-lib-version;/html</userinput></screen>
142
143 </sect2>
144
145 <sect2 role="configuration">
146 <title>Configuring ALSA Library</title>
147
148 <sect3 id="alsa-lib-config">
149 <title>Config Files</title>
150
151 <para>
152 <filename>~/.asoundrc</filename> and
153 <filename>/etc/asound.conf</filename>
154 </para>
155
156 <indexterm zone="alsa-lib alsa-lib-config">
157 <primary sortas="e-AA.asoundrc">~/.asoundrc</primary>
158 </indexterm>
159
160 <indexterm zone="alsa-lib alsa-lib-config">
161 <primary sortas="e-etc-asound.conf">/etc/asound.conf</primary>
162 </indexterm>
163
164 </sect3>
165
166 <sect3>
167 <title>Configuration Information</title>
168
169 <para>
170 The default <filename>alsa.conf</filename> is adequate for most
171 installations. For extra functionality and/or advanced control of your
172 sound device, you may need to create additional configuration files.
173 For information on the available configuration parameters, visit
174 <ulink url="http://www.alsa-project.org/alsa-doc/doc-php/asoundrc.php"/>.
175 </para>
176
177 </sect3>
178
179 </sect2>
180
181 <sect2 role="content">
182 <title>Contents</title>
183
184 <segmentedlist>
185 <segtitle>Installed Program</segtitle>
186 <segtitle>Installed Library</segtitle>
187 <segtitle>Installed Directories</segtitle>
188
189 <seglistitem>
190 <seg>
191 aserver
192 </seg>
193 <seg>
194 libasound.so
195 </seg>
196 <seg>
197 /usr/include/alsa,
198 /usr/lib/alsa-lib,
199 /usr/share/alsa and
200 /usr/share/doc/alsa-lib-&alsa-lib-version;
201 </seg>
202 </seglistitem>
203 </segmentedlist>
204
205 <variablelist>
206 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
207 <?dbfo list-presentation="list"?>
208 <?dbhtml list-presentation="table"?>
209
210 <varlistentry id="aserver">
211 <term><command>aserver</command></term>
212 <listitem>
213 <para>
214 is the ALSA server.
215 </para>
216 <indexterm zone="alsa-lib aserver">
217 <primary sortas="b-aserver">aserver</primary>
218 </indexterm>
219 </listitem>
220 </varlistentry>
221
222 <varlistentry id="libasound">
223 <term><filename class="libraryfile">libasound.so</filename></term>
224 <listitem>
225 <para>
226 contains the ALSA API functions.
227 </para>
228 <indexterm zone="alsa-lib libasound">
229 <primary sortas="c-libasound">libasound.so</primary>
230 </indexterm>
231 </listitem>
232 </varlistentry>
233
234 </variablelist>
235
236 </sect2>
237
238</sect1>
Note: See TracBrowser for help on using the repository browser.