<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  <!ENTITY % general-entities SYSTEM "../../general.ent">
  %general-entities;

  <!ENTITY esound-download-http "&gnome-download-http;/esound/0.2/esound-&esound-version;.tar.bz2">
  <!ENTITY esound-download-ftp  "&gnome-download-ftp;/esound/0.2/esound-&esound-version;.tar.bz2">
  <!ENTITY esound-md5sum        "8d9aad3d94d15e0d59ba9dc0ea990c6c">
  <!ENTITY esound-size          "392 KB">
  <!ENTITY esound-buildsize     "5.3 MB">
  <!ENTITY esound-time          "0.3 SBU">
]>

<sect1 id="esound" xreflabel="EsounD-&esound-version;">
  <?dbhtml filename="esound.html"?>

  <sect1info>
    <othername>$LastChangedBy: bdubbs $</othername>
    <date>$Date: 2013-10-21 17:39:03 -0400 (Mon, 21 Oct 2013) $</date>
  </sect1info>

  <title>EsounD-&esound-version;</title>

  <indexterm zone="esound">
    <primary sortas="a-EsounD">EsounD</primary>
  </indexterm>

  <sect2 role="package">
    <title>Introduction to EsounD</title>

    <para>The <application>EsounD</application> package contains
    the Enlightened Sound Daemon. This is useful for mixing together
    several digitized audio streams for playback by a single device.</para>

    &lfs74_checked;

    <bridgehead renderas="sect3">Package Information</bridgehead>
    <itemizedlist spacing="compact">
      <listitem>
        <para>Download (HTTP): <ulink url="&esound-download-http;"/></para>
      </listitem>
      <listitem>
        <para>Download (FTP): <ulink url="&esound-download-ftp;"/></para>
      </listitem>
      <listitem>
        <para>Download MD5 sum: &esound-md5sum;</para>
      </listitem>
      <listitem>
        <para>Download size: &esound-size;</para>
      </listitem>
      <listitem>
        <para>Estimated disk space required: &esound-buildsize;</para>
      </listitem>
      <listitem>
        <para>Estimated build time: &esound-time;</para>
      </listitem>
    </itemizedlist>

    <bridgehead renderas="sect3">EsounD Dependencies</bridgehead>

    <bridgehead renderas="sect4">Required</bridgehead>
    <para role="required"><xref linkend="audiofile"/></para>

    <bridgehead renderas="sect4">Optional</bridgehead>
    <para role="optional"><xref linkend="alsa-lib"/> and
    <xref linkend="docbook-utils"/> (Required for building the html documentation)</para>

    <para condition="html" role="usernotes">User Notes:
    <ulink url="&blfs-wiki;/esound"/></para>

  </sect2>

  <sect2 role="installation">
    <title>Installation of EsounD</title>

    <para>Install <application>EsounD</application> by running the following
    commands:</para>

<screen><userinput>LIBS=-lm ./configure --prefix=/usr --sysconfdir=/etc &amp;&amp;
make</userinput></screen>

    <para>This package does not come with a test suite.</para>

    <para>Now, as the <systemitem class="username">root</systemitem> user:</para>

<screen role="root"><userinput>make install docdir=/usr/share/doc/esound-&esound-version;</userinput></screen>

    <para>If you have <application>DocBook-utils</application> installed, still
    as the <systemitem class="username">root</systemitem> user:</para>

