1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY libsamplerate-download-http
|
---|
8 | "https://github.com/libsndfile/libsamplerate/releases/download/&libsamplerate-version;/libsamplerate-&libsamplerate-version;.tar.xz">
|
---|
9 | <!ENTITY libsamplerate-download-ftp " ">
|
---|
10 | <!ENTITY libsamplerate-md5sum "97c010fc25156c33cddc272c1935afab">
|
---|
11 | <!ENTITY libsamplerate-size "3.2 MB">
|
---|
12 | <!ENTITY libsamplerate-buildsize "15 MB (add 2 MB for tests)">
|
---|
13 | <!ENTITY libsamplerate-time "less than 0.1 SBU (add 0.3 SBU for tests)">
|
---|
14 | ]>
|
---|
15 |
|
---|
16 | <sect1 id="libsamplerate" xreflabel="libsamplerate-&libsamplerate-version;">
|
---|
17 | <?dbhtml filename="libsamplerate.html"?>
|
---|
18 |
|
---|
19 | <sect1info>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>libsamplerate-&libsamplerate-version;</title>
|
---|
24 |
|
---|
25 | <indexterm zone="libsamplerate">
|
---|
26 | <primary sortas="a-libsamplerate">libsamplerate</primary>
|
---|
27 | </indexterm>
|
---|
28 |
|
---|
29 | <sect2 role="package">
|
---|
30 | <title>Introduction to libsamplerate</title>
|
---|
31 |
|
---|
32 | <para>
|
---|
33 | <application>libsamplerate</application> is a sample rate converter
|
---|
34 | for audio.
|
---|
35 | </para>
|
---|
36 |
|
---|
37 | &lfs111_checked;
|
---|
38 |
|
---|
39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
40 | <itemizedlist spacing="compact">
|
---|
41 | <listitem>
|
---|
42 | <para>
|
---|
43 | Download (HTTP): <ulink url="&libsamplerate-download-http;"/>
|
---|
44 | </para>
|
---|
45 | </listitem>
|
---|
46 | <listitem>
|
---|
47 | <para>
|
---|
48 | Download (FTP): <ulink url="&libsamplerate-download-ftp;"/>
|
---|
49 | </para>
|
---|
50 | </listitem>
|
---|
51 | <listitem>
|
---|
52 | <para>
|
---|
53 | Download MD5 sum: &libsamplerate-md5sum;
|
---|
54 | </para>
|
---|
55 | </listitem>
|
---|
56 | <listitem>
|
---|
57 | <para>
|
---|
58 | Download size: &libsamplerate-size;
|
---|
59 | </para>
|
---|
60 | </listitem>
|
---|
61 | <listitem>
|
---|
62 | <para>
|
---|
63 | Estimated disk space required: &libsamplerate-buildsize;
|
---|
64 | </para>
|
---|
65 | </listitem>
|
---|
66 | <listitem>
|
---|
67 | <para>
|
---|
68 | Estimated build time: &libsamplerate-time;
|
---|
69 | </para>
|
---|
70 | </listitem>
|
---|
71 | </itemizedlist>
|
---|
72 |
|
---|
73 | <bridgehead renderas="sect3">libsamplerate Dependencies</bridgehead>
|
---|
74 |
|
---|
75 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
76 | <para role="optional">
|
---|
77 | <xref linkend="alsa-lib"/>,
|
---|
78 | <xref linkend='libsndfile'/>, and
|
---|
79 | <xref linkend="fftw"/> (for tests)
|
---|
80 | </para>
|
---|
81 |
|
---|
82 | <para condition="html" role="usernotes">User Notes:
|
---|
83 | <ulink url="&blfs-wiki;/libsamplerate"/></para>
|
---|
84 | </sect2>
|
---|
85 |
|
---|
86 | <sect2 role="installation">
|
---|
87 | <title>Installation of libsamplerate</title>
|
---|
88 |
|
---|
89 | <para>
|
---|
90 | Install <application>libsamplerate</application> by running the
|
---|
91 | following commands:
|
---|
92 | </para>
|
---|
93 |
|
---|
94 | <screen><userinput>./configure --prefix=/usr \
|
---|
95 | --disable-static \
|
---|
96 | --docdir=/usr/share/doc/libsamplerate-&libsamplerate-version; &&
|
---|
97 | make</userinput></screen>
|
---|
98 |
|
---|
99 | <para>
|
---|
100 | To test the results, issue: <command>make check</command>.
|
---|
101 | </para>
|
---|
102 |
|
---|
103 | <para>
|
---|
104 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
105 | </para>
|
---|
106 |
|
---|
107 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
108 | </sect2>
|
---|
109 |
|
---|
110 | <sect2 role="commands">
|
---|
111 | <title>Command Explanations</title>
|
---|
112 |
|
---|
113 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
114 | href="../../xincludes/static-libraries.xml"/>
|
---|
115 |
|
---|
116 | </sect2>
|
---|
117 |
|
---|
118 | <sect2 role="content">
|
---|
119 | <title>Contents</title>
|
---|
120 |
|
---|
121 | <segmentedlist>
|
---|
122 | <segtitle>Installed Program</segtitle>
|
---|
123 | <segtitle>Installed Library</segtitle>
|
---|
124 | <segtitle>Installed Directory</segtitle>
|
---|
125 |
|
---|
126 | <seglistitem>
|
---|
127 | <seg>None</seg>
|
---|
128 | <seg>libsamplerate.so</seg>
|
---|
129 | <seg>/usr/share/doc/libsamplerate-&libsamplerate-version;</seg>
|
---|
130 | </seglistitem>
|
---|
131 | </segmentedlist>
|
---|
132 | <!--
|
---|
133 | <variablelist>
|
---|
134 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
135 | <?dbfo list-presentation="list"?>
|
---|
136 | <?dbhtml list-presentation="table"?>
|
---|
137 |
|
---|
138 | <varlistentry id="sndfile-resample">
|
---|
139 | <term><command>sndfile-resample</command></term>
|
---|
140 | <listitem>
|
---|
141 | <para>
|
---|
142 | is a sample rate converter using libsndfile for file I/O.
|
---|
143 | </para>
|
---|
144 | <indexterm zone="libsamplerate sndfile-resample">
|
---|
145 | <primary sortas="b-sndfile-resample">sndfile-resample</primary>
|
---|
146 | </indexterm>
|
---|
147 | </listitem>
|
---|
148 | </varlistentry>
|
---|
149 | </variablelist>-->
|
---|
150 | </sect2>
|
---|
151 |
|
---|
152 | </sect1>
|
---|