NASD.CONF(5)
πΈ NASD.CONF(5) β the config file for NAS servers, bestie πΈ
(that's the NASD.CONF(5) manual page, filed under *File Formats Manual β yes we're in the file formats section, stay with me π«Ά)*
π NAME π
nasd.conf β the config file for NAS servers. that's it. that's the whole name. iconic.
β¨ DESCRIPTION β¨
okay so nasd.conf is the file you use to configure how your NAS server behaves π
and like, it does a LOT:
- which devices it's gonna try to use
- the minimum & maximum frequencies
- whether the device runs in
8bitor16bitmode - what fragment size and how many fragments to use (super handy for tuning the server's latency, fr)
- whether the server should be verbose when starting up, or dump debugging info
ngl though β not all options are supported for all servers. so before you go feral in the config, peek at the /etc/nas/nasd.conf.eg file, it literally tells you which options work for which servers π
π¦ THE CONFIG FILE SYNTAX π¦
there are up to three sections in the config file, periodt:
- the first section is all about global options β some of them just turn on verbose messages while parsing the config, and some turn on debug messages.
- the remaining two sections, if present, adjust various parameters of the input and output devices β but only for the servers that actually understand them.
here's every single one, no skips, no cap π
verboseβ sets a flag telling the server to report what it's trying to do with each setting in the config file. this one is off by default.debug <number>β sets the debug flag, which gives you a whole trace of the server's activities onstderr. set<number>to0to disable debug messages, or99for alot of debug messages. defaults to0.ReleaseDevice YES | NOβ set toYESorNO. defines whether the server should release the audio device when it's finished playing or recording a sound. defaults toYES. (voxware, hpux, sun)KeepMixer YES | NOβ set toYESorNO. defines whether the server should keep the mixer open when releasing the audio device. and listen β without an open mixer device, the server will always report the default gain and line mode, and cannot change them either π defaults toYES. (voxware)MixerInit YES | NOβ set toYESorNO. defines whether the server will init the mixer device on startup. later changes of gain or input mode will change the mixer settings. defaults toNO. (voxware)ReInitMixer YES | NOβ set toYESorNO. defines whether the server will re-init the mixer device on every audio device open. heads up tho: the mixer is re-initialized only if it is initialized at startup (see theMixerInitoption above π). defaults toNO. (voxware)OutDevType EXT | INTβ for HPUX servers: define it toEXTto use the external output device (headphone/speakers) orINTfor the internal output device (internal speaker). defaults toEXT.outputsectionβ marks the beginning of the output section, which lets you set up various parameters of the output device β¨inputsectionβ marks the beginning of the input section, which lets you set up various parameters of the input device β¨endβ marks the end of the input section or output section. the closer. the periodt of sections.device <devname>β specifies what device is used. example:device "/dev/dsp". with the voxware server you can use the empty string""to disable the device entirely πmixer <mixername>β specifies what mixer device is used. example:mixer "/dev/mixer". if<mixername>is set to the empty string"", no mixer is used in this section.gain <number>β specifies the default volume (0-100). default is50.gainscale <number>β this factor (expressed as a percentage) gets applied to all volume-setting requests. it lets the server transparently limit the actual maximum volume clients can set π default is100.maxrate <number>β the maximum number of samples per second that we'll drive the card at.minrate <number>β the minimum number of samples per second that the card will be driven at.maxfrags <number>β the maximum number of kernel buffers that will be used for the device. the number is dynamically adjusted as the sampling frequency varies.minfrags <number>β the minimum number of kernel buffers that will be used.fragsize <number>β the size of each buffer. note that the size must be a power of 2 β οΈwordsize <number>β the number of bits per sample. allowable values are8and16.numchans <number>β used to decide if the card is run in stereo or mono mode. allowable values are1or2.forcerate no | yesβ forces the output rate to the current rate. default isno.autoOpen no | yesβ whether to open the device at init time (ifReleaseDevice = no). default isyes.readwrite no | yesβ whether or not to open the device read-write. default isno. if set toyes, then the device will be opened read-write. there should be no need to set this toyes, but... π
π SEE ALSO π
nas(1), nasd(1), auinfo(1), auplay(1), auctl(1)
go read those too, bestie, they're part of the lore π
π BUGS π
Absolutely none.
(i know. i know. iconic behaviour. we love a flawless queen π)
π AUTHORS π
- Stephen Hocking (
sysseh@devetir.qld.gov.au) - Jon Trulson (
jon@radscan.com)
give them their flowers, they built this π
π and that's the whole page!! this came to you from theNASsource, and yeah, it lives atNASD.CONF(5). slay, go edit that config, and remember: power of 2 forfragsizeor it's over for you π§β¨
π¦ where this page comes from
- fedora 43: nas 1.9.5-11.fc41 Β· MIT
- fedora 43: nas 1.9.5-14.fc43 Β· MIT
- fedora 44: nas 1.9.5-15.fc44 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms