[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 |
|
---|
[0c7d410] | 7 | <!ENTITY alsa-lib-download-http "&alsa-download-http;/lib/alsa-lib-&alsa-lib-version;.tar.bz2">
|
---|
[48b7295] | 8 | <!ENTITY alsa-lib-download-ftp "&alsa-download-ftp;/lib/alsa-lib-&alsa-lib-version;.tar.bz2">
|
---|
[0c7d410] | 9 | <!ENTITY alsa-lib-md5sum "f090c7dbd0fe57d786d82e411eac2d08">
|
---|
| 10 | <!ENTITY alsa-lib-size "880 KB">
|
---|
| 11 | <!ENTITY alsa-lib-buildsize "45 MB">
|
---|
| 12 | <!ENTITY alsa-lib-time "0.3 SBU">
|
---|
[48b7295] | 13 | ]>
|
---|
[73942e6] | 14 |
|
---|
[a027d7d3] | 15 | <sect1 id="alsa-lib" xreflabel="alsa-lib-&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 |
|
---|
[a027d7d3] | 23 | <title>alsa-lib-&alsa-lib-version;</title>
|
---|
[48b7295] | 24 |
|
---|
[57e86a93] | 25 | <indexterm zone="alsa-lib">
|
---|
[0d50cca] | 26 | <primary sortas="a-alsa-lib">alsa-lib</primary>
|
---|
[57e86a93] | 27 | </indexterm>
|
---|
[48b7295] | 28 |
|
---|
[57e86a93] | 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to ALSA Library</title>
|
---|
[48b7295] | 31 |
|
---|
[0d50cca] | 32 | <para>
|
---|
| 33 | The <application>ALSA Library</application> package contains
|
---|
| 34 | the ALSA library used by programs (including <application>ALSA
|
---|
| 35 | Utilities</application>) requiring access to the ALSA sound
|
---|
| 36 | interface.
|
---|
| 37 | </para>
|
---|
[48b7295] | 38 |
|
---|
[2bf43964] | 39 | &lfs73_checked;
|
---|
[831c11e4] | 40 |
|
---|
[57e86a93] | 41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 42 | <itemizedlist spacing="compact">
|
---|
| 43 | <listitem>
|
---|
[0d50cca] | 44 | <para>
|
---|
| 45 | Download (HTTP): <ulink url="&alsa-lib-download-http;"/>
|
---|
| 46 | </para>
|
---|
[57e86a93] | 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
[0d50cca] | 49 | <para>
|
---|
| 50 | Download (FTP): <ulink url="&alsa-lib-download-ftp;"/>
|
---|
| 51 | </para>
|
---|
[57e86a93] | 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
[0d50cca] | 54 | <para>
|
---|
| 55 | Download MD5 sum: &alsa-lib-md5sum;
|
---|
| 56 | </para>
|
---|
[57e86a93] | 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
[0d50cca] | 59 | <para>
|
---|
| 60 | Download size: &alsa-lib-size;
|
---|
| 61 | </para>
|
---|
[57e86a93] | 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
[0d50cca] | 64 | <para>
|
---|
| 65 | Estimated disk space required: &alsa-lib-buildsize;
|
---|
| 66 | </para>
|
---|
[57e86a93] | 67 | </listitem>
|
---|
| 68 | <listitem>
|
---|
[0d50cca] | 69 | <para>
|
---|
| 70 | Estimated build time: &alsa-lib-time;
|
---|
| 71 | </para>
|
---|
[57e86a93] | 72 | </listitem>
|
---|
| 73 | </itemizedlist>
|
---|
[efa108a6] | 74 |
|
---|
[faf325d] | 75 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 76 | <itemizedlist spacing="compact">
|
---|
| 77 | <listitem>
|
---|
| 78 | <para>
|
---|
| 79 | Required patch:
|
---|
| 80 | <ulink url="&patch-root;/alsa-lib-&alsa-lib-version;-upstream_fixes-1.patch"/>
|
---|
| 81 | </para>
|
---|
| 82 | </listitem>
|
---|
| 83 | </itemizedlist>
|
---|
| 84 |
|
---|
[57e86a93] | 85 | <bridgehead renderas="sect3">ALSA Library Dependencies</bridgehead>
|
---|
[48b7295] | 86 |
|
---|
[57e86a93] | 87 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[0d50cca] | 88 | <para role="optional">
|
---|
| 89 | <xref linkend="doxygen"/> and
|
---|
| 90 | <xref linkend="python2"/>
|
---|
| 91 | </para>
|
---|
[48b7295] | 92 |
|
---|
[0e2aa08] | 93 | <para condition="html" role="usernotes">User Notes:
|
---|
[0d50cca] | 94 | <ulink url="&blfs-wiki;/alsa-lib"/>
|
---|
| 95 | </para>
|
---|
[57e86a93] | 96 | </sect2>
|
---|
[48b7295] | 97 |
|
---|
[57e86a93] | 98 | <sect2 role="kernel" id="alsa-lib-kernel">
|
---|
| 99 | <title>Kernel Configuration</title>
|
---|
[48b7295] | 100 |
|
---|
[0d50cca] | 101 | <para>
|
---|
| 102 | In the Device Drivers ⇒ Sound card support ⇒ Advanced Linux
|
---|
| 103 | Sound Architecture section of the kernel configuration, select the settings
|
---|
| 104 | and drivers appropriate for your hardware. Ensure that the deprecated Device
|
---|
| 105 | Drivers ⇒ Sound card support ⇒ Open Sound System is
|
---|
| 106 | <emphasis>not</emphasis> selected. If necessary, recompile and install your
|
---|
| 107 | new kernel.
|
---|
| 108 | </para>
|
---|
[ac789c0] | 109 |
|
---|
[57e86a93] | 110 | <indexterm zone="alsa-lib alsa-lib-kernel">
|
---|
| 111 | <primary sortas="d-ALSA">ALSA</primary>
|
---|
| 112 | </indexterm>
|
---|
[ac789c0] | 113 |
|
---|
[57e86a93] | 114 | </sect2>
|
---|
[ac789c0] | 115 |
|
---|
[57e86a93] | 116 | <sect2 role="installation">
|
---|
| 117 | <title>Installation of ALSA Library</title>
|
---|
[48b7295] | 118 |
|
---|
[0d50cca] | 119 | <para>
|
---|
| 120 | Install <application>ALSA Library</application> by
|
---|
| 121 | running the following commands:
|
---|
| 122 | </para>
|
---|
[57e86a93] | 123 |
|
---|
[faf325d] | 124 | <screen><userinput>patch -Np1 -i ../alsa-lib-&alsa-lib-version;-upstream_fixes-1.patch &&
|
---|
| 125 | ./configure &&
|
---|
[57e86a93] | 126 | make</userinput></screen>
|
---|
| 127 |
|
---|
[0d50cca] | 128 | <para>
|
---|
| 129 | This package does not come with a test suite.
|
---|
| 130 | </para>
|
---|
[57e86a93] | 131 |
|
---|
[0d50cca] | 132 | <para>
|
---|
| 133 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 134 | </para>
|
---|
[57e86a93] | 135 |
|
---|
[0d50cca] | 136 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[57e86a93] | 137 |
|
---|
[0d50cca] | 138 | <para>
|
---|
| 139 | If you have <application>Doxygen</application> installed and you wish to
|
---|
| 140 | build the library API documentation, run the following
|
---|
| 141 | commands from the top-level directory of the source tree:
|
---|
| 142 | </para>
|
---|
[57e86a93] | 143 |
|
---|
| 144 | <screen><userinput>make doc</userinput></screen>
|
---|
| 145 |
|
---|
[0d50cca] | 146 | <para>
|
---|
| 147 | To install the API documentation, run the following command as
|
---|
| 148 | the <systemitem class="username">root</systemitem> user:
|
---|
| 149 | </para>
|
---|
[57e86a93] | 150 |
|
---|
[55681b7] | 151 | <screen role="root"><userinput>install -v -d -m755 /usr/share/doc/alsa-lib-&alsa-lib-version;/html &&
|
---|
[b707cc4] | 152 | install -v -m644 doc/doxygen/html/* /usr/share/doc/alsa-&alsa-lib-version;/html</userinput></screen>
|
---|
[57e86a93] | 153 |
|
---|
| 154 | </sect2>
|
---|
| 155 |
|
---|
| 156 | <sect2 role="configuration">
|
---|
| 157 | <title>Configuring ALSA Library</title>
|
---|
| 158 |
|
---|
| 159 | <sect3 id="alsa-lib-config">
|
---|
| 160 | <title>Config Files</title>
|
---|
| 161 |
|
---|
[0d50cca] | 162 | <para>
|
---|
| 163 | <filename>~/.asoundrc</filename> and
|
---|
| 164 | <filename>/etc/asound.conf</filename>
|
---|
| 165 | </para>
|
---|
[57e86a93] | 166 |
|
---|
| 167 | <indexterm zone="alsa-lib alsa-lib-config">
|
---|
| 168 | <primary sortas="e-AA.asoundrc">~/.asoundrc</primary>
|
---|
| 169 | </indexterm>
|
---|
| 170 |
|
---|
| 171 | <indexterm zone="alsa-lib alsa-lib-config">
|
---|
| 172 | <primary sortas="e-etc-asound.conf">/etc/asound.conf</primary>
|
---|
| 173 | </indexterm>
|
---|
| 174 |
|
---|
| 175 | </sect3>
|
---|
| 176 |
|
---|
| 177 | <sect3>
|
---|
| 178 | <title>Configuration Information</title>
|
---|
| 179 |
|
---|
[0d50cca] | 180 | <para>
|
---|
| 181 | The default <filename>alsa.conf</filename> is adequate for most
|
---|
| 182 | installations. For extra functionality and/or advanced control of your
|
---|
| 183 | sound device, you may need to create additional configuration files.
|
---|
| 184 | For information on the available configuration parameters, visit
|
---|
| 185 | <ulink url="http://www.alsa-project.org/alsa-doc/doc-php/asoundrc.php"/>.
|
---|
| 186 | </para>
|
---|
[57e86a93] | 187 |
|
---|
| 188 | </sect3>
|
---|
| 189 |
|
---|
| 190 | </sect2>
|
---|
| 191 |
|
---|
| 192 | <sect2 role="content">
|
---|
| 193 | <title>Contents</title>
|
---|
| 194 |
|
---|
| 195 | <segmentedlist>
|
---|
[831c11e4] | 196 | <segtitle>Installed Program</segtitle>
|
---|
[0d50cca] | 197 | <segtitle>Installed Library</segtitle>
|
---|
[57e86a93] | 198 | <segtitle>Installed Directories</segtitle>
|
---|
| 199 |
|
---|
| 200 | <seglistitem>
|
---|
[0d50cca] | 201 | <seg>
|
---|
| 202 | aserver
|
---|
| 203 | </seg>
|
---|
| 204 | <seg>
|
---|
| 205 | libasound.so
|
---|
| 206 | </seg>
|
---|
| 207 | <seg>
|
---|
| 208 | /usr/include/alsa,
|
---|
| 209 | /usr/lib/alsa-lib,
|
---|
| 210 | /usr/share/alsa and
|
---|
[0c7d410] | 211 | /usr/share/doc/alsa-lib-&alsa-lib-version;
|
---|
| 212 | </seg>
|
---|
[57e86a93] | 213 | </seglistitem>
|
---|
| 214 | </segmentedlist>
|
---|
| 215 |
|
---|
| 216 | <variablelist>
|
---|
| 217 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 218 | <?dbfo list-presentation="list"?>
|
---|
| 219 | <?dbhtml list-presentation="table"?>
|
---|
| 220 |
|
---|
[17ad62a4] | 221 | <varlistentry id="aserver">
|
---|
| 222 | <term><command>aserver</command></term>
|
---|
| 223 | <listitem>
|
---|
[0d50cca] | 224 | <para>
|
---|
| 225 | is the ALSA server.
|
---|
| 226 | </para>
|
---|
[17ad62a4] | 227 | <indexterm zone="alsa-lib aserver">
|
---|
| 228 | <primary sortas="b-aserver">aserver</primary>
|
---|
| 229 | </indexterm>
|
---|
| 230 | </listitem>
|
---|
| 231 | </varlistentry>
|
---|
| 232 |
|
---|
[57e86a93] | 233 | <varlistentry id="libasound">
|
---|
[0d50cca] | 234 | <term><filename class="libraryfile">libasound.so</filename></term>
|
---|
[57e86a93] | 235 | <listitem>
|
---|
[0d50cca] | 236 | <para>
|
---|
| 237 | contains the ALSA API functions.
|
---|
| 238 | </para>
|
---|
[57e86a93] | 239 | <indexterm zone="alsa-lib libasound">
|
---|
[0d50cca] | 240 | <primary sortas="c-libasound">libasound.so</primary>
|
---|
[7ffd4d7] | 241 | </indexterm>
|
---|
| 242 | </listitem>
|
---|
| 243 | </varlistentry>
|
---|
| 244 |
|
---|
[57e86a93] | 245 | </variablelist>
|
---|
| 246 |
|
---|
| 247 | </sect2>
|
---|
[48b7295] | 248 |
|
---|
| 249 | </sect1>
|
---|