<screen role="root"><userinput>chown -v root:root /usr/share/doc/esound-&esound-version;/*</userinput></screen>

  </sect2>

  <sect2 role="commands">
    <title>Command Explanations</title>

    <para><parameter>LIBS=-lm</parameter>: Make sure the linker uses the math
    library.</para>

    <para><parameter>--sysconfdir=/etc</parameter>: This switch puts
    configuration files in <filename class="directory">/etc</filename> instead
    of <filename class="directory">/usr/etc</filename>.</para>

    <para><parameter>--disable-static</parameter>: Prevent the static libraries
    being built.</para>

  </sect2>

  <sect2 role="configuration">
    <title>Configuring EsounD</title>

    <sect3 id="esound-config">
      <title>Config Files</title>

      <para><filename>/etc/esd.conf</filename></para>

      <indexterm zone="esound esound-config">
        <primary sortas="e-etc-esd.conf">/etc/esd.conf</primary>
      </indexterm>

    </sect3>

    <sect3>
      <title>Configuration Information</title>

      <para>Instructions and information about the configuration file is
      located in the <filename>TIPS</filename> file in the
      <application>EsounD</application> source directory.</para>

    </sect3>

  </sect2>

  <sect2 role="content">
    <title>Contents</title>

    <segmentedlist>
      <segtitle>Installed Programs</segtitle>
      <segtitle>Installed Libraries</segtitle>
      <segtitle>Installed Directory</segtitle>

      <seglistitem>
        <seg>esd, esdcat, esd-config, esdctl, esddsp, esdfilt, esdloop, esdmon,
        esdplay, esdrec, and esdsample</seg>
        <seg>libesd.{so,a} and libesddsp.{so,a}</seg>
        <seg>/usr/share/doc/esound</seg>
      </seglistitem>
    </segmentedlist>

    <variablelist>
      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
      <?dbfo list-presentation="list"?>
      <?dbhtml list-presentation="table"?>

      <varlistentry id="esd">
        <term><command>esd</command></term>
        <listitem>
          <para>is the Enlightened Sound Daemon.</para>
          <indexterm zone="esound esd">
            <primary sortas="b-esd">esd</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="esdcat">
        <term><command>esdcat</command></term>
        <listitem>
          <para>plays a RAW audio stream through the daemon.</para>
          <indexterm zone="esound esdcat">
            <primary sortas="b-esdcat">esdcat</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="esd-config">
        <term><command>esd-config</command></term>
        <listitem>
          <para>is used by <command>configure</command> to determine the
          compiler and linker flags that should be used to compile and link programs
          that use <application>EsounD</application>.</para>
          <indexterm zone="esound esd-config">
            <primary sortas="b-esd-config">esd-config</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="esdctl">
        <term><command>esdctl</command></term>
        <listitem>
          <para> controls certain aspects of the sound daemon.</para>
          <indexterm zone="esound esdctl">
            <primary sortas="b-esdctl">esdctl</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="esddsp">
        <term><command>esddsp</command></term>
        <listitem>
          <para>can allow non-esd applications to be routed through esd.</para>
          <indexterm zone="esound esddsp">
            <primary sortas="b-esddsp">esddsp</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="esdfilt">
        <term><command>esdfilt</command></term>
        <listitem>
          <para>is an <application>EsoundD</application> filter.</para>
          <indexterm zone="esound esdfilt">
            <primary sortas="b-esdfilt">esdfilt</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="esdloop">
        <term><command>esdloop</command></term>
        <listitem>
          <para>is test scaffolding for sample cache, loop and free.</para>
          <indexterm zone="esound esdloop">
            <primary sortas="b-esdloop">esdloop</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="esdmon">
        <term><command>esdmon</command></term>
        <listitem>
          <para>outputs the mixed stream from the daemon.</para>
          <indexterm zone="esound esdmon">
            <primary sortas="b-esdmon">esdmon</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="esdplay">
        <term><command>esdplay</command></term>
        <listitem>
          <para>plays the named file on
          <application>EsoundD</application>.</para>
          <indexterm zone="esound esdplay">
            <primary sortas="b-esdplay">esdplay</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="esdrec">
        <term><command>esdrec</command></term>
        <listitem>
          <para>outputs from the sound device's current input.</para>
          <indexterm zone="esound esdrec">
            <primary sortas="b-esdrec">esdrec</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="esdsample">
        <term><command>esdsample</command></term>
        <listitem>
          <para>is test scaffolding for sample cache, playback, and free.</para>
          <indexterm zone="esound esdsample">
            <primary sortas="b-esdsample">esdsample</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="libesd">
        <term><filename class='libraryfile'>libesd.{so,a}</filename></term>
        <listitem>
          <para>contains functions used by the <application>EsounD</application>
          programs to read, write and play various sound format files.</para>
          <indexterm zone="esound libesd">
            <primary sortas="c-libesd">libesd.{so,a}</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="libesddsp">
        <term><filename class='libraryfile'>libesddsp.{so,a}</filename></term>
        <listitem>
          <para>contains functions used by other programs to read, write and
          play various sound format files.</para>
          <indexterm zone="esound libesddsp">
            <primary sortas="c-libesddsp">libesddsp.{so,a}</primary>
          </indexterm>
        </listitem>
      </varlistentry>

    </variablelist>

  </sect2>

</sect1>
