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