[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">
|
---|
[adcfdde2] | 9 | <!ENTITY alsa-lib-md5sum "d8a556041a4cbeeae0c32eadeffb3c74">
|
---|
| 10 | <!ENTITY alsa-lib-size "790 KB">
|
---|
[7711710] | 11 | <!ENTITY alsa-lib-buildsize "35 MB (additional 17 MB to build and install docs)">
|
---|
| 12 | <!ENTITY alsa-lib-time "0.7 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 |
|
---|
[831c11e4] | 36 | &lfs65_checked;
|
---|
| 37 |
|
---|
[57e86a93] | 38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 39 | <itemizedlist spacing="compact">
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>Download (HTTP): <ulink url="&alsa-lib-download-http;"/></para>
|
---|
| 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>Download (FTP): <ulink url="&alsa-lib-download-ftp;"/></para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download MD5 sum: &alsa-lib-md5sum;</para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Download size: &alsa-lib-size;</para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Estimated disk space required: &alsa-lib-buildsize;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>Estimated build time: &alsa-lib-time;</para>
|
---|
| 57 | </listitem>
|
---|
| 58 | </itemizedlist>
|
---|
[efa108a6] | 59 |
|
---|
[57e86a93] | 60 | <bridgehead renderas="sect3">ALSA Library Dependencies</bridgehead>
|
---|
[48b7295] | 61 |
|
---|
[57e86a93] | 62 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[1b1485a] | 63 | <para role="optional"><xref linkend="doxygen"/> and
|
---|
| 64 | <ulink url="ftp://ftp.lst.de/pub/people/okir/resmgr/">resmgr</ulink></para>
|
---|
[48b7295] | 65 |
|
---|
[0e2aa08] | 66 | <para condition="html" role="usernotes">User Notes:
|
---|
| 67 | <ulink url="&blfs-wiki;/alsa-lib"/></para>
|
---|
| 68 |
|
---|
[57e86a93] | 69 | </sect2>
|
---|
[48b7295] | 70 |
|
---|
[57e86a93] | 71 | <sect2 role="kernel" id="alsa-lib-kernel">
|
---|
| 72 | <title>Kernel Configuration</title>
|
---|
[48b7295] | 73 |
|
---|
[7ffd4d7] | 74 | <para>In the Device Drivers ⇒ Sound ⇒ Advanced Linux Sound
|
---|
[96ffdca] | 75 | Architecture section of the kernel configuration, select the settings and
|
---|
[7ffd4d7] | 76 | drivers appropriate for your hardware. Ensure that the deprecated Device
|
---|
| 77 | Drivers ⇒ Sound ⇒ Open Sound System is <emphasis>not</emphasis>
|
---|
| 78 | selected. If necessary, recompile and install your new kernel.</para>
|
---|
[ac789c0] | 79 |
|
---|
[57e86a93] | 80 | <indexterm zone="alsa-lib alsa-lib-kernel">
|
---|
| 81 | <primary sortas="d-ALSA">ALSA</primary>
|
---|
| 82 | </indexterm>
|
---|
[ac789c0] | 83 |
|
---|
[57e86a93] | 84 | </sect2>
|
---|
[ac789c0] | 85 |
|
---|
[57e86a93] | 86 | <sect2 role="installation">
|
---|
| 87 | <title>Installation of ALSA Library</title>
|
---|
[48b7295] | 88 |
|
---|
[bdf22d74] | 89 | <para>Install <application>ALSA Library</application> by
|
---|
[57e86a93] | 90 | running the following commands:</para>
|
---|
| 91 |
|
---|
| 92 | <screen><userinput>./configure --enable-static &&
|
---|
| 93 | make</userinput></screen>
|
---|
| 94 |
|
---|
[4ca94e5c] | 95 | <para>This package does not come with a test suite.</para>
|
---|
[57e86a93] | 96 |
|
---|
| 97 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 98 |
|
---|
[87c4613d] | 99 | <screen role="root"><userinput>make install &&
|
---|
| 100 | install -v -m644 -D doc/asoundrc.txt \
|
---|
| 101 | /usr/share/doc/alsa-lib-&alsa-lib-version;/asoundrc.txt</userinput></screen>
|
---|
[57e86a93] | 102 |
|
---|
[bdf22d74] | 103 | <para>If you have <application>Doxygen</application> installed and you wish to
|
---|
[57e86a93] | 104 | build the library API documentation, run the following
|
---|
| 105 | commands from the top-level directory of the source tree:</para>
|
---|
| 106 |
|
---|
| 107 | <screen><userinput>make doc</userinput></screen>
|
---|
| 108 |
|
---|
| 109 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 110 |
|
---|
[b707cc4] | 111 | <screen role="root"><userinput>install -v -d -m755 /usr/share/doc/alsa-&alsa-lib-version;/html &&
|
---|
| 112 | install -v -m644 doc/doxygen/html/* /usr/share/doc/alsa-&alsa-lib-version;/html</userinput></screen>
|
---|
[57e86a93] | 113 |
|
---|
| 114 | </sect2>
|
---|
| 115 |
|
---|
| 116 | <sect2 role="commands">
|
---|
| 117 | <title>Command Explanations</title>
|
---|
| 118 |
|
---|
| 119 | <para><parameter>--enable-static</parameter>: This switch is used to enable
|
---|
[4ca94e5c] | 120 | building the static library as some programs link against it.</para>
|
---|
[57e86a93] | 121 |
|
---|
| 122 | </sect2>
|
---|
| 123 |
|
---|
| 124 | <sect2 role="configuration">
|
---|
| 125 | <title>Configuring ALSA Library</title>
|
---|
| 126 |
|
---|
| 127 | <sect3 id="alsa-lib-config">
|
---|
| 128 | <title>Config Files</title>
|
---|
| 129 |
|
---|
[9df3b847] | 130 | <para><filename>~/.asoundrc</filename>,
|
---|
| 131 | <filename>/etc/asound.conf</filename>,
|
---|
| 132 | <filename>/usr/share/alsa/alsa.conf</filename>, and
|
---|
[57e86a93] | 133 | <filename>/usr/share/alsa/{cards,pcm}/*.conf</filename></para>
|
---|
| 134 |
|
---|
| 135 | <indexterm zone="alsa-lib alsa-lib-config">
|
---|
| 136 | <primary sortas="e-AA.asoundrc">~/.asoundrc</primary>
|
---|
| 137 | </indexterm>
|
---|
| 138 |
|
---|
| 139 | <indexterm zone="alsa-lib alsa-lib-config">
|
---|
| 140 | <primary sortas="e-etc-asound.conf">/etc/asound.conf</primary>
|
---|
| 141 | </indexterm>
|
---|
| 142 |
|
---|
| 143 | <indexterm zone="alsa-lib alsa-lib-config">
|
---|
| 144 | <primary sortas="e-usr-share-alsa-alsa.conf">/usr/share/alsa/alsa.conf</primary>
|
---|
| 145 | </indexterm>
|
---|
| 146 |
|
---|
| 147 | <indexterm zone="alsa-lib alsa-lib-config">
|
---|
| 148 | <primary sortas="e-usr-share-alsa-alsa1">.../alsa/{cards,pcm}/*.conf</primary>
|
---|
| 149 | </indexterm>
|
---|
| 150 |
|
---|
| 151 | </sect3>
|
---|
| 152 |
|
---|
| 153 | <sect3>
|
---|
| 154 | <title>Configuration Information</title>
|
---|
| 155 |
|
---|
| 156 | <para>The default <filename>alsa.conf</filename> is adequate for most
|
---|
[9df3b847] | 157 | installations. For extra functionality and/or advanced control of your sound
|
---|
| 158 | device, you may need to create additional configuration files. For
|
---|
[bdf22d74] | 159 | information on the available configuration parameters, visit <ulink
|
---|
[57e86a93] | 160 | url="http://www.alsa-project.org/alsa-doc/doc-php/asoundrc.php"/>.</para>
|
---|
| 161 |
|
---|
| 162 | </sect3>
|
---|
| 163 |
|
---|
| 164 | </sect2>
|
---|
| 165 |
|
---|
| 166 | <sect2 role="content">
|
---|
| 167 | <title>Contents</title>
|
---|
| 168 |
|
---|
| 169 | <segmentedlist>
|
---|
[831c11e4] | 170 | <segtitle>Installed Program</segtitle>
|
---|
| 171 | <segtitle>Installed Libraries</segtitle>
|
---|
[57e86a93] | 172 | <segtitle>Installed Directories</segtitle>
|
---|
| 173 |
|
---|
| 174 | <seglistitem>
|
---|
[7ffd4d7] | 175 | <seg>aserver</seg>
|
---|
| 176 | <seg>libasound.{so,a} and smixer-*.{so,a}</seg>
|
---|
| 177 | <seg>/usr/include/alsa, /usr/lib/alsa-lib, /usr/share/alsa and
|
---|
[87c4613d] | 178 | /usr/share/doc/alsa-lib-&alsa-lib-version;</seg>
|
---|
[57e86a93] | 179 | </seglistitem>
|
---|
| 180 | </segmentedlist>
|
---|
| 181 |
|
---|
| 182 | <variablelist>
|
---|
| 183 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 184 | <?dbfo list-presentation="list"?>
|
---|
| 185 | <?dbhtml list-presentation="table"?>
|
---|
| 186 |
|
---|
[17ad62a4] | 187 | <varlistentry id="aserver">
|
---|
| 188 | <term><command>aserver</command></term>
|
---|
| 189 | <listitem>
|
---|
| 190 | <para>provides the ALSA server.</para>
|
---|
| 191 | <indexterm zone="alsa-lib aserver">
|
---|
| 192 | <primary sortas="b-aserver">aserver</primary>
|
---|
| 193 | </indexterm>
|
---|
| 194 | </listitem>
|
---|
| 195 | </varlistentry>
|
---|
| 196 |
|
---|
[57e86a93] | 197 | <varlistentry id="libasound">
|
---|
[0e2aa08] | 198 | <term><filename class='libraryfile'>libasound.{so,a}</filename></term>
|
---|
[57e86a93] | 199 | <listitem>
|
---|
| 200 | <para>provides ALSA functions for application programs.</para>
|
---|
| 201 | <indexterm zone="alsa-lib libasound">
|
---|
[0e2aa08] | 202 | <primary sortas="c-libasound">libasound.{so,a}</primary>
|
---|
[57e86a93] | 203 | </indexterm>
|
---|
| 204 | </listitem>
|
---|
| 205 | </varlistentry>
|
---|
| 206 |
|
---|
[7ffd4d7] | 207 | <varlistentry id="smixer">
|
---|
| 208 | <term><filename class='libraryfile'>smixer-*.{so,a}</filename></term>
|
---|
| 209 | <listitem>
|
---|
| 210 | <para>provides hardware dependent ALSA mixer functions.</para>
|
---|
| 211 | <indexterm zone="alsa-lib smixer">
|
---|
| 212 | <primary sortas="c-smixer">smixer-*.{so,a}</primary>
|
---|
| 213 | </indexterm>
|
---|
| 214 | </listitem>
|
---|
| 215 | </varlistentry>
|
---|
| 216 |
|
---|
[57e86a93] | 217 | </variablelist>
|
---|
| 218 |
|
---|
| 219 | </sect2>
|
---|
[48b7295] | 220 |
|
---|
| 221 | </sect1>
|
---|