[57e86a93] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[48b7295] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
[73942e6] | 6 |
|
---|
[48b7295] | 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">
|
---|
[bdf22d74] | 9 | <!ENTITY alsa-lib-md5sum "114af3304619920ffe2b147b760700b9">
|
---|
[ac789c0] | 10 | <!ENTITY alsa-lib-size "682 KB">
|
---|
[bdf22d74] | 11 | <!ENTITY alsa-lib-buildsize "27.3 MB (additional 14.4 MB to build and install docs)">
|
---|
| 12 | <!ENTITY alsa-lib-time "0.6 SBU">
|
---|
[48b7295] | 13 | ]>
|
---|
[73942e6] | 14 |
|
---|
[48b7295] | 15 | <sect1 id="alsa-lib" xreflabel="ALSA Library-&alsa-lib-version;">
|
---|
[57e86a93] | 16 | <?dbhtml filename="alsa-lib.html"?>
|
---|
[48b7295] | 17 |
|
---|
[57e86a93] | 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
[a747b3c] | 21 | <keywordset>
|
---|
| 22 | <keyword role="package">alsa-lib-&alsa-lib-version;.tar</keyword>
|
---|
[f15e274] | 23 | <keyword role="ftpdir">alsa-lib</keyword>
|
---|
[a747b3c] | 24 | </keywordset>
|
---|
[57e86a93] | 25 | </sect1info>
|
---|
[48b7295] | 26 |
|
---|
[57e86a93] | 27 | <title>ALSA Library-&alsa-lib-version;</title>
|
---|
[48b7295] | 28 |
|
---|
[57e86a93] | 29 | <indexterm zone="alsa-lib">
|
---|
| 30 | <primary sortas="a-ALSA-Library">ALSA Library</primary>
|
---|
| 31 | </indexterm>
|
---|
[48b7295] | 32 |
|
---|
[57e86a93] | 33 | <sect2 role="package">
|
---|
| 34 | <title>Introduction to ALSA Library</title>
|
---|
[48b7295] | 35 |
|
---|
[9df3b847] | 36 | <para>The <application>ALSA Library</application> package contains
|
---|
[57e86a93] | 37 | the ALSA library. This is used by programs (including <application>ALSA
|
---|
| 38 | Utilities</application>) requiring access to the ALSA sound interface.</para>
|
---|
[48b7295] | 39 |
|
---|
[57e86a93] | 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing="compact">
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>Download (HTTP): <ulink url="&alsa-lib-download-http;"/></para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>Download (FTP): <ulink url="&alsa-lib-download-ftp;"/></para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>Download MD5 sum: &alsa-lib-md5sum;</para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>Download size: &alsa-lib-size;</para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Estimated disk space required: &alsa-lib-buildsize;</para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>Estimated build time: &alsa-lib-time;</para>
|
---|
| 59 | </listitem>
|
---|
| 60 | </itemizedlist>
|
---|
[efa108a6] | 61 |
|
---|
[57e86a93] | 62 | <bridgehead renderas="sect3">ALSA Library Dependencies</bridgehead>
|
---|
[48b7295] | 63 |
|
---|
[57e86a93] | 64 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[a747b3c] | 65 | <para role="optional"><xref linkend="doxygen"/></para>
|
---|
[48b7295] | 66 |
|
---|
[57e86a93] | 67 | </sect2>
|
---|
[48b7295] | 68 |
|
---|
[57e86a93] | 69 | <sect2 role="kernel" id="alsa-lib-kernel">
|
---|
| 70 | <title>Kernel Configuration</title>
|
---|
[48b7295] | 71 |
|
---|
[9df3b847] | 72 | <para>In the <quote>Sound</quote> section of the kernel configuration, edit
|
---|
[d7ecaa6] | 73 | <emphasis role="bold">Advanced Linux Sound Architecture</emphasis>
|
---|
[9df3b847] | 74 | options to match your audio hardware and disable deprecated
|
---|
| 75 | <emphasis role="bold">Open Sound System</emphasis>.
|
---|
[57e86a93] | 76 | Recompile and install your new kernel.</para>
|
---|
[ac789c0] | 77 |
|
---|
[57e86a93] | 78 | <indexterm zone="alsa-lib alsa-lib-kernel">
|
---|
| 79 | <primary sortas="d-ALSA">ALSA</primary>
|
---|
| 80 | </indexterm>
|
---|
[ac789c0] | 81 |
|
---|
[57e86a93] | 82 | </sect2>
|
---|
[ac789c0] | 83 |
|
---|
[57e86a93] | 84 | <sect2 role="installation">
|
---|
| 85 | <title>Installation of ALSA Library</title>
|
---|
[48b7295] | 86 |
|
---|
[bdf22d74] | 87 | <para>Install <application>ALSA Library</application> by
|
---|
[57e86a93] | 88 | running the following commands:</para>
|
---|
| 89 |
|
---|
| 90 | <screen><userinput>./configure --enable-static &&
|
---|
| 91 | make</userinput></screen>
|
---|
| 92 |
|
---|
[4ca94e5c] | 93 | <para>This package does not come with a test suite.</para>
|
---|
[57e86a93] | 94 |
|
---|
| 95 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 96 |
|
---|
[87c4613d] | 97 | <screen role="root"><userinput>make install &&
|
---|
| 98 | install -v -m644 -D doc/asoundrc.txt \
|
---|
| 99 | /usr/share/doc/alsa-lib-&alsa-lib-version;/asoundrc.txt</userinput></screen>
|
---|
[57e86a93] | 100 |
|
---|
[bdf22d74] | 101 | <para>If you have <application>Doxygen</application> installed and you wish to
|
---|
[57e86a93] | 102 | build the library API documentation, run the following
|
---|
| 103 | commands from the top-level directory of the source tree:</para>
|
---|
| 104 |
|
---|
| 105 | <screen><userinput>make doc</userinput></screen>
|
---|
| 106 |
|
---|
| 107 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 108 |
|
---|
| 109 | <screen role="root"><userinput>install -v -d -m755 /usr/share/alsa/doc/html &&
|
---|
| 110 | install -v -m644 doc/doxygen/html/* /usr/share/alsa/doc/html</userinput></screen>
|
---|
| 111 |
|
---|
| 112 | </sect2>
|
---|
| 113 |
|
---|
| 114 | <sect2 role="commands">
|
---|
| 115 | <title>Command Explanations</title>
|
---|
| 116 |
|
---|
| 117 | <para><parameter>--enable-static</parameter>: This switch is used to enable
|
---|
[4ca94e5c] | 118 | building the static library as some programs link against it.</para>
|
---|
[57e86a93] | 119 |
|
---|
| 120 | </sect2>
|
---|
| 121 |
|
---|
| 122 | <sect2 role="configuration">
|
---|
| 123 | <title>Configuring ALSA Library</title>
|
---|
| 124 |
|
---|
| 125 | <sect3 id="alsa-lib-config">
|
---|
| 126 | <title>Config Files</title>
|
---|
| 127 |
|
---|
[9df3b847] | 128 | <para><filename>~/.asoundrc</filename>,
|
---|
| 129 | <filename>/etc/asound.conf</filename>,
|
---|
| 130 | <filename>/usr/share/alsa/alsa.conf</filename>, and
|
---|
[57e86a93] | 131 | <filename>/usr/share/alsa/{cards,pcm}/*.conf</filename></para>
|
---|
| 132 |
|
---|
| 133 | <indexterm zone="alsa-lib alsa-lib-config">
|
---|
| 134 | <primary sortas="e-AA.asoundrc">~/.asoundrc</primary>
|
---|
| 135 | </indexterm>
|
---|
| 136 |
|
---|
| 137 | <indexterm zone="alsa-lib alsa-lib-config">
|
---|
| 138 | <primary sortas="e-etc-asound.conf">/etc/asound.conf</primary>
|
---|
| 139 | </indexterm>
|
---|
| 140 |
|
---|
| 141 | <indexterm zone="alsa-lib alsa-lib-config">
|
---|
| 142 | <primary sortas="e-usr-share-alsa-alsa.conf">/usr/share/alsa/alsa.conf</primary>
|
---|
| 143 | </indexterm>
|
---|
| 144 |
|
---|
| 145 | <indexterm zone="alsa-lib alsa-lib-config">
|
---|
| 146 | <primary sortas="e-usr-share-alsa-alsa1">.../alsa/{cards,pcm}/*.conf</primary>
|
---|
| 147 | </indexterm>
|
---|
| 148 |
|
---|
| 149 | </sect3>
|
---|
| 150 |
|
---|
| 151 | <sect3>
|
---|
| 152 | <title>Configuration Information</title>
|
---|
| 153 |
|
---|
| 154 | <para>The default <filename>alsa.conf</filename> is adequate for most
|
---|
[9df3b847] | 155 | installations. For extra functionality and/or advanced control of your sound
|
---|
| 156 | device, you may need to create additional configuration files. For
|
---|
[bdf22d74] | 157 | information on the available configuration parameters, visit <ulink
|
---|
[57e86a93] | 158 | url="http://www.alsa-project.org/alsa-doc/doc-php/asoundrc.php"/>.</para>
|
---|
| 159 |
|
---|
| 160 | </sect3>
|
---|
| 161 |
|
---|
| 162 | </sect2>
|
---|
| 163 |
|
---|
| 164 | <sect2 role="content">
|
---|
| 165 | <title>Contents</title>
|
---|
| 166 |
|
---|
| 167 | <segmentedlist>
|
---|
| 168 | <segtitle>Installed Programs</segtitle>
|
---|
[87c4613d] | 169 | <segtitle>Installed Library</segtitle>
|
---|
[57e86a93] | 170 | <segtitle>Installed Directories</segtitle>
|
---|
| 171 |
|
---|
| 172 | <seglistitem>
|
---|
| 173 | <seg>alsalisp and aserver</seg>
|
---|
[bdf22d74] | 174 | <seg>libasound.[so,a]</seg>
|
---|
[87c4613d] | 175 | <seg>/usr/include/alsa, /usr/share/alsa and
|
---|
| 176 | /usr/share/doc/alsa-lib-&alsa-lib-version;</seg>
|
---|
[57e86a93] | 177 | </seglistitem>
|
---|
| 178 | </segmentedlist>
|
---|
| 179 |
|
---|
| 180 | <variablelist>
|
---|
| 181 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 182 | <?dbfo list-presentation="list"?>
|
---|
| 183 | <?dbhtml list-presentation="table"?>
|
---|
| 184 |
|
---|
| 185 | <varlistentry id="libasound">
|
---|
| 186 | <term><filename class='libraryfile'>libasound.[so,a]</filename></term>
|
---|
| 187 | <listitem>
|
---|
| 188 | <para>provides ALSA functions for application programs.</para>
|
---|
| 189 | <indexterm zone="alsa-lib libasound">
|
---|
| 190 | <primary sortas="c-libasound">libasound.[so,a]</primary>
|
---|
| 191 | </indexterm>
|
---|
| 192 | </listitem>
|
---|
| 193 | </varlistentry>
|
---|
| 194 |
|
---|
| 195 | </variablelist>
|
---|
| 196 |
|
---|
| 197 | </sect2>
|
---|
[48b7295] | 198 |
|
---|
| 199 | </sect1>
|
---|