glfs/multimedia/libdriv/libsamplerate.xml
Bruce Dubbs 332bad2a11 Tags
Tag most of multimedia drivers.
2023-08-19 19:27:23 -05:00

148 lines
4.2 KiB
XML

<?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 libsamplerate-download-http
"https://github.com/libsndfile/libsamplerate/releases/download/&libsamplerate-version;/libsamplerate-&libsamplerate-version;.tar.xz">
<!ENTITY libsamplerate-download-ftp " ">
<!ENTITY libsamplerate-md5sum "97c010fc25156c33cddc272c1935afab">
<!ENTITY libsamplerate-size "3.2 MB">
<!ENTITY libsamplerate-buildsize "15 MB (add 2 MB for tests)">
<!ENTITY libsamplerate-time "less than 0.1 SBU (add 0.3 SBU for tests)">
]>
<sect1 id="libsamplerate" xreflabel="libsamplerate-&libsamplerate-version;">
<?dbhtml filename="libsamplerate.html"?>
<title>libsamplerate-&libsamplerate-version;</title>
<indexterm zone="libsamplerate">
<primary sortas="a-libsamplerate">libsamplerate</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to libsamplerate</title>
<para>
<application>libsamplerate</application> is a sample rate converter
for audio.
</para>
&lfs120_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&libsamplerate-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&libsamplerate-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &libsamplerate-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &libsamplerate-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &libsamplerate-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &libsamplerate-time;
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">libsamplerate Dependencies</bridgehead>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<xref linkend="alsa-lib"/>,
<xref linkend='libsndfile'/>, and
<xref linkend="fftw"/> (for tests)
</para>
</sect2>
<sect2 role="installation">
<title>Installation of libsamplerate</title>
<para>
Install <application>libsamplerate</application> by running the
following commands:
</para>
<screen><userinput>./configure --prefix=/usr \
--disable-static \
--docdir=/usr/share/doc/libsamplerate-&libsamplerate-version; &amp;&amp;
make</userinput></screen>
<para>
To test the results, issue: <command>make check</command>.
</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>
<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 Program</segtitle>
<segtitle>Installed Library</segtitle>
<segtitle>Installed Directory</segtitle>
<seglistitem>
<seg>None</seg>
<seg>libsamplerate.so</seg>
<seg>/usr/share/doc/libsamplerate-&libsamplerate-version;</seg>
</seglistitem>
</segmentedlist>
<!--
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="sndfile-resample">
<term><command>sndfile-resample</command></term>
<listitem>
<para>
is a sample rate converter using libsndfile for file I/O.
</para>
<indexterm zone="libsamplerate sndfile-resample">
<primary sortas="b-sndfile-resample">sndfile-resample</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>-->
</sect2>
</sect1>