File: nasd.conf.eg

package info (click to toggle)
nas 1.9.4-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 8,124 kB
  • ctags: 27,566
  • sloc: ansic: 52,109; makefile: 31,375; sh: 8,077; perl: 1,104; yacc: 249; cpp: 216; lex: 68
file content (95 lines) | stat: -rw-r--r-- 2,874 bytes parent folder | download | duplicates (6)
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
#
#	A sample config file for the NAS Audio Server
#
# $Id: nasd.conf.eg 268 2007-11-10 23:41:22Z jon13 $
# $NCDId: @(#)AUVoxConfig.eg,v 1.1 1996/04/24 17:00:06 greg Exp $
#


# set this to 0 for no debugging, a larger number equals more debugging
#  info... (defaults to 0)
Debug 0

# be verbose, comment out if you don't want it
Verbose

# set this to "yes" or "no" to indicate whether nasd should release the
#  audio device when finished playing a sound.
# defaults to "yes"
# Only the voxware, hpux, and sun servers understand this for now.
ReleaseDevice "yes"

# set this to "yes" or "no" to indicate whether nasd should keep the mixer
#  device open when releasing the audio device.
# defaults to "yes"
# Only the voxware server understands this for now.
KeepMixer "yes"

# init the mixer on startup? Voxware only.
# defaults to "no"
MixerInit "no"

# Initialize the mixer settings on every audio device open?
# Settings are only initialized if MixerInit is set to "yes".
# Voxware only.
# defaults to "no"
ReInitMixer "no"

# This is used on hpux.  Set to "INT" to use the internal speaker,
#  set to "EXT" to use the external device (headphone/speakers).
# defaults to "EXT"
OutDevType	"EXT"

# These are all used by voxware, nowhere else yet.

inputsection

	device		"/dev/dsp1"		# The input device, usually
	mixer		"/dev/mixer1"		# mixer device
        gain            50                      # default input gain (0-100)
	maxrate		44100
	minrate		4000			# Kind of redundant
	maxfrags	3			# We want really low latency
	minfrags	2			# the default
	fragsize	256			# Again, for low latency
	wordsize	8			# It only handles 8 bits anyway
	numchans	2			# Glorious living mono
	forcerate	"no"			# forces input rate to current
	autoOpen        "yes"			# whether to open the dev
						# at init
	readwrite	"no"			# open 'device' read/write?
end

# These are used by voxware only for now.
outputsection
	device		"/dev/dsp"		# The output device, usually
	mixer		"/dev/mixer"		# mixer device
        gain            50                      # default output gain (0-100)
	maxrate		44100			# CD quality.
	minrate		5000			# Redundant again
	maxfrags	3			# Low latency (for doom!)
	minfrags	2			# redundant really.
	fragsize	256			# Low latency again..
	wordsize	16			# Yes!
	numchans	2			# HiFi Stereo!
	forcerate	"no"			# forces output rate to current
	autoOpen        "yes"			# whether to open the dev
						# at init
	readwrite	"no"			# open 'device' read/write?
end

#
#	An el cheapo full duplex setup could have the following output
#	section with the above inputsection, assuming that all they had
#	was an 8 bit SB and the PC speaker with the voxware server.
#
#       I really hope no one is saddled with this type of hardware in the
#       21st century.  If so, I sympathize.
#
#
#outputsection
#	device	"/dev/pcaudio"
#	maxrate		8000
#	minrate		8000
#	wordsize	8
#end