1
<!-- manual page source format generated by PolyglotMan v3.0.7, -->
2
<!-- available via anonymous ftp from ftp.cs.berkeley.edu:/ucb/people/phelps/tcltk/rman.tar.Z -->
6
<TITLE>man page(1)</TITLE>
9
<A HREF="#toc">Table of Contents</A><P>
11
<H2><A NAME="sect0" HREF="#toc0">Name</A></H2>
14
nasd.conf - Configuration file for NAS servers.
16
<H2><A NAME="sect1" HREF="#toc1"><B>Description</B></A></H2>
19
<I>nasd.conf</I> Is a file that can be used to configure the
20
behaiviour of the NAS server, including what devices it
21
will attempt to use, the minimum & maximum frequencies
22
used, if the device should be used in 8bit or 16bit mode,
23
what fragment size and number of fragments should be used
24
(useful for tuning the server's latency) and if the server
25
should be verbose when starting or output debugging information.
26
Not all options are supported for all servers,
27
see the /etc/nas/nasd.conf.eg file for information on what
28
options are supported for which servers.
30
<H2><A NAME="sect2" HREF="#toc2"><B>the</B> <B>Config</B> <B>File</B> <B>Syntax</B></A></H2>
33
There are up to three section in the config file. The
34
first section deals with global options, some of which
35
just turn on verbose messages when parsing the config
36
file, and setting debug messages on. The remaining two
37
sections will, if present, adjust various parameters of
38
the input and output devices, for those server that undersand
41
<B>verbose</B> Sets a flag telling the server to report what it's
42
trying to do with each setting in the config file.
44
<B>debug</B> <B><number></B> Sets the debug flag, which will provide a
45
trace of the server's activities on stderr. Set <num> to
46
0 to disable debug messages, 99 for *alot* of debug messages.
48
<B>mixerinit</B> <B>YES</B> <B>|"NO»</B> Set to «YES» to «NO". Defines whether
49
the server will init the mixer device on startup.
52
<B>OutDevType</B> <B>EXT</B> <B>|"INT»</B> For HPUX servers, define to «EXT» to
53
use the external output device (headphone/speakers) or
54
«INT» for the internal output device (internal speaker).
57
<B>inputsection</B> Marks the beginning of the input section,
58
which allows various parameters of the input device to be
61
<B>end</B> Marks the end of the input section or output section.
63
<B>device</B> <B>devname</B> Specifies what device is used. An example
64
is <B>device</B> <B>«/dev/dsp"</B>.
66
<B>mixer</B> <B>mixername</B> Specifies what mixer device is used. An
67
example is <B>mixer</B> <B>«/dev/mixer"</B>.
69
<B>gain</B> <B>number</B> Specifies the default volume (0-100). The
72
<B>maxrate</B> <B>number</B> the maximum number of samples per second
73
that we'll drive the card at.
75
<B>minrate</B> <B>number</B> the minimum number of samples per second
76
that the card will be driven at.
78
<B>maxfrags</B> <B>number</B> The maximum number of of kernel buffers
79
that will be used for the device. the number is dynamically
80
adjusted as the sampling frequency varies.
82
<B>minfrags</B> <B>number</B> The minimum number of kernel buffers that
85
<B>fragsize</B> <B>number</B> The size of each buffer - note that the
86
size must be a power of 2.
88
<B>wordsize</B> <B>number</B> The number of bits per sample. Allowable
91
<B>numchans</B> <B>number</B> Used to decide if the card is run in
92
stereo or mono mode. Allowable values are 1 or 2.
94
<B>forcerate</B> <B>no</B> <B>|"yes»</B> Forces the output rate to the current
95
rate. The default is «no".
97
<B>autoOpen</B> <B>no</B> <B>|"yes»</B> Whether to open the device at init time
98
(if ReleaseDevice = no). The default is «yes".
100
<B>readwrite</B> <B>no</B> <B>|"yes»</B> Whether or not to open the device
101
read/write. The default is «yes". If set to «no", then
102
for input devices, the device will be opened readonly, and
103
for output devices, the the device will be opened
106
<H2><A NAME="sect3" HREF="#toc3"><B>See</B> <B>Also</B></A></H2>
109
<A HREF="man:nas(1)">nas(1)</A>
110
, <A HREF="man:nasd(1)">nasd(1)</A>
111
, <A HREF="man:auinfo(1)">auinfo(1)</A>
112
, <A HREF="man:auplay(1)">auplay(1)</A>
113
, <A HREF="man:auctl(1)">auctl(1)</A>
116
<H2><A NAME="sect4" HREF="#toc4"><B>Bugs</B></A></H2>
121
<H2><A NAME="sect5" HREF="#toc5"><B>Authors</B></A></H2>
124
Stephen Hocking (sysseh@devetir.qld.gov.au), Jon Trulson
129
<A NAME="toc"><B>Table of Contents</B></A><P>
131
<LI><A NAME="toc0" HREF="#sect0">Name</A></LI>
132
<LI><A NAME="toc1" HREF="#sect1">Description</A></LI>
133
<LI><A NAME="toc2" HREF="#sect2">the Config File Syntax</A></LI>
134
<LI><A NAME="toc3" HREF="#sect3">See Also</A></LI>
135
<LI><A NAME="toc4" HREF="#sect4">Bugs</A></LI>
136
<LI><A NAME="toc5" HREF="#sect5">Authors</A></LI>