source: multimedia/libdriv/alsa-lib.xml@ 16f0d158

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 9.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 16f0d158 was 16f0d158, checked in by Douglas R. Reno <renodr@…>, 4 years ago

Update to alsa-lib-1.2.1.1

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

  • Property mode set to 100644
File size: 8.3 KB
RevLine 
[57e86a93]1<?xml version="1.0" encoding="ISO-8859-1"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[48b7295]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
[73942e6]6
[a78200c]7 <!ENTITY alsa-lib-download-http " ">
[48b7295]8 <!ENTITY alsa-lib-download-ftp "&alsa-download-ftp;/lib/alsa-lib-&alsa-lib-version;.tar.bz2">
[16f0d158]9 <!ENTITY alsa-lib-md5sum "1d428f46d6160f5e4bbdd64a2ff34f45">
10 <!ENTITY alsa-lib-size "980 KB">
[11839b6f]11 <!ENTITY alsa-lib-buildsize "35 MB (with tests)">
[76c3cd71]12 <!ENTITY alsa-lib-time "0.3 SBU (with tests)">
[48b7295]13]>
[73942e6]14
[a027d7d3]15<sect1 id="alsa-lib" xreflabel="alsa-lib-&alsa-lib-version;">
[57e86a93]16 <?dbhtml filename="alsa-lib.html"?>
[48b7295]17
[57e86a93]18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
[48b7295]22
[a027d7d3]23 <title>alsa-lib-&alsa-lib-version;</title>
[48b7295]24
[57e86a93]25 <indexterm zone="alsa-lib">
[0d50cca]26 <primary sortas="a-alsa-lib">alsa-lib</primary>
[57e86a93]27 </indexterm>
[48b7295]28
[57e86a93]29 <sect2 role="package">
30 <title>Introduction to ALSA Library</title>
[48b7295]31
[0d50cca]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>
[48b7295]38
[d43c7a1]39 &lfs90_checked;
[831c11e4]40
[57e86a93]41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
[0d50cca]44 <para>
45 Download (HTTP): <ulink url="&alsa-lib-download-http;"/>
46 </para>
[57e86a93]47 </listitem>
48 <listitem>
[0d50cca]49 <para>
50 Download (FTP): <ulink url="&alsa-lib-download-ftp;"/>
51 </para>
[57e86a93]52 </listitem>
53 <listitem>
[0d50cca]54 <para>
55 Download MD5 sum: &alsa-lib-md5sum;
56 </para>
[57e86a93]57 </listitem>
58 <listitem>
[0d50cca]59 <para>
60 Download size: &alsa-lib-size;
61 </para>
[57e86a93]62 </listitem>
63 <listitem>
[0d50cca]64 <para>
65 Estimated disk space required: &alsa-lib-buildsize;
66 </para>
[57e86a93]67 </listitem>
68 <listitem>
[0d50cca]69 <para>
70 Estimated build time: &alsa-lib-time;
71 </para>
[57e86a93]72 </listitem>
73 </itemizedlist>
[efa108a6]74
[57e86a93]75 <bridgehead renderas="sect3">ALSA Library Dependencies</bridgehead>
[48b7295]76
[57e86a93]77 <bridgehead renderas="sect4">Optional</bridgehead>
[0d50cca]78 <para role="optional">
79 <xref linkend="doxygen"/> and
[f3429309]80 <xref linkend="python2"/>
[0d50cca]81 </para>
[48b7295]82
[0e2aa08]83 <para condition="html" role="usernotes">User Notes:
[0d50cca]84 <ulink url="&blfs-wiki;/alsa-lib"/>
85 </para>
[57e86a93]86 </sect2>
[48b7295]87
[57e86a93]88 <sect2 role="kernel" id="alsa-lib-kernel">
89 <title>Kernel Configuration</title>
[48b7295]90
[35e960fb]91 <para>
[f3429309]92 If needed, enable the following options in the kernel
93 configuration and recompile the kernel:
[35e960fb]94 </para>
95
96 <screen><literal>Device Drivers ---&gt;
[421128a1]97 &lt;*/m&gt; Sound card support ---&gt; [CONFIG_SOUND]
98 &lt;*/m&gt; Advanced Linux Sound Architecture ---&gt; [CONFIG_SND]
[f161544]99 Select settings and drivers appropriate for your hardware.</literal></screen>
[35e960fb]100
[0d50cca]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>
[ac789c0]109
[57e86a93]110 <indexterm zone="alsa-lib alsa-lib-kernel">
111 <primary sortas="d-ALSA">ALSA</primary>
112 </indexterm>
[ac789c0]113
[57e86a93]114 </sect2>
[ac789c0]115
[57e86a93]116 <sect2 role="installation">
117 <title>Installation of ALSA Library</title>
[48b7295]118
[16f0d158]119 <para>
120 First, fix a problem discovered after the release of alsa-lib-1.2.1:
121 </para>
122
123<screen><userinput remap="pre">sed -i '40a #include &lt;alsa/asoundlib.h&gt;' include/use-case.h</userinput></screen>
124
[0d50cca]125 <para>
126 Install <application>ALSA Library</application> by
127 running the following commands:
128 </para>
[57e86a93]129
[09bed9e5]130<screen><userinput>./configure &amp;&amp;
[57e86a93]131make</userinput></screen>
132
[17833b00]133 <para>
134 If you have <application>Doxygen</application> installed and you wish to
135 build the library API documentation, run the following
136 commands from the top-level directory of the source tree:
137 </para>
138
[2f3e3de9]139<screen remap="doc"><userinput>make doc</userinput></screen>
[11839b6f]140<!-- The test suite needs libasound.so now, otherwise both the config and
141 midi_event tests will fail.
[0d50cca]142 <para>
[09bed9e5]143 To test the results, issue: <command>make check</command>.
[0d50cca]144 </para>
[11839b6f]145-->
[0d50cca]146 <para>
147 Now, as the <systemitem class="username">root</systemitem> user:
148 </para>
[57e86a93]149
[0d50cca]150<screen role="root"><userinput>make install</userinput></screen>
[57e86a93]151
[0d50cca]152 <para>
153 To install the API documentation, run the following command as
154 the <systemitem class="username">root</systemitem> user:
155 </para>
[57e86a93]156
[2f3e3de9]157<screen role="root"
158 remap="doc"><userinput>install -v -d -m755 /usr/share/doc/alsa-lib-&alsa-lib-version;/html/search &amp;&amp;
[4c70ad3e]159install -v -m644 doc/doxygen/html/*.* \
160 /usr/share/doc/alsa-lib-&alsa-lib-version;/html &amp;&amp;
161install -v -m644 doc/doxygen/html/search/* \
162 /usr/share/doc/alsa-lib-&alsa-lib-version;/html/search</userinput></screen>
[57e86a93]163
[11839b6f]164 <para>
165 The test suite requires the alsa-lib package to be installed to
166 link against some libraries. Now that alsa-lib is installed, if you wish
167 to run the tests, issue: <command>make check</command>.
168 </para>
169
[57e86a93]170 </sect2>
171
172 <sect2 role="configuration">
173 <title>Configuring ALSA Library</title>
174
175 <sect3 id="alsa-lib-config">
176 <title>Config Files</title>
177
[0d50cca]178 <para>
179 <filename>~/.asoundrc</filename> and
180 <filename>/etc/asound.conf</filename>
181 </para>
[57e86a93]182
183 <indexterm zone="alsa-lib alsa-lib-config">
184 <primary sortas="e-AA.asoundrc">~/.asoundrc</primary>
185 </indexterm>
186
187 <indexterm zone="alsa-lib alsa-lib-config">
188 <primary sortas="e-etc-asound.conf">/etc/asound.conf</primary>
189 </indexterm>
190
191 </sect3>
192
193 <sect3>
194 <title>Configuration Information</title>
195
[0d50cca]196 <para>
197 The default <filename>alsa.conf</filename> is adequate for most
198 installations. For extra functionality and/or advanced control of your
199 sound device, you may need to create additional configuration files.
200 For information on the available configuration parameters, visit
[a754ee2b]201 <ulink url="http://www.alsa-project.org/main/index.php/Asoundrc"/>.
[0d50cca]202 </para>
[57e86a93]203
204 </sect3>
205
206 </sect2>
207
208 <sect2 role="content">
209 <title>Contents</title>
210
211 <segmentedlist>
[831c11e4]212 <segtitle>Installed Program</segtitle>
[0d50cca]213 <segtitle>Installed Library</segtitle>
[57e86a93]214 <segtitle>Installed Directories</segtitle>
215
216 <seglistitem>
[0d50cca]217 <seg>
218 aserver
219 </seg>
220 <seg>
[11839b6f]221 libasound.so and
222 libatopology.so
223 <!-- and four others under /usr/lib/alsa-lib/smixer -->
[0d50cca]224 </seg>
225 <seg>
226 /usr/include/alsa,
227 /usr/lib/alsa-lib,
228 /usr/share/alsa and
[0c7d410]229 /usr/share/doc/alsa-lib-&alsa-lib-version;
230 </seg>
[57e86a93]231 </seglistitem>
232 </segmentedlist>
233
234 <variablelist>
235 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
236 <?dbfo list-presentation="list"?>
237 <?dbhtml list-presentation="table"?>
238
[17ad62a4]239 <varlistentry id="aserver">
240 <term><command>aserver</command></term>
241 <listitem>
[0d50cca]242 <para>
243 is the ALSA server.
244 </para>
[17ad62a4]245 <indexterm zone="alsa-lib aserver">
246 <primary sortas="b-aserver">aserver</primary>
247 </indexterm>
248 </listitem>
249 </varlistentry>
250
[57e86a93]251 <varlistentry id="libasound">
[0d50cca]252 <term><filename class="libraryfile">libasound.so</filename></term>
[57e86a93]253 <listitem>
[0d50cca]254 <para>
255 contains the ALSA API functions.
256 </para>
[57e86a93]257 <indexterm zone="alsa-lib libasound">
[0d50cca]258 <primary sortas="c-libasound">libasound.so</primary>
[7ffd4d7]259 </indexterm>
260 </listitem>
261 </varlistentry>
262
[11839b6f]263 <varlistentry id="libatopology">
264 <term><filename class="libraryfile">libatopology.so</filename></term>
265 <listitem>
266 <para>
267 contains API functions for the ALSA topologies.
268 </para>
269 <indexterm zone="alsa-lib libatopology">
270 <primary sortas="c-libatopology">libatopology.so</primary>
271 </indexterm>
272 </listitem>
273 </varlistentry>
274
[57e86a93]275 </variablelist>
276
277 </sect2>
[48b7295]278
279</sect1>
Note: See TracBrowser for help on using the repository browser.