source: multimedia/libdriv/alsa-lib.xml@ 3e60c83f

11.0 11.1 11.2 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 upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 3e60c83f was 3e60c83f, checked in by Douglas R. Reno <renodr@…>, 3 years ago

Update to alsa-lib and alsa-utils 1.2.5.1

  • Property mode set to 100644
File size: 7.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 "c8335793e7828803311edc48fb71662e">
10 <!ENTITY alsa-lib-size "1.0 MB">
11 <!ENTITY alsa-lib-buildsize "35 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 <date>$Date$</date>
20 </sect1info>
21
22 <title>alsa-lib-&alsa-lib-version;</title>
23
24 <indexterm zone="alsa-lib">
25 <primary sortas="a-alsa-lib">alsa-lib</primary>
26 </indexterm>
27
28 <sect2 role="package">
29 <title>Introduction to ALSA Library</title>
30
31 <para>
32 The <application>ALSA Library</application> package contains
33 the ALSA library used by programs (including <application>ALSA
34 Utilities</application>) requiring access to the ALSA sound
35 interface.
36 </para>
37
38 &lfs101_checked;
39
40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
43 <para>
44 Download (HTTP): <ulink url="&alsa-lib-download-http;"/>
45 </para>
46 </listitem>
47 <listitem>
48 <para>
49 Download (FTP): <ulink url="&alsa-lib-download-ftp;"/>
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download MD5 sum: &alsa-lib-md5sum;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Download size: &alsa-lib-size;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated disk space required: &alsa-lib-buildsize;
65 </para>
66 </listitem>
67 <listitem>
68 <para>
69 Estimated build time: &alsa-lib-time;
70 </para>
71 </listitem>
72 </itemizedlist>
73
74 <bridgehead renderas="sect3">ALSA Library Dependencies</bridgehead>
75
76 <bridgehead renderas="sect4">Optional</bridgehead>
77 <para role="optional">
78 <xref linkend="doxygen"/> and
79 <xref linkend="python2"/>
80 </para>
81
82 <para condition="html" role="usernotes">User Notes:
83 <ulink url="&blfs-wiki;/alsa-lib"/>
84 </para>
85 </sect2>
86
87 <sect2 role="kernel" id="alsa-lib-kernel">
88 <title>Kernel Configuration</title>
89
90 <para>
91 If needed, enable the following options in the kernel
92 configuration and recompile the kernel:
93 </para>
94
95 <screen><literal>Device Drivers ---&gt;
96 &lt;*/M&gt; Sound card support ---&gt; [CONFIG_SOUND]
97 &lt;*/M&gt; Advanced Linux Sound Architecture ---&gt; [CONFIG_SND]
98 Select settings and drivers appropriate for your hardware.</literal></screen>
99
100 <para>
101 In the Device Drivers &rArr; Sound card support &rArr; Advanced Linux
102 Sound Architecture section of the kernel configuration, select the settings
103 and drivers appropriate for your hardware. Ensure that the deprecated Device
104 Drivers &rArr; Sound card support &rArr; Open Sound System is
105 <emphasis>not</emphasis> selected. If necessary, recompile and install your
106 new kernel.
107 </para>
108
109 <indexterm zone="alsa-lib alsa-lib-kernel">
110 <primary sortas="d-ALSA">ALSA</primary>
111 </indexterm>
112
113 </sect2>
114
115 <sect2 role="installation">
116 <title>Installation of ALSA Library</title>
117
118 <para>
119 Install <application>ALSA Library</application> by
120 running the following commands:
121 </para>
122
123<screen><userinput>./configure &amp;&amp;
124make</userinput></screen>
125
126 <para>
127 If you have <application>Doxygen</application> installed and you wish to
128 build the library API documentation, run the following
129 commands from the top-level directory of the source tree:
130 </para>
131
132<screen remap="doc"><userinput>make doc</userinput></screen>
133
134 <para>
135 To test the results, issue: <command>make check</command>.
136 </para>
137
138 <para>
139 Now, as the <systemitem class="username">root</systemitem> user:
140 </para>
141
142<screen role="root"><userinput>make install</userinput></screen>
143
144 <para>
145 To install the API documentation, run the following command as
146 the <systemitem class="username">root</systemitem> user:
147 </para>
148
149<screen role="root"
150 remap="doc"><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="https://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
208 libatopology.so
209 </seg>
210 <seg>
211 /usr/include/alsa,
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 <varlistentry id="libatopology">
248 <term><filename class="libraryfile">libatopology.so</filename></term>
249 <listitem>
250 <para>
251 contains API functions for the ALSA topologies
252 </para>
253 <indexterm zone="alsa-lib libatopology">
254 <primary sortas="c-libatopology">libatopology.so</primary>
255 </indexterm>
256 </listitem>
257 </varlistentry>
258
259 </variablelist>
260
261 </sect2>
262
263</sect1>
Note: See TracBrowser for help on using the repository browser.