[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 |
|
---|
[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">
|
---|
[17ad62a4] | 9 | <!ENTITY alsa-lib-md5sum "d55a9d7d2a79d738a1b7a511cffda4b6">
|
---|
| 10 | <!ENTITY alsa-lib-size "694 KB">
|
---|
| 11 | <!ENTITY alsa-lib-buildsize "34.9 MB (additional 22.2 MB to build and install docs)">
|
---|
| 12 | <!ENTITY alsa-lib-time "0.6 SBU (less than 0.1 SBU to build and install docs)">
|
---|
[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>
|
---|
| 21 | </sect1info>
|
---|
[48b7295] | 22 |
|
---|
[57e86a93] | 23 | <title>ALSA Library-&alsa-lib-version;</title>
|
---|
[48b7295] | 24 |
|
---|
[57e86a93] | 25 | <indexterm zone="alsa-lib">
|
---|
| 26 | <primary sortas="a-ALSA-Library">ALSA Library</primary>
|
---|
| 27 | </indexterm>
|
---|
[48b7295] | 28 |
|
---|
[57e86a93] | 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to ALSA Library</title>
|
---|
[48b7295] | 31 |
|
---|
[9df3b847] | 32 | <para>The <application>ALSA Library</application> package contains
|
---|
[57e86a93] | 33 | the ALSA library. This is used by programs (including <application>ALSA
|
---|
| 34 | Utilities</application>) requiring access to the ALSA sound interface.</para>
|
---|
[48b7295] | 35 |
|
---|
[57e86a93] | 36 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 37 | <itemizedlist spacing="compact">
|
---|
| 38 | <listitem>
|
---|
| 39 | <para>Download (HTTP): <ulink url="&alsa-lib-download-http;"/></para>
|
---|
| 40 | </listitem>
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>Download (FTP): <ulink url="&alsa-lib-download-ftp;"/></para>
|
---|
| 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>Download MD5 sum: &alsa-lib-md5sum;</para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>Download size: &alsa-lib-size;</para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>Estimated disk space required: &alsa-lib-buildsize;</para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Estimated build time: &alsa-lib-time;</para>
|
---|
| 55 | </listitem>
|
---|
| 56 | </itemizedlist>
|
---|
[efa108a6] | 57 |
|
---|
[57e86a93] | 58 | <bridgehead renderas="sect3">ALSA Library Dependencies</bridgehead>
|
---|
[48b7295] | 59 |
|
---|
[57e86a93] | 60 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[1b1485a] | 61 | <para role="optional"><xref linkend="doxygen"/> and
|
---|
| 62 | <ulink url="ftp://ftp.lst.de/pub/people/okir/resmgr/">resmgr</ulink></para>
|
---|
[48b7295] | 63 |
|
---|
[0e2aa08] | 64 | <para condition="html" role="usernotes">User Notes:
|
---|
| 65 | <ulink url="&blfs-wiki;/alsa-lib"/></para>
|
---|
| 66 |
|
---|
[57e86a93] | 67 | </sect2>
|
---|
[48b7295] | 68 |
|
---|
[57e86a93] | 69 | <sect2 role="kernel" id="alsa-lib-kernel">
|
---|
| 70 | <title>Kernel Configuration</title>
|
---|
[48b7295] | 71 |
|
---|
[7ffd4d7] | 72 | <para>In the Device Drivers ⇒ Sound ⇒ Advanced Linux Sound
|
---|
[96ffdca] | 73 | Architecture section of the kernel configuration, select the settings and
|
---|
[7ffd4d7] | 74 | drivers appropriate for your hardware. Ensure that the deprecated Device
|
---|
| 75 | Drivers ⇒ Sound ⇒ Open Sound System is <emphasis>not</emphasis>
|
---|
| 76 | selected. If necessary, 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 |
|
---|
[b707cc4] | 109 | <screen role="root"><userinput>install -v -d -m755 /usr/share/doc/alsa-&alsa-lib-version;/html &&
|
---|
| 110 | install -v -m644 doc/doxygen/html/* /usr/share/doc/alsa-&alsa-lib-version;/html</userinput></screen>
|
---|
[57e86a93] | 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>
|
---|
[7ffd4d7] | 173 | <seg>aserver</seg>
|
---|
| 174 | <seg>libasound.{so,a} and smixer-*.{so,a}</seg>
|
---|
| 175 | <seg>/usr/include/alsa, /usr/lib/alsa-lib, /usr/share/alsa and
|
---|
[87c4613d] | 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 |
|
---|
[17ad62a4] | 185 | <varlistentry id="aserver">
|
---|
| 186 | <term><command>aserver</command></term>
|
---|
| 187 | <listitem>
|
---|
| 188 | <para>provides the ALSA server.</para>
|
---|
| 189 | <indexterm zone="alsa-lib aserver">
|
---|
| 190 | <primary sortas="b-aserver">aserver</primary>
|
---|
| 191 | </indexterm>
|
---|
| 192 | </listitem>
|
---|
| 193 | </varlistentry>
|
---|
| 194 |
|
---|
[57e86a93] | 195 | <varlistentry id="libasound">
|
---|
[0e2aa08] | 196 | <term><filename class='libraryfile'>libasound.{so,a}</filename></term>
|
---|
[57e86a93] | 197 | <listitem>
|
---|
| 198 | <para>provides ALSA functions for application programs.</para>
|
---|
| 199 | <indexterm zone="alsa-lib libasound">
|
---|
[0e2aa08] | 200 | <primary sortas="c-libasound">libasound.{so,a}</primary>
|
---|
[57e86a93] | 201 | </indexterm>
|
---|
| 202 | </listitem>
|
---|
| 203 | </varlistentry>
|
---|
| 204 |
|
---|
[7ffd4d7] | 205 | <varlistentry id="smixer">
|
---|
| 206 | <term><filename class='libraryfile'>smixer-*.{so,a}</filename></term>
|
---|
| 207 | <listitem>
|
---|
| 208 | <para>provides hardware dependent ALSA mixer functions.</para>
|
---|
| 209 | <indexterm zone="alsa-lib smixer">
|
---|
| 210 | <primary sortas="c-smixer">smixer-*.{so,a}</primary>
|
---|
| 211 | </indexterm>
|
---|
| 212 | </listitem>
|
---|
| 213 | </varlistentry>
|
---|
| 214 |
|
---|
[57e86a93] | 215 | </variablelist>
|
---|
| 216 |
|
---|
| 217 | </sect2>
|
---|
[48b7295] | 218 |
|
---|
| 219 | </sect1>
|
---|