[d488004] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[48b7295] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
[4f6275fd] | 6 |
|
---|
[48b7295] | 7 | <!ENTITY nas-download-http "http://nas.codebrilliance.com/nas/nas-&nas-version;.src.tar.gz">
|
---|
| 8 | <!ENTITY nas-download-ftp "ftp://ftp.us.xemacs.org/pub/xemacs/aux/nas-&nas-version;.src.tar.gz">
|
---|
[2bd903b] | 9 | <!ENTITY nas-md5sum "c9918e9c9c95d587a95b455bbabe3b49">
|
---|
| 10 | <!ENTITY nas-size "1.2 MB">
|
---|
| 11 | <!ENTITY nas-buildsize "17.1 MB">
|
---|
| 12 | <!ENTITY nas-time "0.31 SBU">
|
---|
[48b7295] | 13 | ]>
|
---|
| 14 |
|
---|
[c5cc8b3] | 15 | <sect1 id="nas" xreflabel="NAS-&nas-version;">
|
---|
[d488004] | 16 | <?dbhtml filename="nas.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>NAS-&nas-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="nas">
|
---|
| 26 | <primary sortas="a-NAS">NAS</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to NAS</title>
|
---|
| 31 |
|
---|
| 32 | <para>The Network Audio System is a network transparent, client/server audio
|
---|
[50b692d] | 33 | transport system used to read , write and play audio files in many formats
|
---|
| 34 | including <filename>.au</filename>, <filename>.snd</filename>,
|
---|
| 35 | <filename>.voc</filename>, <filename>.wav</filename>,
|
---|
| 36 | <filename>.aiff</filename>, <filename>.aif</filename> and
|
---|
| 37 | <filename>.iff</filename>. It can be described as the audio equivalent of an
|
---|
[d488004] | 38 | <application>X</application> server.</para>
|
---|
| 39 |
|
---|
| 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing="compact">
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>Download (HTTP): <ulink url="&nas-download-http;"/></para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>Download (FTP): <ulink url="&nas-download-ftp;"/></para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>Download MD5 sum: &nas-md5sum;</para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>Download size: &nas-size;</para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Estimated disk space required: &nas-buildsize;</para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>Estimated build time: &nas-time;</para>
|
---|
| 59 | </listitem>
|
---|
| 60 | </itemizedlist>
|
---|
| 61 |
|
---|
[50b692d] | 62 | <!--
|
---|
[d488004] | 63 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 64 | <itemizedlist spacing='compact'>
|
---|
| 65 | <listitem>
|
---|
[50b692d] | 66 | <para>Required Patch: <ulink
|
---|
[d488004] | 67 | url="&patch-root;/nas-&nas-version;-bison_fix-1.patch"/></para>
|
---|
| 68 | </listitem>
|
---|
| 69 | </itemizedlist>
|
---|
| 70 | -->
|
---|
| 71 |
|
---|
[93d50f5] | 72 | <bridgehead renderas="sect3">NAS Dependencies</bridgehead>
|
---|
[d488004] | 73 |
|
---|
| 74 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 75 | <para>X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>)</para>
|
---|
| 76 |
|
---|
| 77 | </sect2>
|
---|
| 78 |
|
---|
| 79 | <sect2 role="installation">
|
---|
| 80 | <title>Installation of NAS</title>
|
---|
| 81 |
|
---|
[50b692d] | 82 | <para>Install <application>NAS</application> by running the
|
---|
[d488004] | 83 | following commands:</para>
|
---|
| 84 |
|
---|
| 85 | <screen><userinput>xmkmf &&
|
---|
| 86 | make World</userinput></screen>
|
---|
| 87 |
|
---|
| 88 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 89 |
|
---|
| 90 | <screen role="root"><userinput>make install install.man</userinput></screen>
|
---|
| 91 |
|
---|
| 92 | </sect2>
|
---|
| 93 |
|
---|
| 94 | <sect2 role="commands">
|
---|
| 95 | <title>Command Explanations</title>
|
---|
| 96 |
|
---|
[50b692d] | 97 | <para><command>xmkmf</command>; <command>make World</command>:
|
---|
[d7ecaa6] | 98 | These commands use the standard for compiling <application>X</application>
|
---|
[d488004] | 99 | based applications.</para>
|
---|
| 100 |
|
---|
| 101 | </sect2>
|
---|
| 102 |
|
---|
| 103 | <sect2 role="configuration">
|
---|
| 104 | <title>Configuring NAS</title>
|
---|
| 105 |
|
---|
| 106 | <sect3 id="nas-config">
|
---|
| 107 | <title>Config Files</title>
|
---|
| 108 |
|
---|
| 109 | <para><filename>/etc/nas/nasd.conf</filename></para>
|
---|
| 110 |
|
---|
| 111 | <indexterm zone="nas nas-config">
|
---|
| 112 | <primary sortas="e-etc-nas-nasd.conf">/etc/nas/nasd.conf</primary>
|
---|
| 113 | </indexterm>
|
---|
| 114 |
|
---|
| 115 | </sect3>
|
---|
| 116 |
|
---|
| 117 | <sect3>
|
---|
| 118 | <title>Configuration Information</title>
|
---|
| 119 |
|
---|
| 120 | <para>Create the <application>NAS</application> configuration file using the
|
---|
| 121 | following command:</para>
|
---|
| 122 |
|
---|
| 123 | <screen role="root"><userinput>install -v -m644 /etc/nas/nasd.conf.eg /etc/nas/nasd.conf</userinput></screen>
|
---|
| 124 |
|
---|
[50b692d] | 125 | <para>Edit the new configuration file to suit your network and system
|
---|
[d488004] | 126 | needs.</para>
|
---|
| 127 |
|
---|
| 128 | </sect3>
|
---|
| 129 |
|
---|
| 130 | <sect3 id="nas-init">
|
---|
| 131 | <title>Boot Script</title>
|
---|
| 132 |
|
---|
| 133 | <para>Install the <filename>/etc/rc.d/init.d/nas</filename> init script
|
---|
| 134 | included in the <xref linkend="intro-important-bootscripts"/>
|
---|
| 135 | package.</para>
|
---|
| 136 |
|
---|
| 137 | <indexterm zone="nas nas-init">
|
---|
| 138 | <primary sortas="f-nas">nas</primary>
|
---|
| 139 | </indexterm>
|
---|
| 140 |
|
---|
| 141 | <screen role="root"><userinput>make install-nas</userinput></screen>
|
---|
| 142 |
|
---|
[50b692d] | 143 | <para>The init script uses a default parameter to allow access to all hosts on
|
---|
[d488004] | 144 | the network. Review the <command>nasd</command> man page for other available
|
---|
| 145 | parameters if you need to modify the script.</para>
|
---|
| 146 |
|
---|
| 147 | </sect3>
|
---|
| 148 |
|
---|
| 149 | </sect2>
|
---|
| 150 |
|
---|
| 151 | <sect2 role="content">
|
---|
| 152 | <title>Contents</title>
|
---|
| 153 |
|
---|
| 154 | <segmentedlist>
|
---|
| 155 | <segtitle>Installed Programs</segtitle>
|
---|
| 156 | <segtitle>Installed Library</segtitle>
|
---|
| 157 | <segtitle>Installed Directory</segtitle>
|
---|
| 158 |
|
---|
| 159 | <seglistitem>
|
---|
[50b692d] | 160 | <seg>auconvert, auctl, audemo, audial, auedit, auinfo, aupanel, auphone,
|
---|
| 161 | auplay, aurecord, auscope, autool, auwave, checkmail, issndfile, nasd,
|
---|
[d488004] | 162 | playbucket, and soundtoh</seg>
|
---|
| 163 | <seg>libaudio.[so,a]</seg>
|
---|
| 164 | <seg>/etc/nas and /usr/X11R6/include/audio</seg>
|
---|
| 165 | </seglistitem>
|
---|
| 166 | </segmentedlist>
|
---|
| 167 |
|
---|
| 168 | <variablelist>
|
---|
| 169 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 170 | <?dbfo list-presentation="list"?>
|
---|
| 171 | <?dbhtml list-presentation="table"?>
|
---|
| 172 |
|
---|
| 173 | <varlistentry id="au-utilities">
|
---|
| 174 | <term><command>au[utilities]</command></term>
|
---|
| 175 | <listitem>
|
---|
[50b692d] | 176 | <para>are a collection of tools to convert, play, edit, record,
|
---|
| 177 | and manipulate sound files. See the respective man page for each utility
|
---|
[d488004] | 178 | for a full description of each one.</para>
|
---|
| 179 | <indexterm zone="nas au-utilities">
|
---|
| 180 | <primary sortas="b-au-utilities">au[utilities]</primary>
|
---|
| 181 | </indexterm>
|
---|
| 182 | </listitem>
|
---|
| 183 | </varlistentry>
|
---|
| 184 |
|
---|
| 185 | <varlistentry id="checkmail">
|
---|
| 186 | <term><command>checkmail</command></term>
|
---|
| 187 | <listitem>
|
---|
| 188 | <para>plays a sound file when the user receives mail.</para>
|
---|
| 189 | <indexterm zone="nas checkmail">
|
---|
| 190 | <primary sortas="b-checkmail">checkmail</primary>
|
---|
| 191 | </indexterm>
|
---|
| 192 | </listitem>
|
---|
| 193 | </varlistentry>
|
---|
| 194 |
|
---|
| 195 | <varlistentry id="issndfile">
|
---|
| 196 | <term><command>issndfile</command></term>
|
---|
| 197 | <listitem>
|
---|
| 198 | <para>checks if a file is in a recognized audio file format.</para>
|
---|
| 199 | <indexterm zone="nas issndfile">
|
---|
| 200 | <primary sortas="b-issndfile">issndfile</primary>
|
---|
| 201 | </indexterm>
|
---|
| 202 | </listitem>
|
---|
| 203 | </varlistentry>
|
---|
| 204 |
|
---|
| 205 | <varlistentry id="nasd">
|
---|
| 206 | <term><command>nasd</command></term>
|
---|
| 207 | <listitem>
|
---|
| 208 | <para>is the Network Audio System server daemon.</para>
|
---|
| 209 | <indexterm zone="nas nasd">
|
---|
| 210 | <primary sortas="b-nasd">nasd</primary>
|
---|
| 211 | </indexterm>
|
---|
| 212 | </listitem>
|
---|
| 213 | </varlistentry>
|
---|
| 214 |
|
---|
| 215 | <varlistentry id="playbucket">
|
---|
| 216 | <term><command>playbucket</command></term>
|
---|
| 217 | <listitem>
|
---|
[50b692d] | 218 | <para>plays, or creates, the bucket corresponding to the
|
---|
[d488004] | 219 | specified file.</para>
|
---|
| 220 | <indexterm zone="nas playbucket">
|
---|
| 221 | <primary sortas="b-playbucket">playbucket</primary>
|
---|
| 222 | </indexterm>
|
---|
| 223 | </listitem>
|
---|
| 224 | </varlistentry>
|
---|
| 225 |
|
---|
| 226 | <varlistentry id="soundtoh">
|
---|
| 227 | <term><command>soundtoh</command></term>
|
---|
| 228 | <listitem>
|
---|
| 229 | <para>converts a sound file to a C language header file.</para>
|
---|
| 230 | <indexterm zone="nas soundtoh">
|
---|
| 231 | <primary sortas="b-soundtoh">soundtoh</primary>
|
---|
| 232 | </indexterm>
|
---|
| 233 | </listitem>
|
---|
| 234 | </varlistentry>
|
---|
| 235 |
|
---|
| 236 | <varlistentry id="libaudio">
|
---|
| 237 | <term><filename class='libraryfile'>libaudio.[so,a]</filename></term>
|
---|
| 238 | <listitem>
|
---|
| 239 | <para>contains API functions to read and write audio files.</para>
|
---|
| 240 | <indexterm zone="nas libaudio">
|
---|
| 241 | <primary sortas="c-libaudio">libaudio.[so,a]</primary>
|
---|
| 242 | </indexterm>
|
---|
| 243 | </listitem>
|
---|
| 244 | </varlistentry>
|
---|
| 245 |
|
---|
| 246 | </variablelist>
|
---|
| 247 |
|
---|
| 248 | </sect2>
|
---|
[a0d47df] | 249 |
|
---|
| 250 | </sect1>
|
---|