2004-06-14 07:30:44 +08:00
< !DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY alsa-utils-download-http "&alsa-download-http;/utils/alsa-utils-&alsa-utils-version;.tar.bz2">
<!ENTITY alsa-utils-download-ftp "&alsa-download-ftp;/utils/alsa-utils-&alsa-utils-version;.tar.bz2">
<!ENTITY alsa-utils-size "140 KB">
<!ENTITY alsa-utils-buildsize "3.2 MB">
<!ENTITY alsa-utils-time "0.08 SBU">
]>
2004-06-16 11:17:20 +08:00
2004-06-14 07:30:44 +08:00
<sect1 id= "alsa-utils" xreflabel= "ALSA Utilities-&alsa-utils-version;" >
2004-08-10 12:23:09 +08:00
<sect1info >
2004-08-10 12:25:57 +08:00
<othername > $LastChangedBy$</othername>
<date > $Date$</date>
2004-08-10 12:23:09 +08:00
</sect1info>
2004-06-14 07:30:44 +08:00
<?dbhtml filename="alsa-utils.html"?>
<title > ALSA Utilities-&alsa-utils-version; </title>
<sect2 >
<title > Introduction to <application > <acronym > ALSA</acronym> Utilities</application> </title>
<para > The <application > <acronym > ALSA</acronym> Utilities</application> package
contains various utilities which are useful for controlling your sound card.
</para>
<sect3 > <title > Package information</title>
<itemizedlist spacing= 'compact' >
<listitem > <para > Download (HTTP): <ulink url= "&alsa-utils-download-http;" /> </para> </listitem>
<listitem > <para > Download (FTP): <ulink url= "&alsa-utils-download-ftp;" /> </para> </listitem>
<listitem > <para > Download size: &alsa-utils-size; </para> </listitem>
<listitem > <para > Estimated Disk space required: &alsa-utils-buildsize; </para> </listitem>
<listitem > <para > Estimated build time: &alsa-utils-time; </para> </listitem> </itemizedlist>
</sect3>
2004-06-16 11:17:20 +08:00
<!--
2004-06-14 07:30:44 +08:00
<sect3 > <title > Additional downloads</title>
<itemizedlist spacing= 'compact' >
<listitem > <para > Required Patch: <ulink
url="&patch-root; /alsa-utils-&alsa-utils-version; -arecord-1.patch"/></para> </listitem>
</itemizedlist> </sect3>
2004-06-16 11:17:20 +08:00
-->
2004-06-14 07:30:44 +08:00
<sect3 > <title > <application > <acronym > ALSA</acronym> Utilities</application> dependencies</title>
<sect4 > <title > Required</title>
<para > <xref linkend= "alsa-lib" />
</para> </sect4>
</sect3>
</sect2>
<sect2 >
<title > Installation of <application > <acronym > ALSA</acronym> Utilities</application> </title>
<para > Install <application > <acronym > ALSA</acronym> Utilities</application> by running the following commands:</para>
2004-06-16 11:17:20 +08:00
<!--
2004-06-14 07:30:44 +08:00
<screen > <userinput > <command > patch -Np1 -i ../alsa-utils-&alsa-utils-version; -arecord-1.patch & &
2004-06-16 11:17:20 +08:00
-->
<screen > <userinput > <command > ./configure & &
2004-06-14 07:30:44 +08:00
make & &
make install</command> </userinput> </screen>
</sect2>
<sect2 >
<title > Configuring <application > <acronym > ALSA</acronym> Utilities</application> </title>
<sect3 > <title > Config files</title>
<para > <filename > /etc/asound.state</filename> </para>
</sect3>
<sect3 > <title > Configuration Information</title>
<para > Probably the easiest way to store mixer levels is to set and retrieve
them using a bootscript. It is possible to do this with a
<userinput > post-install</userinput> line in
<filename > /etc/modules.conf</filename> but this is left as an exercise for
those readers who wish to do this.</para>
<para > The <application > <acronym > ALSA</acronym> Driver</application> package
installs a script as <filename > /etc/rc.d/init.d/alsasound</filename> . While it
is possible to use this script, it contains a lot of extraneous detail which
isn't needed on an <acronym > LFS</acronym> system. Instead, install the init
script <filename > /etc/rc.d/init.d/alsa</filename> included in the
<xref linkend= "intro-important-bootscripts" /> package.</para>
<screen > <userinput > <command > make install-alsa</command> </userinput> </screen>
<para > Note that all channels of your sound card are muted by default. You can
use the <command > alsamixer</command> program from
<application > <acronym > ALSA</acronym> Utilities</application> (or any other
<acronym > OSS</acronym> mixer) to change this.</para>
<para > The first time the above script is run, it will complain that
there is no state in <filename > /etc/asound.state</filename> . You can
prevent this by running the following commands after installing
<application > <acronym > ALSA</acronym> Utilities</application> :</para>
<screen > <userinput > <command > touch /etc/asound.state & &
alsactl store</command> </userinput> </screen>
<para > A final note is that the lines loading <filename > sfxload</filename>
are commented out. They are there as an example of other things you may
wish to do in the startup script. <filename > sfxload</filename> is a
separate package of interest to SoundBlaster AWE and Live!
users. It is designed for loading "sound-fonts" (which are used for
<acronym > MIDI</acronym> output). You may wish to delete these lines and add
your own or, if you have the relevant sound card, install <filename > sfxload
</filename> and uncomment them.</para>
</sect3>
</sect2>
<sect2 >
<title > Contents</title>
<para > The <application > <acronym > ALSA</acronym> Utilities</application> package
contains <command > aconnect</command> ,
<command > alsactl</command> , <command > alsamixer</command> ,
<command > amixer</command> , <command > aplay</command> ,
<command > arecord</command> and <command > aseqnet</command> .</para>
</sect2>
<sect2 > <title > Description</title>
<sect3 > <title > aconnect</title>
<para > <command > aconnect</command> is a utility for connecting and disconnecting two existing ports in the <acronym > ALSA</acronym> sequencer system.</para>
</sect3>
<sect3 > <title > alsactl</title>
<para > <command > alsactl</command> is used to control advanced settings
for the <acronym > ALSA</acronym> sound card drivers.</para> </sect3>
<sect3 > <title > alsamixer</title>
<para > <command > alsamixer</command> is an ncurses-based mixer program for
use with the <acronym > ALSA</acronym> sound card drivers.</para> </sect3>
<sect3 > <title > amixer</title>
<para > <command > amixer</command> allows command-line control of the
mixers for the <acronym > ALSA</acronym> sound card drivers.</para> </sect3>
<sect3 > <title > aplay</title>
<para > <command > aplay</command> is a command-line soundfile player for
the <acronym > ALSA</acronym> sound card drivers.</para> </sect3>
<sect3 > <title > arecord</title>
<para > <command > arecord</command> is a command-line soundfile recorder
for the <acronym > ALSA</acronym> sound card drivers.</para> </sect3>
<sect3 > <title > aseqnet</title>
<para > <command > aseqnet</command> is an <acronym > ALSA</acronym> sequencer
client which sends and receives event packets over a network.</para> </sect3>
</sect2>
</sect1>