source: multimedia/libdriv/alsa-lib.xml@ 73942e6

10.0 10.1 11.0 11.1 11.2 6.0 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 krejzi/svn lazarus nosym perl-modules plabs/python-mods qt5new systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/soup3 xry111/test-20220226
Last change on this file since 73942e6 was 73942e6, checked in by Randy McMurchy <randy@…>, 18 years ago

Added optional dependencies and additional instructions to Alsa Library; added PCM to the Glossary

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

  • Property mode set to 100644
File size: 5.0 KB
Line 
1<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
2 "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
3 <!ENTITY % general-entities SYSTEM "../../general.ent">
4 %general-entities;
5
6 <!ENTITY alsa-lib-download-http "&alsa-download-http;/lib/alsa-lib-&alsa-lib-version;.tar.bz2">
7 <!ENTITY alsa-lib-download-ftp "&alsa-download-ftp;/lib/alsa-lib-&alsa-lib-version;.tar.bz2">
8 <!ENTITY alsa-lib-size "661 KB">
9 <!ENTITY alsa-lib-buildsize "33.7 MB (45.5 MB if docs are built)">
10 <!ENTITY alsa-lib-time "0.59 SBU">
11]>
12
13<sect1 id="alsa-lib" xreflabel="ALSA Library-&alsa-lib-version;">
14<sect1info>
15<othername>$LastChangedBy$</othername>
16<date>$Date$</date>
17</sect1info>
18<?dbhtml filename="alsa-lib.html"?>
19<title>ALSA Library-&alsa-lib-version;</title>
20
21<sect2>
22<title>Introduction to <application><acronym>ALSA</acronym>
23Library</application></title>
24
25<para>The <application><acronym>ALSA</acronym> Library</application> package
26contains the <acronym>ALSA</acronym> library. This is used by programs
27(including <application><acronym>ALSA</acronym> Utilities</application>)
28requiring access to the <acronym>ALSA</acronym> sound interface.</para>
29
30<sect3><title>Package information</title>
31<itemizedlist spacing='compact'>
32<listitem><para>Download (HTTP): <ulink url="&alsa-lib-download-http;"/></para></listitem>
33<listitem><para>Download (FTP): <ulink url="&alsa-lib-download-ftp;"/></para></listitem>
34<listitem><para>Download size: &alsa-lib-size;</para></listitem>
35<listitem><para>Estimated disk space required: &alsa-lib-buildsize;</para></listitem>
36<listitem><para>Estimated build time: &alsa-lib-time;</para></listitem></itemizedlist>
37</sect3>
38
39<sect3><title><application><acronym>ALSA</acronym> Library</application>
40dependencies</title>
41<sect4><title>Optional</title>
42<para><ulink url="http://jackit.sourceforge.net/">JACK</ulink> and
43<xref linkend="doxygen"/></para>
44</sect4>
45</sect3>
46
47</sect2>
48
49<sect2>
50<title>Installation of <application><acronym>ALSA</acronym>
51Library</application>
52</title>
53
54<para>In the <quote>Sound</quote> section of the kernel configuration, edit
55<userinput>Advanced Linux Sound Architecture</userinput> options to match your
56audio hardware and disable deprecated <userinput>Open Sound System</userinput>.
57Recompile and install your new kernel.</para>
58
59<para>Install <application><acronym>ALSA</acronym> Library</application> by
60running the following commands:</para>
61
62<screen><userinput><command>./configure --enable-static &amp;&amp;
63make &amp;&amp;
64make install</command></userinput></screen>
65
66<para>If you have <application><acronym>JACK</acronym></application> installed
67and you wish to build the <application><acronym>JACK</acronym></application>
68<acronym>PCM</acronym> plugin library, run the following commands:</para>
69
70<screen><userinput><command>cd src/pcm/ext &amp;&amp;
71make jack &amp;&amp;
72make install-jack</command></userinput></screen>
73
74<para>If you have <application>Doxygen</application> installed and you wish to
75build the library <acronym>API</acronym> documentation, run the following
76commands from the top-level directory of the source tree:</para>
77
78<screen><userinput><command>make doc &amp;&amp;
79install -d -m755 /usr/share/alsa/doc/html &amp;&amp;
80install -m644 doc/doxygen/html/* /usr/share/alsa/doc/html</command></userinput></screen>
81
82</sect2>
83
84<sect2>
85<title>Command explanations</title>
86
87<para><parameter>--enable-static</parameter>: This switch is used to enable
88building the static library because some programs link against it.</para>
89
90</sect2>
91
92<sect2>
93<title>Configuring <application><acronym>ALSA</acronym>
94Library</application></title>
95
96<sect3><title>Config files</title>
97<para><filename>/usr/share/alsa/alsa.conf</filename>,
98<filename>/etc/asound.conf</filename>,
99<filename>~/.asoundrc</filename> and
100<filename>/usr/share/alsa/{cards,pcm}/*.conf</filename></para>
101</sect3>
102
103<sect3><title>Configuration information</title>
104
105<!--
106<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../../lib-config.xml"/>
107-->
108<para>The default <filename>alsa.conf</filename> is adequate for most
109installations. For extra functionality and/or advanced control of your sound
110device, you may need to create additional configuration files. For
111information on the available configuration parameters, including setup of the
112<application><acronym>JACK</acronym></application> <acronym>PCM</acronym>
113plugin, visit <ulink
114url="http://www.alsa-project.org/alsa-doc/doc-php/asoundrc.php"/>.</para>
115
116</sect3>
117
118</sect2>
119
120<sect2>
121<title>Contents</title>
122
123<para>The <application><acronym>ALSA</acronym> Library</application> package
124contains <command>aserver</command>,
125<command>alsalisp</command>,
126the <filename class="libraryfile">libasound</filename> library and optionally,
127the <application><acronym>JACK</acronym></application> <acronym>PCM</acronym>
128plugin library.</para>
129
130</sect2>
131
132<sect2><title>Description</title>
133
134<sect3><title>libasound (alsa library)</title>
135<para><filename class="libraryfile">libasound</filename> provides
136<acronym>ALSA</acronym> functions for application programs.</para></sect3>
137
138</sect2>
139
140</sect1>
Note: See TracBrowser for help on using the repository browser.