[7420d5e0] | 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;
|
---|
[26bb7781] | 6 |
|
---|
[8dfc5c3] | 7 | <!ENTITY libao-download-http "https://downloads.xiph.org/releases/ao/libao-&libao-version;.tar.gz">
|
---|
[c175983] | 8 | <!ENTITY libao-download-ftp " ">
|
---|
| 9 | <!ENTITY libao-md5sum "9f5dd20d7e95fd0dd72df5353829f097">
|
---|
| 10 | <!ENTITY libao-size "456 KB">
|
---|
| 11 | <!ENTITY libao-buildsize "3.9 MB">
|
---|
[6894ea8d] | 12 | <!ENTITY libao-time "less than 0.1 SBU">
|
---|
[48b7295] | 13 | ]>
|
---|
| 14 |
|
---|
[fd680fb] | 15 | <sect1 id="libao" xreflabel="libao-&libao-version;">
|
---|
[7420d5e0] | 16 | <?dbhtml filename="libao.html"?>
|
---|
| 17 |
|
---|
| 18 |
|
---|
| 19 | <title>Libao-&libao-version;</title>
|
---|
| 20 |
|
---|
| 21 | <indexterm zone="libao">
|
---|
| 22 | <primary sortas="a-Libao">Libao</primary>
|
---|
| 23 | </indexterm>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="package">
|
---|
| 26 | <title>Introduction to Libao</title>
|
---|
| 27 |
|
---|
[2eeb8695] | 28 | <para>
|
---|
| 29 | The <application>libao</application> package contains a
|
---|
| 30 | cross-platform audio library. This is useful to output audio on a wide
|
---|
| 31 | variety of platforms. It currently supports WAV files, OSS (Open Sound
|
---|
| 32 | System), ESD (Enlighten Sound Daemon), ALSA (Advanced Linux Sound
|
---|
| 33 | Architecture), NAS (Network Audio system), aRTS (analog Real-Time
|
---|
| 34 | Synthesizer), and PulseAudio (next generation
|
---|
| 35 | <application>GNOME</application> sound architecture).
|
---|
| 36 | </para>
|
---|
[7420d5e0] | 37 |
|
---|
[332bad2a] | 38 | &lfs120_checked;
|
---|
[e7574a1a] | 39 |
|
---|
[7420d5e0] | 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing="compact">
|
---|
| 42 | <listitem>
|
---|
[2eeb8695] | 43 | <para>
|
---|
| 44 | Download (HTTP): <ulink url="&libao-download-http;"/>
|
---|
| 45 | </para>
|
---|
[7420d5e0] | 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
[2eeb8695] | 48 | <para>
|
---|
| 49 | Download (FTP): <ulink url="&libao-download-ftp;"/>
|
---|
| 50 | </para>
|
---|
[7420d5e0] | 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
[2eeb8695] | 53 | <para>
|
---|
| 54 | Download MD5 sum: &libao-md5sum;
|
---|
| 55 | </para>
|
---|
[7420d5e0] | 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
[2eeb8695] | 58 | <para>
|
---|
| 59 | Download size: &libao-size;
|
---|
| 60 | </para>
|
---|
[7420d5e0] | 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
[2eeb8695] | 63 | <para>
|
---|
| 64 | Estimated disk space required: &libao-buildsize;
|
---|
| 65 | </para>
|
---|
[7420d5e0] | 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
[2eeb8695] | 68 | <para>
|
---|
| 69 | Estimated build time: &libao-time;
|
---|
| 70 | </para>
|
---|
[7420d5e0] | 71 | </listitem>
|
---|
| 72 | </itemizedlist>
|
---|
| 73 |
|
---|
| 74 | <bridgehead renderas="sect3">Libao Dependencies</bridgehead>
|
---|
| 75 |
|
---|
| 76 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[e2e42c7] | 77 | <para role="optional">
|
---|
| 78 | <xref linkend="x-window-system"/>,
|
---|
[6de7590] | 79 | <xref linkend="alsa"/>, and
|
---|
[f82ac3f] | 80 | <xref linkend='pulseaudio'/>
|
---|
[e2e42c7] | 81 | </para>
|
---|
[7420d5e0] | 82 |
|
---|
| 83 | </sect2>
|
---|
| 84 |
|
---|
| 85 | <sect2 role="installation">
|
---|
| 86 | <title>Installation of Libao</title>
|
---|
| 87 |
|
---|
[2eeb8695] | 88 | <para>
|
---|
| 89 | Install <application>libao</application> by running the following
|
---|
| 90 | commands:
|
---|
| 91 | </para>
|
---|
[7420d5e0] | 92 |
|
---|
| 93 | <screen><userinput>./configure --prefix=/usr &&
|
---|
| 94 | make</userinput></screen>
|
---|
| 95 |
|
---|
[2eeb8695] | 96 | <para>
|
---|
| 97 | This package does not come with a test suite.
|
---|
| 98 | </para>
|
---|
[8a8e021] | 99 |
|
---|
[2eeb8695] | 100 | <para>
|
---|
| 101 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 102 | </para>
|
---|
[7420d5e0] | 103 |
|
---|
[b67c0ba] | 104 | <screen role="root"><userinput>make install &&
|
---|
| 105 | install -v -m644 README /usr/share/doc/libao-&libao-version;</userinput></screen>
|
---|
[7420d5e0] | 106 |
|
---|
| 107 | </sect2>
|
---|
| 108 |
|
---|
| 109 | <sect2 role="configuration">
|
---|
| 110 | <title>Configuring Libao</title>
|
---|
| 111 |
|
---|
| 112 | <sect3 id="libao-config">
|
---|
| 113 | <title>Config Files</title>
|
---|
| 114 |
|
---|
[2eeb8695] | 115 | <para>
|
---|
| 116 | <filename>/etc/libao.conf</filename> and
|
---|
| 117 | <filename>~/.libao</filename>
|
---|
| 118 | </para>
|
---|
[7420d5e0] | 119 |
|
---|
| 120 | <indexterm zone="libao libao-config">
|
---|
| 121 | <primary sortas="e-etc-libao.conf">/etc/libao.conf</primary>
|
---|
| 122 | </indexterm>
|
---|
| 123 |
|
---|
| 124 | <indexterm zone="libao libao-config">
|
---|
| 125 | <primary sortas="e-AA.libao">~/.libao</primary>
|
---|
| 126 | </indexterm>
|
---|
| 127 |
|
---|
| 128 | </sect3>
|
---|
| 129 |
|
---|
| 130 | <sect3>
|
---|
| 131 | <title>Configuration Information</title>
|
---|
| 132 |
|
---|
[2eeb8695] | 133 | <para>
|
---|
| 134 | Currently, the only configuration option available is setting the
|
---|
| 135 | default output device. Issue <command>man libao.conf</command>
|
---|
| 136 | for details.
|
---|
| 137 | </para>
|
---|
[7420d5e0] | 138 |
|
---|
| 139 | </sect3>
|
---|
| 140 |
|
---|
| 141 | </sect2>
|
---|
| 142 |
|
---|
| 143 | <sect2 role="content">
|
---|
| 144 | <title>Contents</title>
|
---|
| 145 |
|
---|
| 146 | <segmentedlist>
|
---|
| 147 | <segtitle>Installed Programs</segtitle>
|
---|
| 148 | <segtitle>Installed Libraries</segtitle>
|
---|
| 149 | <segtitle>Installed Directories</segtitle>
|
---|
| 150 |
|
---|
| 151 | <seglistitem>
|
---|
| 152 | <seg>None</seg>
|
---|
[c175983] | 153 | <seg>libao.so and plugins under /usr/lib/ao/plugins-4</seg>
|
---|
[8a8e021] | 154 | <seg>/usr/include/ao, /usr/lib/ao and /usr/share/doc/libao-&libao-version;</seg>
|
---|
[7420d5e0] | 155 | </seglistitem>
|
---|
| 156 | </segmentedlist>
|
---|
| 157 |
|
---|
| 158 | <variablelist>
|
---|
| 159 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 160 | <?dbfo list-presentation="list"?>
|
---|
| 161 | <?dbhtml list-presentation="table"?>
|
---|
| 162 |
|
---|
| 163 | <varlistentry id="libao-lib">
|
---|
[4c24eb0a] | 164 | <term><filename class="libraryfile">libao.so</filename></term>
|
---|
[7420d5e0] | 165 | <listitem>
|
---|
[2eeb8695] | 166 | <para>
|
---|
| 167 | provides functions for programs wishing to output sound over
|
---|
[4c24eb0a] | 168 | supported platforms
|
---|
[2eeb8695] | 169 | </para>
|
---|
[7420d5e0] | 170 | <indexterm zone="libao libao-lib">
|
---|
[e7574a1a] | 171 | <primary sortas="c-libao">libao.so</primary>
|
---|
[7420d5e0] | 172 | </indexterm>
|
---|
| 173 | </listitem>
|
---|
| 174 | </varlistentry>
|
---|
| 175 |
|
---|
| 176 | </variablelist>
|
---|
| 177 |
|
---|
| 178 | </sect2>
|
---|
[f45b1953] | 179 |
|
---|
| 180 | </sect1>
|
---|