mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
1.2 KiB

  1. # ROCK Linux Config file for nasd
  2. #
  3. # set this to 0 for no debugging, a larger number equals more debugging
  4. # info...
  5. Debug 0
  6. # Do not be verbose. Remove the # to enable verbosity
  7. # Verbose
  8. # set this to "yes" or "no" to indicate whether nasd should release the
  9. # audio device when finished playing a sound.
  10. # Only the voxware, hpux, and sun servers understand this for now.
  11. ReleaseDevice "yes"
  12. # init the mixer on startup? Voxware only.
  13. MixerInit "yes"
  14. # This is used on hpux. Set to "INT" to use the internal speaker,
  15. # set to "EXT" to use the external device (headphone/speakers).
  16. OutDevType "EXT"
  17. # These are all used by voxware, nowhere else yet.
  18. inputsection
  19. device "/dev/sounh/dsp" # The input device, usually
  20. mixer "/dev/sound/mixer" # mixer device
  21. gain 50 # default input gain (0-100)
  22. maxrate 44100
  23. minrate 4000 # Kind of redundant
  24. maxfrags 3 # We want really low latency
  25. minfrags 2 # the default
  26. fragsize 256 # Again, for low latency
  27. wordsize 8 # It only handles 8 bits anyway
  28. numchans 2 # Glorious living mono
  29. forcerate "no" # forces input rate to current
  30. autoOpen "no" # whether to open the dev
  31. # at init
  32. readwrite "no" # open read only if "no"
  33. end