[ff7ee9c3] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[48b7295] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
[4a21942] | 6 |
|
---|
[9bbd056] | 7 | <!ENTITY audiofile-download-http "&gnome-download-http;/audiofile/0.3/audiofile-&audiofile-version;.tar.xz">
|
---|
| 8 | <!ENTITY audiofile-download-ftp "&gnome-download-ftp;/audiofile/0.3/audiofile-&audiofile-version;.tar.xz">
|
---|
[6d8f6dc] | 9 | <!ENTITY audiofile-md5sum "235dde14742317328f0109e9866a8008">
|
---|
| 10 | <!ENTITY audiofile-size "520 KB">
|
---|
| 11 | <!ENTITY audiofile-buildsize "18 MB">
|
---|
[f856738] | 12 | <!ENTITY audiofile-time "0.6 SBU">
|
---|
[48b7295] | 13 | ]>
|
---|
[4a21942] | 14 |
|
---|
[9bbd056] | 15 | <sect1 id="audiofile" xreflabel="AudioFile-&audiofile-version;">
|
---|
[ff7ee9c3] | 16 | <?dbhtml filename="audiofile.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <date>$Date$</date>
|
---|
| 20 | </sect1info>
|
---|
| 21 |
|
---|
[9bbd056] | 22 | <title>AudioFile-&audiofile-version;</title>
|
---|
[ff7ee9c3] | 23 |
|
---|
| 24 | <indexterm zone="audiofile">
|
---|
[5b38e37] | 25 | <primary sortas="a-AudioFile">AudioFile</primary>
|
---|
[ff7ee9c3] | 26 | </indexterm>
|
---|
| 27 |
|
---|
| 28 | <sect2 role="package">
|
---|
[5b38e37] | 29 | <title>Introduction to AudioFile</title>
|
---|
[ff7ee9c3] | 30 |
|
---|
[9bbd056] | 31 | <para>
|
---|
[5b38e37] | 32 | The <application>AudioFile</application> package contains the
|
---|
[9bbd056] | 33 | audio file libraries and two sound file support programs useful
|
---|
| 34 | to support basic sound file formats.
|
---|
| 35 | </para>
|
---|
[ff7ee9c3] | 36 |
|
---|
[ef8290b1] | 37 | &lfs111_checked;
|
---|
[cedf6b5] | 38 |
|
---|
[ff7ee9c3] | 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
[9bbd056] | 42 | <para>
|
---|
| 43 | Download (HTTP): <ulink url="&audiofile-download-http;"/>
|
---|
| 44 | </para>
|
---|
[ff7ee9c3] | 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
[9bbd056] | 47 | <para>
|
---|
| 48 | Download (FTP): <ulink url="&audiofile-download-ftp;"/>
|
---|
| 49 | </para>
|
---|
[ff7ee9c3] | 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
[9bbd056] | 52 | <para>
|
---|
| 53 | Download MD5 sum: &audiofile-md5sum;
|
---|
| 54 | </para>
|
---|
[ff7ee9c3] | 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
[9bbd056] | 57 | <para>
|
---|
| 58 | Download size: &audiofile-size;
|
---|
| 59 | </para>
|
---|
[ff7ee9c3] | 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
[9bbd056] | 62 | <para>
|
---|
| 63 | Estimated disk space required: &audiofile-buildsize;
|
---|
| 64 | </para>
|
---|
[ff7ee9c3] | 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
[9bbd056] | 67 | <para>
|
---|
| 68 | Estimated build time: &audiofile-time;
|
---|
| 69 | </para>
|
---|
[ff7ee9c3] | 70 | </listitem>
|
---|
| 71 | </itemizedlist>
|
---|
| 72 |
|
---|
[68bc1fb0] | 73 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 74 | <itemizedlist spacing="compact">
|
---|
| 75 | <listitem>
|
---|
| 76 | <para>
|
---|
| 77 | Required patch:
|
---|
| 78 | <ulink url="&patch-root;/audiofile-&audiofile-version;-consolidated_patches-1.patch"/>
|
---|
| 79 | </para>
|
---|
| 80 | </listitem>
|
---|
| 81 | </itemizedlist>
|
---|
| 82 |
|
---|
[5b38e37] | 83 | <bridgehead renderas="sect3">AudioFile Dependencies</bridgehead>
|
---|
[f856738] | 84 |
|
---|
| 85 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 86 | <para role="required">
|
---|
| 87 | <xref linkend="alsa-lib"/>
|
---|
| 88 | </para>
|
---|
[9bbd056] | 89 |
|
---|
[6d8f6dc] | 90 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 91 | <para role="recommended">
|
---|
| 92 | <xref linkend="flac"/>
|
---|
| 93 | </para>
|
---|
| 94 |
|
---|
| 95 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 96 | <para role="optional">
|
---|
[8558044] | 97 | <xref linkend="asciidoc"/> and
|
---|
[f1607a4] | 98 | <xref linkend="valgrind"/>
|
---|
[6d8f6dc] | 99 | </para>
|
---|
| 100 |
|
---|
[0e2aa08] | 101 | <para condition="html" role="usernotes">User Notes:
|
---|
[5b38e37] | 102 | <ulink url="&blfs-wiki;/audiofile"/>
|
---|
| 103 | </para>
|
---|
[ff7ee9c3] | 104 | </sect2>
|
---|
| 105 |
|
---|
| 106 | <sect2 role="installation">
|
---|
[5b38e37] | 107 | <title>Installation of AudioFile</title>
|
---|
[ff7ee9c3] | 108 |
|
---|
[9bbd056] | 109 | <para>
|
---|
[5b38e37] | 110 | Install <application>AudioFile</application> by running the following
|
---|
[9bbd056] | 111 | commands:
|
---|
| 112 | </para>
|
---|
[ff7ee9c3] | 113 |
|
---|
[68bc1fb0] | 114 | <!-- No longer needed with the patch
|
---|
| 115 | CXXFLAGS="${CXXFLAGS:- -O2 -g} -std=c++98" -->
|
---|
| 116 |
|
---|
[ca88cb8] | 117 | <screen><userinput>patch -Np1 -i ../audiofile-&audiofile-version;-consolidated_patches-1.patch &&
|
---|
[68bc1fb0] | 118 | autoreconf -fiv &&
|
---|
| 119 |
|
---|
| 120 | ./configure --prefix=/usr --disable-static &&
|
---|
[41d241e] | 121 |
|
---|
[9bbd056] | 122 | make</userinput></screen>
|
---|
[ff7ee9c3] | 123 |
|
---|
[9bbd056] | 124 | <para>
|
---|
[41d241e] | 125 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 126 | </para>
|
---|
| 127 |
|
---|
| 128 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 129 |
|
---|
| 130 | <para>
|
---|
| 131 | To test the results, issue: <command>make check</command>.
|
---|
[2bf43964] | 132 | Note that the tests will fail if the --disable-static
|
---|
[41d241e] | 133 | option is used and tests are executed before
|
---|
| 134 | <command>make install</command>. You have three options:
|
---|
[9bbd056] | 135 | </para>
|
---|
[06d301f] | 136 |
|
---|
[9bbd056] | 137 | <para>
|
---|
[41d241e] | 138 | (a) configure without --disable-static, run the tests, but do not
|
---|
| 139 | install, then start a fresh build using --disable-static just for
|
---|
| 140 | installing the package.
|
---|
[9bbd056] | 141 | </para>
|
---|
[ff7ee9c3] | 142 |
|
---|
[41d241e] | 143 | <para>
|
---|
| 144 | (b) configure with --disable-static, but only run the tests after the
|
---|
| 145 | package is installed.
|
---|
| 146 | </para>
|
---|
| 147 |
|
---|
| 148 | <para>
|
---|
[5c33f429] | 149 | (c) configure with --disable-static, but only run the tests after a
|
---|
[41d241e] | 150 | DESTDIR install.
|
---|
| 151 | </para>
|
---|
[ff7ee9c3] | 152 |
|
---|
| 153 | </sect2>
|
---|
| 154 |
|
---|
[5b38e37] | 155 | <sect2 role="commands">
|
---|
| 156 | <title>Command Explanations</title>
|
---|
| 157 |
|
---|
| 158 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 159 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 160 |
|
---|
| 161 | </sect2>
|
---|
| 162 |
|
---|
[ff7ee9c3] | 163 | <sect2 role="content">
|
---|
| 164 | <title>Contents</title>
|
---|
| 165 |
|
---|
| 166 | <segmentedlist>
|
---|
| 167 | <segtitle>Installed Programs</segtitle>
|
---|
[9bbd056] | 168 | <segtitle>Installed Libraries</segtitle>
|
---|
[c3c56b2] | 169 | <segtitle>Installed Directories</segtitle>
|
---|
[ff7ee9c3] | 170 |
|
---|
| 171 | <seglistitem>
|
---|
[9bbd056] | 172 | <seg>
|
---|
| 173 | sfconvert and sfinfo
|
---|
| 174 | </seg>
|
---|
| 175 | <seg>
|
---|
[5b38e37] | 176 | libaudiofile.so
|
---|
[9bbd056] | 177 | </seg>
|
---|
[c3c56b2] | 178 | <seg>
|
---|
| 179 | None
|
---|
| 180 | </seg>
|
---|
[ff7ee9c3] | 181 | </seglistitem>
|
---|
| 182 | </segmentedlist>
|
---|
| 183 |
|
---|
| 184 | <variablelist>
|
---|
| 185 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 186 | <?dbfo list-presentation="list"?>
|
---|
| 187 | <?dbhtml list-presentation="table"?>
|
---|
| 188 |
|
---|
| 189 | <varlistentry id="sfinfo">
|
---|
| 190 | <term><command>sfinfo</command></term>
|
---|
| 191 | <listitem>
|
---|
[9bbd056] | 192 | <para>
|
---|
| 193 | displays the sound file format, audio encoding, sampling
|
---|
[4c24eb0a] | 194 | rate and duration for audio formats supported by this library
|
---|
[9bbd056] | 195 | </para>
|
---|
[ff7ee9c3] | 196 | <indexterm zone="audiofile sfinfo">
|
---|
| 197 | <primary sortas="b-sfinfo">sfinfo</primary>
|
---|
| 198 | </indexterm>
|
---|
| 199 | </listitem>
|
---|
| 200 | </varlistentry>
|
---|
| 201 |
|
---|
| 202 | <varlistentry id="sfconvert">
|
---|
| 203 | <term><command>sfconvert</command></term>
|
---|
| 204 | <listitem>
|
---|
[9bbd056] | 205 | <para>
|
---|
| 206 | converts sound file formats where the original format and
|
---|
[4c24eb0a] | 207 | destination format are supported by this library
|
---|
[9bbd056] | 208 | </para>
|
---|
[ff7ee9c3] | 209 | <indexterm zone="audiofile sfconvert">
|
---|
| 210 | <primary sortas="b-sfconvert">sfconvert</primary>
|
---|
| 211 | </indexterm>
|
---|
| 212 | </listitem>
|
---|
| 213 | </varlistentry>
|
---|
| 214 |
|
---|
| 215 | <varlistentry id="libaudiofile">
|
---|
[5b38e37] | 216 | <term><filename class="libraryfile">libaudiofile.so</filename></term>
|
---|
[ff7ee9c3] | 217 | <listitem>
|
---|
[9bbd056] | 218 | <para>
|
---|
| 219 | contains functions used by programs to support AIFF,
|
---|
[4c24eb0a] | 220 | AIFF-compressed, Sun/NeXT, WAV and BIC audio formats
|
---|
[9bbd056] | 221 | </para>
|
---|
[ff7ee9c3] | 222 | <indexterm zone="audiofile libaudiofile">
|
---|
[5b38e37] | 223 | <primary sortas="c-libaudiofile">libaudiofile.so</primary>
|
---|
[ff7ee9c3] | 224 | </indexterm>
|
---|
| 225 | </listitem>
|
---|
| 226 | </varlistentry>
|
---|
| 227 |
|
---|
| 228 | </variablelist>
|
---|
| 229 |
|
---|
| 230 | </sect2>
|
---|
[f45b1953] | 231 |
|
---|
| 232 | </sect1>
|
---|