XAUDIO


SYNOPSIS

xaudio


DESCRIPTION

Control audio device on Sun SPARCstations:
* play volume
* record volume
* output port: speaker or headphones
* automatically detect when changes are made by another process


INSTALLATION

Just type make, or compile with  cc -o xaudio xaudio.c -lX11 -lXt -lXaw -lXmu


LEGAL NOTICE

This software is copyright (C) Andrew Brooks 1992, 1993
Permission to copy this software is granted provided the following
conditions are adhered to:
1) The source code, Makefile and README are all provided
2) No charge is made
3) The copyright notice and these permissions remain unaltered
4) Modified versions are marked as such
This software carries no warranty, and no responsibility can be assumed
for any loss or damage that may be caused.


HISTORY

Version 1.00  20 Feb 1992
  Only has control of output volume
Version 1.10  03 Apr 1992
  Has control of both record and play volumes
  Detects changes in the audio device and updates settings
Version 1.20   16 Feb 1993
  Changed so that it works on SunOS 4.1.3
  Instead of reading audio params, changing one value, then writing back
  we have to use AUDIO_INITINFO, set the value, then write back, because
  for some reason GETINFO followed by SETINFO returns an error (even
  though it actually works!).


AUTHOR

Andrew Brooks
arb@comp.lancs.ac.uk
Computer Science Department,
Lancaster University,
Lancaster,
LA1 4YR,
UK.

