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>
|
---|
23 | Library</application></title>
|
---|
24 |
|
---|
25 | <para>The <application><acronym>ALSA</acronym> Library</application> package
|
---|
26 | contains the <acronym>ALSA</acronym> library. This is used by programs
|
---|
27 | (including <application><acronym>ALSA</acronym> Utilities</application>)
|
---|
28 | requiring 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>
|
---|
40 | dependencies</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>
|
---|
51 | Library</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
|
---|
56 | audio hardware and disable deprecated <userinput>Open Sound System</userinput>.
|
---|
57 | Recompile and install your new kernel.</para>
|
---|
58 |
|
---|
59 | <para>Install <application><acronym>ALSA</acronym> Library</application> by
|
---|
60 | running the following commands:</para>
|
---|
61 |
|
---|
62 | <screen><userinput><command>./configure --enable-static &&
|
---|
63 | make &&
|
---|
64 | make install</command></userinput></screen>
|
---|
65 |
|
---|
66 | <para>If you have <application><acronym>JACK</acronym></application> installed
|
---|
67 | and 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 &&
|
---|
71 | make jack &&
|
---|
72 | make install-jack</command></userinput></screen>
|
---|
73 |
|
---|
74 | <para>If you have <application>Doxygen</application> installed and you wish to
|
---|
75 | build the library <acronym>API</acronym> documentation, run the following
|
---|
76 | commands from the top-level directory of the source tree:</para>
|
---|
77 |
|
---|
78 | <screen><userinput><command>make doc &&
|
---|
79 | install -d -m755 /usr/share/alsa/doc/html &&
|
---|
80 | install -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
|
---|
88 | building the static library because some programs link against it.</para>
|
---|
89 |
|
---|
90 | </sect2>
|
---|
91 |
|
---|
92 | <sect2>
|
---|
93 | <title>Configuring <application><acronym>ALSA</acronym>
|
---|
94 | Library</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
|
---|
109 | installations. For extra functionality and/or advanced control of your sound
|
---|
110 | device, you may need to create additional configuration files. For
|
---|
111 | information on the available configuration parameters, including setup of the
|
---|
112 | <application><acronym>JACK</acronym></application> <acronym>PCM</acronym>
|
---|
113 | plugin, visit <ulink
|
---|
114 | url="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
|
---|
124 | contains <command>aserver</command>,
|
---|
125 | <command>alsalisp</command>,
|
---|
126 | the <filename class="libraryfile">libasound</filename> library and optionally,
|
---|
127 | the <application><acronym>JACK</acronym></application> <acronym>PCM</acronym>
|
---|
128 | plugin 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>
|
---|