/usr/share/nas/nasd.conf.eg is in nas 1.9.4-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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
|