File: nasd.conf.5.html

package info (click to toggle)
nas 1.9.4-9.2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,644 kB
  • sloc: ansic: 52,144; makefile: 31,377; sh: 8,077; perl: 1,104; yacc: 252; cpp: 216; lex: 68
file content (132 lines) | stat: -rw-r--r-- 6,160 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132

<!--
  $Id: nasd.conf.5.html 243 2007-04-07 23:13:43Z jon $
 
-->
<!-- manual page source format generated by PolyglotMan v3.0.8+X.Org, -->
<!-- available at http://polyglotman.sourceforge.net/ -->

<html>
<head>
<title>NASD.CONF(5) manual page</title>
</head>
<body bgcolor='#efefef' text='black' link='blue' vlink='#551A8B' alink='red'>
<a href='#toc'>Table of Contents</a><p>

<h2><a name='sect0' href='#toc0'>Name</a></h2>
nasd.conf - Configuration file for NAS servers. 
<h2><a name='sect1' href='#toc1'>Description</a></h2>
<i>nasd.conf</i> Is
a file that can be used to configure the behaiviour of the NAS server,
including what devices it will attempt to use, the minimum &amp; maximum frequencies
used, if the device should be used in 8bit or 16bit mode, what fragment
size and number of fragments should be used (useful for tuning the server's
latency) and if the server should be verbose when starting or output debugging
information.  Not all options are supported for all servers, see the /etc/nas/nasd.conf.eg
file for information on what options are supported for which servers. 
<h2><a name='sect2' href='#toc2'>the
Config File Syntax</a></h2>
There are up to three section in the config file. The
first section deals with global options, some of which just turn on verbose
messages when parsing the config file, and setting debug messages on. The
remaining two sections will, if present, adjust various parameters of the
input and output devices, for those servers that understand them. <p>
<b>verbose</b>
Sets a flag telling the server to report what it's trying to do with each
setting in the config file. This option is off by default. <p>
<b>debug &lt;number&gt;</b> Sets
the debug flag, which will provide a trace of the server's activities on
stderr.  Set &lt;num&gt; to 0 to disable debug messages, 99 for *alot* of debug
messages. This option defaults to 0. <p>
<b>ReleaseDevice "YES" | "NO"</b> Set to "YES"
or "NO". Defines whether the server should release the audio device when
finished playing or recording a sound. This option defaults to "YES". (voxware,
hpux, sun) <p>
<b>KeepMixer "YES" | "NO"</b> Set to "YES" or "NO". Defines whether the
server should keep the mixer open when releasing the audio device. Without
an open mixer device the server will always report the default gain and
line mode and cannot change them either. This option defaults to "YES". (voxware)
<p>
<b>MixerInit "YES" | "NO"</b> Set to "YES" or "NO".  Defines whether the server
will init the mixer device on startup. Later changes of gain or input mode
will change the mixer settings. This option defaults to "YES". (voxware)
<p>
<b>ReInitMixer "YES" | "NO"</b> Set to "YES" or "NO". Defines whether the server
will re-init the mixer device on every audio device open. The mixer is re-initialized
only if it is initialized at startup (see <b>MixerInit</b> option). This option
defaults to "NO". (voxware) <p>
<b>OutDevType "EXT" | "INT"</b> For HPUX servers, define
to "EXT" to use the external output device (headphone/speakers) or "INT"
for the internal output device (internal speaker).  Defaults to external.
<p>
<b>outputsection</b> Marks the beginning of the output section, which allows various
parameters of the output device to be set up. <p>
<b>inputsection</b> Marks the beginning
of the input section, which allows various parameters of the input device
to be set up. <p>
<b>end</b> Marks the end of the input section or output section. <p>
<b>device
"devname"</b> Specifies what device is used. An example is <b>device "/dev/dsp"</b>.
With the voxware server you can use the empty string "" to disable the
device. <p>
<b>mixer "mixername"</b> Specifies what mixer device is used. An example
is <b>mixer "/dev/mixer"</b>. If <b>mixername</b> is set to the empty string <b>""</b> no mixer
is used in this section. <p>
<b>gain number</b> Specifies the default volume (0-100).
The default is 50. <p>
<b>gainscale number</b> This factor (expressed as a percentage)
is applied to all volume-setting requests.  This lets the server transparently
limit the actual maximum volume that can be set by clients. The default
is 100. <p>
<b>maxrate number</b> The maximum number of samples per second that we'll
drive the card at. <p>
<b>minrate number</b> The minimum number of samples per second
that the card will be driven at. <p>
<b>maxfrags number</b> The maximum number of of
kernel buffers that will be used for the device. the number is dynamically
adjusted as the sampling frequency varies. <p>
<b>minfrags number</b> The minimum number
of kernel buffers that will be used. <p>
<b>fragsize number</b> The size of each buffer
- note that the size must be a power of 2. <p>
<b>wordsize number</b> The number of
bits per sample. Allowable values are 8 and 16. <p>
<b>numchans number</b> Used to decide
if the card is run in stereo or mono mode. Allowable values are 1 or 2. 
<p>
<p>
<b>forcerate "no"|"yes"</b> Forces the output rate to the current rate. The default
is "no". <p>
<b>autoOpen  "no"|"yes"</b> Whether to open the device at init time (if
ReleaseDevice = no).  The default is "yes". <p>
<b>readwrite "no"|"yes"</b> Whether or
not to open the device read-write.  The default is "no". If set to "yes",
then the device will be opened read-write.  There should be no need to set
this to "yes", but... 
<h2><a name='sect3' href='#toc3'>See Also</a></h2>
<a href='nas.1.html'>nas(1)</a>
, <a href='nasd.1.html'>nasd(1)</a>
, <a href='auinfo.1.html'>auinfo(1)</a>
, <a href='auplay.1.html'>auplay(1)</a>
, <a href='auctl.1.html'>auctl(1)</a>


<h2><a name='sect4' href='#toc4'>Bugs</a></h2>
<p>
Absolutely none. 
<h2><a name='sect5' href='#toc5'>Authors</a></h2>
Stephen Hocking (sysseh@devetir.qld.gov.au),  Jon
Trulson (jon@radscan.com) <p>

<hr><p>
<a name='toc'><b>Table of Contents</b></a><p>
<ul>
<li><a name='toc0' href='#sect0'>Name</a></li>
<li><a name='toc1' href='#sect1'>Description</a></li>
<li><a name='toc2' href='#sect2'>the Config File Syntax</a></li>
<li><a name='toc3' href='#sect3'>See Also</a></li>
<li><a name='toc4' href='#sect4'>Bugs</a></li>
<li><a name='toc5' href='#sect5'>Authors</a></li>
</ul>
</body>
</html>