Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > by-pkgid > 7669da82916111a11b99c88a9d7fa90a > files > 2

nas-1.6-3mdk.ppc.rpm

#
#	A sample config file for the NAS Audio Server
#
# $Id: nasd.conf.eg,v 1.8 2002/10/08 03:08:02 jon Exp $
# $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...
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.
# Only the voxware, hpux, and sun servers understand this for now.
ReleaseDevice "yes"

# init the mixer on startup? Voxware only.
MixerInit	"yes"			

# This is used on hpux.  Set to "INT" to use the internal speaker,
#  set to "EXT" to use the external device (headphone/speakers).
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 read only if "no"
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	"yes"			# open write only if "no"
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