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

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 c93c620c was c93c620c, checked in by Bruce Dubbs <bdubbs@…>, 3 years ago

Tags

  • Property mode set to 100644
File size: 7.8 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 &lfs110a_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"/>,
79 <xref linkend="python2"/>, and
80 <ulink url="https://www.alsa-project.org/files/pub/lib/">alsa-ucm-conf</ulink>
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 remap="doc"><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"
151 remap="doc"><userinput>install -v -d -m755 /usr/share/doc/alsa-lib-&alsa-lib-version;/html/search &amp;&amp;
152install -v -m644 doc/doxygen/html/*.* \
153 /usr/share/doc/alsa-lib-&alsa-lib-version;/html &amp;&amp;
154install -v -m644 doc/doxygen/html/search/* \
155 /usr/share/doc/alsa-lib-&alsa-lib-version;/html/search</userinput></screen>
156
157 </sect2>
158
159 <sect2 role="configuration">
160 <title>Configuring ALSA Library</title>
161
162 <sect3 id="alsa-lib-config">
163 <title>Config Files</title>
164
165 <para>
166 <filename>~/.asoundrc</filename> and
167 <filename>/etc/asound.conf</filename>
168 </para>
169
170 <indexterm zone="alsa-lib alsa-lib-config">
171 <primary sortas="e-AA.asoundrc">~/.asoundrc</primary>
172 </indexterm>
173
174 <indexterm zone="alsa-lib alsa-lib-config">
175 <primary sortas="e-etc-asound.conf">/etc/asound.conf</primary>
176 </indexterm>
177
178 </sect3>
179
180 <sect3>
181 <title>Configuration Information</title>
182
183 <para>
184 The default <filename>alsa.conf</filename> is adequate for most
185 installations. For extra functionality and/or advanced control of your
186 sound device, you may need to create additional configuration files.
187 For information on the available configuration parameters, visit
188 <ulink url="https://www.alsa-project.org/main/index.php/Asoundrc"/>.
189 </para>
190
191 </sect3>
192
193 </sect2>
194
195 <sect2 role="content">
196 <title>Contents</title>
197
198 <segmentedlist>
199 <segtitle>Installed Program</segtitle>
200 <segtitle>Installed Library</segtitle>
201 <segtitle>Installed Directories</segtitle>
202
203 <seglistitem>
204 <seg>
205 aserver
206 </seg>
207 <seg>
208 libasound.so and
209 libatopology.so
210 </seg>
211 <seg>
212 /usr/include/alsa,
213 /usr/share/alsa and
214 /usr/share/doc/alsa-lib-&alsa-lib-version;
215 </seg>
216 </seglistitem>
217 </segmentedlist>
218
219 <variablelist>
220 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
221 <?dbfo list-presentation="list"?>
222 <?dbhtml list-presentation="table"?>
223
224 <varlistentry id="aserver">
225 <term><command>aserver</command></term>
226 <listitem>
227 <para>
228 is the ALSA server
229 </para>
230 <indexterm zone="alsa-lib aserver">
231 <primary sortas="b-aserver">aserver</primary>
232 </indexterm>
233 </listitem>
234 </varlistentry>
235
236 <varlistentry id="libasound">
237 <term><filename class="libraryfile">libasound.so</filename></term>
238 <listitem>
239 <para>
240 contains the ALSA API functions
241 </para>
242 <indexterm zone="alsa-lib libasound">
243 <primary sortas="c-libasound">libasound.so</primary>
244 </indexterm>
245 </listitem>
246 </varlistentry>
247
248 <varlistentry id="libatopology">
249 <term><filename class="libraryfile">libatopology.so</filename></term>
250 <listitem>
251 <para>
252 contains API functions for the ALSA topologies
253 </para>
254 <indexterm zone="alsa-lib libatopology">
255 <primary sortas="c-libatopology">libatopology.so</primary>
256 </indexterm>
257 </listitem>
258 </varlistentry>
259
260 </variablelist>
261
262 </sect2>
263
264</sect1>
Note: See TracBrowser for help on using the repository browser.