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

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gimp3 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules 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 f20fbb7 was eace268c, checked in by Bruce Dubbs <bdubbs@…>, 7 years ago

Update to lmdb-0.9.21.
Update to alsa-lib-1.1.4.1.
Update to libgcrypt-1.7.7.
Update to npth-1.5.

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

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