2005-05-10 02:17:49 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2007-04-05 03:42:53 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
2004-06-14 07:30:44 +08:00
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
2004-11-09 22:37:04 +08:00
|
|
|
|
2013-04-14 20:48:41 +08:00
|
|
|
<!ENTITY alsa-lib-download-http "&alsa-download-http;/lib/alsa-lib-&alsa-lib-version;.tar.bz2">
|
2004-06-14 07:30:44 +08:00
|
|
|
<!ENTITY alsa-lib-download-ftp "&alsa-download-ftp;/lib/alsa-lib-&alsa-lib-version;.tar.bz2">
|
2013-07-09 02:07:43 +08:00
|
|
|
<!ENTITY alsa-lib-md5sum "69129a7c37697f81ac092335e9fa452b">
|
|
|
|
<!ENTITY alsa-lib-size "886 KB">
|
|
|
|
<!ENTITY alsa-lib-buildsize "18 MB">
|
|
|
|
<!ENTITY alsa-lib-time "0.2 SBU">
|
2004-06-14 07:30:44 +08:00
|
|
|
]>
|
2004-11-09 22:37:04 +08:00
|
|
|
|
2012-04-18 13:18:11 +08:00
|
|
|
<sect1 id="alsa-lib" xreflabel="alsa-lib-&alsa-lib-version;">
|
2005-05-10 02:17:49 +08:00
|
|
|
<?dbhtml filename="alsa-lib.html"?>
|
2004-06-14 07:30:44 +08:00
|
|
|
|
2005-05-10 02:17:49 +08:00
|
|
|
<sect1info>
|
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
|
|
|
</sect1info>
|
2004-06-14 07:30:44 +08:00
|
|
|
|
2012-04-18 13:18:11 +08:00
|
|
|
<title>alsa-lib-&alsa-lib-version;</title>
|
2004-06-14 07:30:44 +08:00
|
|
|
|
2005-05-10 02:17:49 +08:00
|
|
|
<indexterm zone="alsa-lib">
|
2012-09-13 01:18:06 +08:00
|
|
|
<primary sortas="a-alsa-lib">alsa-lib</primary>
|
2005-05-10 02:17:49 +08:00
|
|
|
</indexterm>
|
2004-06-14 07:30:44 +08:00
|
|
|
|
2005-05-10 02:17:49 +08:00
|
|
|
<sect2 role="package">
|
|
|
|
<title>Introduction to ALSA Library</title>
|
2004-06-14 07:30:44 +08:00
|
|
|
|
2012-09-13 01:18:06 +08:00
|
|
|
<para>
|
|
|
|
The <application>ALSA Library</application> package contains
|
|
|
|
the ALSA library used by programs (including <application>ALSA
|
|
|
|
Utilities</application>) requiring access to the ALSA sound
|
|
|
|
interface.
|
|
|
|
</para>
|
2004-06-14 07:30:44 +08:00
|
|
|
|
2014-02-18 06:31:12 +08:00
|
|
|
&lfs75_checked;
|
2009-08-04 23:20:12 +08:00
|
|
|
|
2005-05-10 02:17:49 +08:00
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
2012-09-13 01:18:06 +08:00
|
|
|
<para>
|
|
|
|
Download (HTTP): <ulink url="&alsa-lib-download-http;"/>
|
|
|
|
</para>
|
2005-05-10 02:17:49 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-09-13 01:18:06 +08:00
|
|
|
<para>
|
|
|
|
Download (FTP): <ulink url="&alsa-lib-download-ftp;"/>
|
|
|
|
</para>
|
2005-05-10 02:17:49 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-09-13 01:18:06 +08:00
|
|
|
<para>
|
|
|
|
Download MD5 sum: &alsa-lib-md5sum;
|
|
|
|
</para>
|
2005-05-10 02:17:49 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-09-13 01:18:06 +08:00
|
|
|
<para>
|
|
|
|
Download size: &alsa-lib-size;
|
|
|
|
</para>
|
2005-05-10 02:17:49 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-09-13 01:18:06 +08:00
|
|
|
<para>
|
|
|
|
Estimated disk space required: &alsa-lib-buildsize;
|
|
|
|
</para>
|
2005-05-10 02:17:49 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-09-13 01:18:06 +08:00
|
|
|
<para>
|
|
|
|
Estimated build time: &alsa-lib-time;
|
|
|
|
</para>
|
2005-05-10 02:17:49 +08:00
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
2005-04-02 14:20:02 +08:00
|
|
|
|
2005-05-10 02:17:49 +08:00
|
|
|
<bridgehead renderas="sect3">ALSA Library Dependencies</bridgehead>
|
2004-06-14 07:30:44 +08:00
|
|
|
|
2005-05-10 02:17:49 +08:00
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
2012-09-13 01:18:06 +08:00
|
|
|
<para role="optional">
|
|
|
|
<xref linkend="doxygen"/> and
|
|
|
|
<xref linkend="python2"/>
|
|
|
|
</para>
|
2004-06-14 07:30:44 +08:00
|
|
|
|
2006-04-11 02:37:19 +08:00
|
|
|
<para condition="html" role="usernotes">User Notes:
|
2012-09-13 01:18:06 +08:00
|
|
|
<ulink url="&blfs-wiki;/alsa-lib"/>
|
|
|
|
</para>
|
2005-05-10 02:17:49 +08:00
|
|
|
</sect2>
|
2004-06-14 07:30:44 +08:00
|
|
|
|
2005-05-10 02:17:49 +08:00
|
|
|
<sect2 role="kernel" id="alsa-lib-kernel">
|
|
|
|
<title>Kernel Configuration</title>
|
2004-06-14 07:30:44 +08:00
|
|
|
|
2012-09-13 01:18:06 +08:00
|
|
|
<para>
|
|
|
|
In the Device Drivers ⇒ Sound card support ⇒ Advanced Linux
|
|
|
|
Sound Architecture section of the kernel configuration, select the settings
|
|
|
|
and drivers appropriate for your hardware. Ensure that the deprecated Device
|
|
|
|
Drivers ⇒ Sound card support ⇒ Open Sound System is
|
|
|
|
<emphasis>not</emphasis> selected. If necessary, recompile and install your
|
|
|
|
new kernel.
|
|
|
|
</para>
|
2005-03-28 11:04:38 +08:00
|
|
|
|
2005-05-10 02:17:49 +08:00
|
|
|
<indexterm zone="alsa-lib alsa-lib-kernel">
|
|
|
|
<primary sortas="d-ALSA">ALSA</primary>
|
|
|
|
</indexterm>
|
2005-03-28 11:04:38 +08:00
|
|
|
|
2005-05-10 02:17:49 +08:00
|
|
|
</sect2>
|
2005-03-28 11:04:38 +08:00
|
|
|
|
2005-05-10 02:17:49 +08:00
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of ALSA Library</title>
|
2004-06-14 07:30:44 +08:00
|
|
|
|
2012-09-13 01:18:06 +08:00
|
|
|
<para>
|
|
|
|
Install <application>ALSA Library</application> by
|
|
|
|
running the following commands:
|
|
|
|
</para>
|
2005-05-10 02:17:49 +08:00
|
|
|
|
2013-07-09 02:07:43 +08:00
|
|
|
<screen><userinput>./configure &&
|
2005-05-10 02:17:49 +08:00
|
|
|
make</userinput></screen>
|
|
|
|
|
2012-09-13 01:18:06 +08:00
|
|
|
<para>
|
2013-07-09 02:07:43 +08:00
|
|
|
To test the results, issue: <command>make check</command>.
|
2012-09-13 01:18:06 +08:00
|
|
|
</para>
|
2005-05-10 02:17:49 +08:00
|
|
|
|
2012-09-13 01:18:06 +08:00
|
|
|
<para>
|
|
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
|
|
</para>
|
2005-05-10 02:17:49 +08:00
|
|
|
|
2012-09-13 01:18:06 +08:00
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
2005-05-10 02:17:49 +08:00
|
|
|
|
2012-09-13 01:18:06 +08:00
|
|
|
<para>
|
|
|
|
If you have <application>Doxygen</application> installed and you wish to
|
|
|
|
build the library API documentation, run the following
|
|
|
|
commands from the top-level directory of the source tree:
|
|
|
|
</para>
|
2005-05-10 02:17:49 +08:00
|
|
|
|
|
|
|
<screen><userinput>make doc</userinput></screen>
|
|
|
|
|
2012-09-13 01:18:06 +08:00
|
|
|
<para>
|
|
|
|
To install the API documentation, run the following command as
|
|
|
|
the <systemitem class="username">root</systemitem> user:
|
|
|
|
</para>
|
2005-05-10 02:17:49 +08:00
|
|
|
|
2014-05-21 04:00:56 +08:00
|
|
|
<screen role="root"><userinput>
|
|
|
|
install -v -d -m755 /usr/share/doc/alsa-lib-&alsa-lib-version;/html &&
|
|
|
|
install -v -m644 doc/doxygen/html/* /usr/share/doc/alsa-lib-&alsa-lib-version;/html</userinput></screen>
|
2005-05-10 02:17:49 +08:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="configuration">
|
|
|
|
<title>Configuring ALSA Library</title>
|
|
|
|
|
|
|
|
<sect3 id="alsa-lib-config">
|
|
|
|
<title>Config Files</title>
|
|
|
|
|
2012-09-13 01:18:06 +08:00
|
|
|
<para>
|
|
|
|
<filename>~/.asoundrc</filename> and
|
|
|
|
<filename>/etc/asound.conf</filename>
|
|
|
|
</para>
|
2005-05-10 02:17:49 +08:00
|
|
|
|
|
|
|
<indexterm zone="alsa-lib alsa-lib-config">
|
|
|
|
<primary sortas="e-AA.asoundrc">~/.asoundrc</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<indexterm zone="alsa-lib alsa-lib-config">
|
|
|
|
<primary sortas="e-etc-asound.conf">/etc/asound.conf</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
<sect3>
|
|
|
|
<title>Configuration Information</title>
|
|
|
|
|
2012-09-13 01:18:06 +08:00
|
|
|
<para>
|
|
|
|
The default <filename>alsa.conf</filename> is adequate for most
|
|
|
|
installations. For extra functionality and/or advanced control of your
|
|
|
|
sound device, you may need to create additional configuration files.
|
|
|
|
For information on the available configuration parameters, visit
|
2013-12-13 18:17:49 +08:00
|
|
|
<ulink url="http://www.alsa-project.org/main/index.php/Asoundrc"/>.
|
2012-09-13 01:18:06 +08:00
|
|
|
</para>
|
2005-05-10 02:17:49 +08:00
|
|
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
2009-08-04 23:20:12 +08:00
|
|
|
<segtitle>Installed Program</segtitle>
|
2012-09-13 01:18:06 +08:00
|
|
|
<segtitle>Installed Library</segtitle>
|
2005-05-10 02:17:49 +08:00
|
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
2012-09-13 01:18:06 +08:00
|
|
|
<seg>
|
|
|
|
aserver
|
|
|
|
</seg>
|
|
|
|
<seg>
|
|
|
|
libasound.so
|
|
|
|
</seg>
|
|
|
|
<seg>
|
|
|
|
/usr/include/alsa,
|
|
|
|
/usr/lib/alsa-lib,
|
|
|
|
/usr/share/alsa and
|
2013-04-14 20:48:41 +08:00
|
|
|
/usr/share/doc/alsa-lib-&alsa-lib-version;
|
|
|
|
</seg>
|
2005-05-10 02:17:49 +08:00
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
|
2007-01-18 12:36:01 +08:00
|
|
|
<varlistentry id="aserver">
|
|
|
|
<term><command>aserver</command></term>
|
|
|
|
<listitem>
|
2012-09-13 01:18:06 +08:00
|
|
|
<para>
|
|
|
|
is the ALSA server.
|
|
|
|
</para>
|
2007-01-18 12:36:01 +08:00
|
|
|
<indexterm zone="alsa-lib aserver">
|
|
|
|
<primary sortas="b-aserver">aserver</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2005-05-10 02:17:49 +08:00
|
|
|
<varlistentry id="libasound">
|
2012-09-13 01:18:06 +08:00
|
|
|
<term><filename class="libraryfile">libasound.so</filename></term>
|
2005-05-10 02:17:49 +08:00
|
|
|
<listitem>
|
2012-09-13 01:18:06 +08:00
|
|
|
<para>
|
|
|
|
contains the ALSA API functions.
|
|
|
|
</para>
|
2005-05-10 02:17:49 +08:00
|
|
|
<indexterm zone="alsa-lib libasound">
|
2012-09-13 01:18:06 +08:00
|
|
|
<primary sortas="c-libasound">libasound.so</primary>
|
2006-05-07 09:36:04 +08:00
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2005-05-10 02:17:49 +08:00
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
</sect2>
|
2004-06-14 07:30:44 +08:00
|
|
|
|
|
|
|
</sect1>
|