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