r2914 - in trunk/BOOK: appendices introduction/welcome multimedia/libdriv

randy at linuxfromscratch.org randy at linuxfromscratch.org
Tue Nov 9 06:37:07 PST 2004


Author: randy
Date: 2004-11-09 07:37:04 -0700 (Tue, 09 Nov 2004)
New Revision: 2914

Modified:
   trunk/BOOK/appendices/glossary.xml
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/multimedia/libdriv/alsa-lib.xml
Log:
Added optional dependencies and additional instructions to Alsa Library; added PCM to the Glossary

Modified: trunk/BOOK/appendices/glossary.xml
===================================================================
--- trunk/BOOK/appendices/glossary.xml	2004-11-09 09:31:32 UTC (rev 2913)
+++ trunk/BOOK/appendices/glossary.xml	2004-11-09 14:37:04 UTC (rev 2914)
@@ -459,6 +459,9 @@
 <glossentry id="gPCL"><glossterm><acronym>PCL</acronym></glossterm>
 <glossdef><para>Printer Control Language</para></glossdef></glossentry>
 
+<glossentry id="gPCM"><glossterm><acronym>PCM</acronym></glossterm>
+<glossdef><para>Pulse Code Modulation</para></glossdef></glossentry>
+
 <glossentry id="gPDC"><glossterm><acronym>PDC</acronym></glossterm>
 <glossdef><para>Primary Domain Controller</para></glossdef></glossentry>
 

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2004-11-09 09:31:32 UTC (rev 2913)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2004-11-09 14:37:04 UTC (rev 2914)
@@ -22,6 +22,10 @@
 
 <itemizedlist>
 
+<listitem><para>November 9th, 2004 [randy]: Added optional dependencies and 
+additional instructions to Alsa Library; added PCM to the 
+Glossary.</para></listitem>
+
 <listitem><para>November 8th, 2004 [randy]: Updated to libglade-2.4.0 and 
 moved the instructions to Chapter 8 - General Libraries.</para></listitem>
 

Modified: trunk/BOOK/multimedia/libdriv/alsa-lib.xml
===================================================================
--- trunk/BOOK/multimedia/libdriv/alsa-lib.xml	2004-11-09 09:31:32 UTC (rev 2913)
+++ trunk/BOOK/multimedia/libdriv/alsa-lib.xml	2004-11-09 14:37:04 UTC (rev 2914)
@@ -2,13 +2,14 @@
    "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../../general.ent">
   %general-entities;
- 
+
   <!ENTITY alsa-lib-download-http "&alsa-download-http;/lib/alsa-lib-&alsa-lib-version;.tar.bz2">
   <!ENTITY alsa-lib-download-ftp  "&alsa-download-ftp;/lib/alsa-lib-&alsa-lib-version;.tar.bz2">
   <!ENTITY alsa-lib-size          "661 KB">
-  <!ENTITY alsa-lib-buildsize     "27 MB">
-  <!ENTITY alsa-lib-time          "0.41 SBU">
+  <!ENTITY alsa-lib-buildsize     "33.7 MB (45.5 MB if docs are built)">
+  <!ENTITY alsa-lib-time          "0.59 SBU">
 ]>
+
 <sect1 id="alsa-lib" xreflabel="ALSA Library-&alsa-lib-version;">
 <sect1info>
 <othername>$LastChangedBy$</othername>
@@ -18,68 +19,113 @@
 <title>ALSA Library-&alsa-lib-version;</title>
 
 <sect2>
-<title>Introduction to <application><acronym>ALSA</acronym> Library</application></title>
+<title>Introduction to <application><acronym>ALSA</acronym> 
+Library</application></title>
 
 <para>The <application><acronym>ALSA</acronym> Library</application> package 
 contains the <acronym>ALSA</acronym> library.  This is used by programs 
-(including <application><acronym>ALSA</acronym> Utilities</application>) requiring 
-access to the <acronym>ALSA</acronym> sound interface.</para>
+(including <application><acronym>ALSA</acronym> Utilities</application>) 
+requiring access to the <acronym>ALSA</acronym> sound interface.</para>
 
 <sect3><title>Package information</title>
 <itemizedlist spacing='compact'>
 <listitem><para>Download (HTTP): <ulink url="&alsa-lib-download-http;"/></para></listitem>
 <listitem><para>Download (FTP): <ulink url="&alsa-lib-download-ftp;"/></para></listitem>
 <listitem><para>Download size: &alsa-lib-size;</para></listitem>
