AudioSetup provides an ultra-simplistic interface for Solaris audio devices. It is designed to be used in the same way as the mixerctl application provided with Solaris, namely in start-up scripts.
The functionality provided by AudioSetup currently consists of setting the gain (volume), balance and output ports of a given audio device. Future releases will allow the current settings to be output (like mixerctl) and settings such as balance to be configured.
Usage
audiosetup device=AUDIO_DEVICE volume=VOLUME balance=BALANCE output=OUTPUT(S)
The following output ports are currently supported:
For example, if you wanted a script to disable the output mixer on /dev/audioctl, set the volume to 25% and disable the internal speaker you would use the following:
| Version | File | Description | MD5 |
|---|---|---|---|
| 1.1.0 | audiosetup-1.1.0.tar.bz2 |
Added support for setting output balance. No longer necessary to specify all settings, unspecified settings will not be reset. |
0ff088cf3cc5b2cb0830a9e8153e84bc |
| 1.0.0 | audiosetup-1.0.0.tar.bz2 | Initial release. | ce6bc0cf552cc2d21aa33ae3adde4518 |
Assorted Scripts - things that don't warrant a whole project but might be useful to someone.
Site hosted by Linode: using Apache, PHP, MySQL and Propel.
Site created using Eclipse PDT and OS X.
Site design and original content Copyright © Vrai Stacey. Unless otherwise stated, source code contained on this site is published under the GNU Public License (GPL).