~ubuntu-branches/debian/squeeze/nas/squeeze

« back to all changes in this revision

Viewing changes to doc/html/man4/nasd.conf.html

  • Committer: Bazaar Package Importer
  • Author(s): Steve McIntyre
  • Date: 2008-10-08 01:18:19 UTC
  • mfrom: (4.1.7 intrepid)
  • Revision ID: james.westby@ubuntu.com-20081008011819-wmr4h2w0298k8t7z
Tags: 1.9.1-5
* Fix pending l10n issues. Debconf translations:
* Swedish. Closes: #491766 (thanks to brother@bsnet.se)
* Arabic. Closes: #500437 (thanks to Ossama Khayat)
* Basque. Closes: #500533 (thanks to Piarres Beobide)
* Brazilian Portuguese. Closes: #500973 (thanks to Felipe
  Augusto van de Wiel)
* Many thanks again to Christian Perrier for his i18n efforts,
  co-ordinating the above.

Show diffs side-by-side

added added

removed removed

Lines of Context:
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 -->
3
 
 
4
 
<HTML>
5
 
<HEAD>
6
 
<TITLE>man page(1)</TITLE>
7
 
</HEAD>
8
 
<BODY bgcolor=white>
9
 
<A HREF="#toc">Table of Contents</A><P>
10
 
 
11
 
<H2><A NAME="sect0" HREF="#toc0">Name</A></H2>
12
 
 
13
 
<P>
14
 
nasd.conf - Configuration file for NAS servers.
15
 
 
16
 
<H2><A NAME="sect1" HREF="#toc1"><B>Description</B></A></H2>
17
 
 
18
 
<P>
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 &amp; 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.
29
 
 
30
 
<H2><A NAME="sect2" HREF="#toc2"><B>the</B> <B>Config</B> <B>File</B> <B>Syntax</B></A></H2>
31
 
 
32
 
<P>
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
39
 
them.
40
 
<P>
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.
43
 
<P>
44
 
<B>debug</B> <B>&lt;number&gt;</B> Sets the debug flag, which will provide a
45
 
trace of the server's activities on stderr. Set &lt;num&gt; to
46
 
0 to disable debug messages, 99 for *alot* of debug messages.
47
 
<P>
48
 
<B>mixerinit</B> <B>YES</B> <B>|"NO&raquo;</B> Set to &laquo;YES&raquo; to &laquo;NO". Defines whether
49
 
the server will init the mixer device on startup.
50
 
(voxware)
51
 
<P>
52
 
<B>OutDevType</B> <B>EXT</B> <B>|"INT&raquo;</B> For HPUX servers, define to &laquo;EXT&raquo; to
53
 
use the external output device (headphone/speakers) or
54
 
&laquo;INT&raquo; for the internal output device (internal speaker).
55
 
Defaults to external.
56
 
<P>
57
 
<B>inputsection</B> Marks the beginning of the input section,
58
 
which allows various parameters of the input device to be
59
 
set up.
60
 
<P>
61
 
<B>end</B> Marks the end of the input section or output section.
62
 
<P>
63
 
<B>device</B> <B>devname</B> Specifies what device is used. An example
64
 
is <B>device</B> <B>&laquo;/dev/dsp"</B>.
65
 
<P>
66
 
<B>mixer</B> <B>mixername</B> Specifies what mixer device is used. An
67
 
example is <B>mixer</B> <B>&laquo;/dev/mixer"</B>.
68
 
<P>
69
 
<B>gain</B> <B>number</B> Specifies the default volume (0-100). The
70
 
default is 50.
71
 
<P>
72
 
<B>maxrate</B> <B>number</B> the maximum number of samples per second
73
 
that we'll drive the card at.
74
 
<P>
75
 
<B>minrate</B> <B>number</B> the minimum number of samples per second
76
 
that the card will be driven at.
77
 
<P>
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.
81
 
<P>
82
 
<B>minfrags</B> <B>number</B> The minimum number of kernel buffers that
83
 
will be used.
84
 
<P>
85
 
<B>fragsize</B> <B>number</B> The size of each buffer - note that the
86
 
size must be a power of 2.
87
 
<P>
88
 
<B>wordsize</B> <B>number</B> The number of bits per sample. Allowable
89
 
values are 8 and 16.
90
 
<P>
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.
93
 
<P>
94
 
<B>forcerate</B> <B>no</B> <B>|"yes&raquo;</B> Forces the output rate to the current
95
 
rate. The default is &laquo;no".
96
 
<P>
97
 
<B>autoOpen</B> <B>no</B> <B>|"yes&raquo;</B> Whether to open the device at init time
98
 
(if ReleaseDevice = no). The default is &laquo;yes".
99
 
<P>
100
 
<B>readwrite</B> <B>no</B> <B>|"yes&raquo;</B> Whether or not to open the device
101
 
read/write. The default is &laquo;yes". If set to &laquo;no", then
102
 
for input devices, the device will be opened readonly, and
103
 
for output devices, the the device will be opened
104
 
writeonly.
105
 
 
106
 
<H2><A NAME="sect3" HREF="#toc3"><B>See</B> <B>Also</B></A></H2>
107
 
 
108
 
<P>
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>
114
 
 
115
 
 
116
 
<H2><A NAME="sect4" HREF="#toc4"><B>Bugs</B></A></H2>
117
 
 
118
 
<P>
119
 
Absolutely none.
120
 
 
121
 
<H2><A NAME="sect5" HREF="#toc5"><B>Authors</B></A></H2>
122
 
 
123
 
<P>
124
 
Stephen Hocking (sysseh@devetir.qld.gov.au), Jon Trulson
125
 
(jon@radscan.com)
126
 
<P>
127
 
 
128
 
<HR><P>
129
 
<A NAME="toc"><B>Table of Contents</B></A><P>
130
 
<UL>
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>
137
 
</UL>
138
 
</BODY></HTML>