-<listitem><para>Estimated Disk space required: &alsa-lib-buildsize;</para></listitem>
+<listitem><para>Estimated disk space required: &alsa-lib-buildsize;</para></listitem>
 <listitem><para>Estimated build time: &alsa-lib-time;</para></listitem></itemizedlist>
 </sect3>
 
+<sect3><title><application><acronym>ALSA</acronym> Library</application> 
+dependencies</title>
+<sect4><title>Optional</title>
+<para><ulink url="http://jackit.sourceforge.net/">JACK</ulink> and 
+<xref linkend="doxygen"/></para>
+</sect4>
+</sect3>
+
 </sect2>
 
 <sect2>
-<title>Installation of <application><acronym>ALSA</acronym> Library</application>
+<title>Installation of <application><acronym>ALSA</acronym> 
+Library</application>
 </title>
 
-<para>In the "Sound" section of the kernel configuration, edit <userinput>Advanced Linux
-Sound Architecture</userinput> options to match your audio hardware and
-disable deprecated <userinput>Open Sound System</userinput>.
+<para>In the <quote>Sound</quote> section of the kernel configuration, edit 
+<userinput>Advanced Linux Sound Architecture</userinput> options to match your 
+audio hardware and disable deprecated <userinput>Open Sound System</userinput>. 
 Recompile and install your new kernel.</para>
 
-<para>Install <application><acronym>ALSA</acronym> Library</application> by running 
-the following commands:</para>
+<para>Install <application><acronym>ALSA</acronym> Library</application> by 
+running the following commands:</para>
 
 <screen><userinput><command>./configure --enable-static &&
 make &&
 make install</command></userinput></screen>
 
+<para>If you have <application><acronym>JACK</acronym></application> installed 
+and you wish to build the <application><acronym>JACK</acronym></application> 
+<acronym>PCM</acronym> plugin library, run the following commands:</para>
+
+<screen><userinput><command>cd src/pcm/ext &&
+make jack &&
+make install-jack</command></userinput></screen>
+
+<para>If you have <application>Doxygen</application> installed and you wish to 
+build the library <acronym>API</acronym> documentation, run the following
+commands from the top-level directory of the source tree:</para>
+
+<screen><userinput><command>make doc &&
+install -d -m755 /usr/share/alsa/doc/html &&
+install -m644 doc/doxygen/html/* /usr/share/alsa/doc/html</command></userinput></screen>
+
 </sect2>
 
 <sect2>
 <title>Command explanations</title>
 
 <para><parameter>--enable-static</parameter>: This switch is used to enable
-building the static library because some programs link against it.  </para>
+building the static library because some programs link against it.</para>
 
 </sect2>
 
 <sect2>
-<title>Configuring <application><acronym>ALSA</acronym> Library</application></title>
+<title>Configuring <application><acronym>ALSA</acronym> 
+Library</application></title>
 
-<sect3><title>Configuration Information</title>
+<sect3><title>Config files</title>
+<para><filename>/usr/share/alsa/alsa.conf</filename>, 
+<filename>/etc/asound.conf</filename>, 
+<filename>~/.asoundrc</filename> and 
+<filename>/usr/share/alsa/{cards,pcm}/*.conf</filename></para>
+</sect3>
 
+<sect3><title>Configuration information</title>
+
+<!-- 
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../../lib-config.xml"/> 
+-->
+<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, including setup of the 
+<application><acronym>JACK</acronym></application> <acronym>PCM</acronym> 
+plugin, visit <ulink 
+url="http://www.alsa-project.org/alsa-doc/doc-php/asoundrc.php"/>.</para>
 
 </sect3>
 
 </sect2>
 
-
 <sect2>
 <title>Contents</title>
 
 <para>The <application><acronym>ALSA</acronym> Library</application> package 
-contains <command>aserver</command> and the <filename class="libraryfile">
-libasound</filename> library.</para>
+contains <command>aserver</command>, 
+<command>alsalisp</command>, 
+the <filename class="libraryfile">libasound</filename> library and optionally, 
+the <application><acronym>JACK</acronym></application> <acronym>PCM</acronym> 
+plugin library.</para>
 
 </sect2>
 




More information about the blfs-book mailing list