[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[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 |
|
---|
[42f164e] | 38 | &lfs122_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"/>,
|
---|
[0c848d7] | 79 | <xref linkend="alsa-lib"/>, 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 |
|
---|
[a7e8195d] | 88 | <para>
|
---|
| 89 | First, fix a gcc-14 issue:
|
---|
| 90 | </para>
|
---|
| 91 |
|
---|
| 92 | <screen><userinput>sed -i '/limits.h/a #include <time.h>' src/plugins/pulse/ao_pulse.c</userinput></screen>
|
---|
| 93 |
|
---|
[2eeb8695] | 94 | <para>
|
---|
| 95 | Install <application>libao</application> by running the following
|
---|
| 96 | commands:
|
---|
| 97 | </para>
|
---|
[7420d5e0] | 98 |
|
---|
| 99 | <screen><userinput>./configure --prefix=/usr &&
|
---|
| 100 | make</userinput></screen>
|
---|
| 101 |
|
---|
[2eeb8695] | 102 | <para>
|
---|
| 103 | This package does not come with a test suite.
|
---|
| 104 | </para>
|
---|
[8a8e021] | 105 |
|
---|
[2eeb8695] | 106 | <para>
|
---|
| 107 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 108 | </para>
|
---|
[7420d5e0] | 109 |
|
---|
[b67c0ba] | 110 | <screen role="root"><userinput>make install &&
|
---|
| 111 | install -v -m644 README /usr/share/doc/libao-&libao-version;</userinput></screen>
|
---|
[7420d5e0] | 112 |
|
---|
| 113 | </sect2>
|
---|
| 114 |
|
---|
| 115 | <sect2 role="configuration">
|
---|
| 116 | <title>Configuring Libao</title>
|
---|
| 117 |
|
---|
| 118 | <sect3 id="libao-config">
|
---|
| 119 | <title>Config Files</title>
|
---|
| 120 |
|
---|
[2eeb8695] | 121 | <para>
|
---|
| 122 | <filename>/etc/libao.conf</filename> and
|
---|
| 123 | <filename>~/.libao</filename>
|
---|
| 124 | </para>
|
---|
[7420d5e0] | 125 |
|
---|
| 126 | <indexterm zone="libao libao-config">
|
---|
| 127 | <primary sortas="e-etc-libao.conf">/etc/libao.conf</primary>
|
---|
| 128 | </indexterm>
|
---|
| 129 |
|
---|
| 130 | <indexterm zone="libao libao-config">
|
---|
| 131 | <primary sortas="e-AA.libao">~/.libao</primary>
|
---|
| 132 | </indexterm>
|
---|
| 133 |
|
---|
| 134 | </sect3>
|
---|
| 135 |
|
---|
| 136 | <sect3>
|
---|
| 137 | <title>Configuration Information</title>
|
---|
| 138 |
|
---|
[2eeb8695] | 139 | <para>
|
---|
| 140 | Currently, the only configuration option available is setting the
|
---|
| 141 | default output device. Issue <command>man libao.conf</command>
|
---|
| 142 | for details.
|
---|
| 143 | </para>
|
---|
[7420d5e0] | 144 |
|
---|
| 145 | </sect3>
|
---|
| 146 |
|
---|
| 147 | </sect2>
|
---|
| 148 |
|
---|
| 149 | <sect2 role="content">
|
---|
| 150 | <title>Contents</title>
|
---|
| 151 |
|
---|
| 152 | <segmentedlist>
|
---|
| 153 | <segtitle>Installed Programs</segtitle>
|
---|
| 154 | <segtitle>Installed Libraries</segtitle>
|
---|
| 155 | <segtitle>Installed Directories</segtitle>
|
---|
| 156 |
|
---|
| 157 | <seglistitem>
|
---|
| 158 | <seg>None</seg>
|
---|
[c175983] | 159 | <seg>libao.so and plugins under /usr/lib/ao/plugins-4</seg>
|
---|
[8a8e021] | 160 | <seg>/usr/include/ao, /usr/lib/ao and /usr/share/doc/libao-&libao-version;</seg>
|
---|
[7420d5e0] | 161 | </seglistitem>
|
---|
| 162 | </segmentedlist>
|
---|
| 163 |
|
---|
| 164 | <variablelist>
|
---|
| 165 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 166 | <?dbfo list-presentation="list"?>
|
---|
| 167 | <?dbhtml list-presentation="table"?>
|
---|
| 168 |
|
---|
| 169 | <varlistentry id="libao-lib">
|
---|
[4c24eb0a] | 170 | <term><filename class="libraryfile">libao.so</filename></term>
|
---|
[7420d5e0] | 171 | <listitem>
|
---|
[2eeb8695] | 172 | <para>
|
---|
| 173 | provides functions for programs wishing to output sound over
|
---|
[4c24eb0a] | 174 | supported platforms
|
---|
[2eeb8695] | 175 | </para>
|
---|
[7420d5e0] | 176 | <indexterm zone="libao libao-lib">
|
---|
[e7574a1a] | 177 | <primary sortas="c-libao">libao.so</primary>
|
---|
[7420d5e0] | 178 | </indexterm>
|
---|
| 179 | </listitem>
|
---|
| 180 | </varlistentry>
|
---|
| 181 |
|
---|
| 182 | </variablelist>
|
---|
| 183 |
|
---|
| 184 | </sect2>
|
---|
[f45b1953] | 185 |
|
---|
| 186 | </sect1>
|
---|