home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / sgi / 11453 < prev    next >
Encoding:
Internet Message Format  |  1992-07-27  |  1.7 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!mips!odin!fido!zola!bebop!cook
  2. From: cook@bebop.esd.sgi.com (Doug Cook)
  3. Newsgroups: comp.sys.sgi
  4. Subject: Re: Audio Questions
  5. Message-ID: <nqujpeo@zola.esd.sgi.com>
  6. Date: 27 Jul 92 17:12:18 GMT
  7. References: <1992Jul25.163827.22304@news.iastate.edu> <nobregg@zuni.esd.sgi.com> <1992Jul26.220045.8227@news.iastate.edu> <nq7tnvs@zuni.esd.sgi.com>
  8. Sender: news@zola.esd.sgi.com (Net News)
  9. Organization: Silicon Graphics, Inc.  Mountain View, CA
  10. Lines: 40
  11.  
  12.  
  13. In article <nq7tnvs@zuni.esd.sgi.com>, olson@anchor.esd.sgi.com writes:
  14.  
  15. > If you were asking if there is a way to set the volume for programs
  16. > under unix without using the apanel, the answer is no, unless you
  17. > write a program with libaudio to set it (we didn't provide a command
  18. > line interface to apanel).
  19.  
  20. Yes, we did provide a command line interface for apanel, though its
  21. functionality differs slightly from the UI; you don't get stereo
  22. controls from the command-line. From the -help option of the Media
  23. Mosaic (4.0.5MM) version of apanel:
  24.  
  25.     bebop:cook> apanel -help
  26.     Usage: apanel 
  27.     [-pollInterval n]
  28.     [-nofork]
  29.     [-monitor]
  30.     [-meter]
  31.     [-mute]
  32.     [-inrate rate]
  33.     [-outrate rate]
  34.     [-inlevels {0-255}]
  35.     [-outlevels {0-255}]
  36.     [-source {mic, line, digital}]
  37.     [-dbscale]
  38.     [-nodisplay]
  39.  
  40. The -nodisplay option sets the levels without bringing up the apanel
  41. UI; this is useful for shell scripts n' such. Most of these options are
  42. also available in pre-Media Mosaic versions of the tool.
  43.  
  44. As Dave mentioned, you can also write a program using the AL
  45. to tweak the hardware state; that's all apanel is, anyway.
  46.  
  47.     -Doug
  48.  
  49. Doug Cook      (cook@sgi.com)        |    "What IS Digital Media?    
  50. Software Engineer, Digital Media    |    ...another name for graphics."
  51. Silicon Graphics, Inc.            |
  52.