<?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 sbc-download-http "http://www.kernel.org/pub/linux/bluetooth/sbc-&sbc-version;.tar.xz">
  <!ENTITY sbc-download-ftp  "ftp://www.kernel.org/pub/linux/bluetooth/sbc-&sbc-version;.tar.xz">
  <!ENTITY sbc-md5sum        "2d8b7841f2c11ab287718d562f2b981c">
  <!ENTITY sbc-size          "244 KB">
  <!ENTITY sbc-buildsize     "2.8 MB">
  <!ENTITY sbc-time          "0.1 SBU">
]>

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

  <sect1info>
    <othername>$LastChangedBy: bdubbs $</othername>
    <date>$Date: 2015-02-27 19:21:33 -0500 (Fri, 27 Feb 2015) $</date>
  </sect1info>

  <title>SBC-&sbc-version;</title>

  <indexterm zone="sbc">
    <primary sortas="a-SBC">SBC</primary>
  </indexterm>

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

    <para>
      The <application>SBC</application> is a digital audio encoder and decoder used to
      transfer data to Bluetooth audio output devices like headphones or loudspeakers.
    </para>

    &lfs77_checked;

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

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

    <bridgehead renderas="sect4">Optional</bridgehead>
    <para role="optional">
      <xref linkend="libsndfile"/>
    </para>

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

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

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

<screen><userinput>./configure --prefix=/usr --disable-static --disable-tester &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</userinput></screen>
  </sect2>

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

    <para><option>--disable-tester</option> This disables
      the SBC tester. Remove it if you have installed
      the optional <application>libsndfile</application>
      package.</para>

    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
      href="../../xincludes/static-libraries.xml"/>

  </sect2>

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

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

      <seglistitem>
        <seg>
          sbcdec, sbcenc, and sbcinfo
        </seg>
        <seg>
          libsbc.so
        </seg>
        <seg>
          /usr/include/sbc
        </seg>
      </seglistitem>
    </segmentedlist>

    <variablelist>
      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
      <?dbfo list-presentation="list"?>
      <?dbhtml list-presentation="table"?>
       
      <varlistentry id="libsbc">
        <term><filename class="libraryfile">libsbc.so</filename></term>
        <listitem>
          <para>
            contains the <application>SBC</application> API functions.
          </para>
          <indexterm zone="sbc libsbc">
            <primary sortas="c-libsbc">libsbc.so</primary>
          </indexterm>
        </listitem>
      </varlistentry>

    </variablelist>

  </sect2>

</sect1>
