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

11.3 12.0 12.1 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 xry111/llvm18 xry111/xf86-video-removal
Last change on this file since d78e102e was 3f2db3a6, checked in by Pierre Labastie <pierre.labastie@…>, 18 months ago

Remove sect1info tags

They only contain a date tag that is nowhere used.

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