Angry Kitchen Appliances


 README

Command line audio volume and balance control.

Version 1.0

Tested on Sun SPARCstation Ultra 60 with Solaris 8.

2001-04-11, Göran Larsson, http:/www.mitt-eget.com

THIS PROGRAM IS PROVIDED AS IS.
NO WARRANTY OF ANY KIND IS INCLUDED.

compile:
	gcc -Wall audio.c -o audio
	gcc -Wall -DDEFAULT_GAIN=150 -DDEFAULT_BALANCE=25 audio.c -o audio

Usage:
	audio			# set default volume and balance
	audio +			# increase volume
	audio -			# decrease volume
	audio l			# balance fully to left channel
	audio m			# balance at midpoint
	audio r			# balance fully to right channel
	audio volume		# set volume
	audio volume balance	# set volume and balance

	volume is AUDIO_MIN_GAIN .. AUDIO_MAX_GAIN
	balance is AUDIO_LEFT_BALANCE .. AUDIO_RIGHT_BALANCE

 Links

 


The page has been visited 888888 times since 2002-10-31.
Last modified 2003-09-14 18:22:19 (built 2008-02-04 23:18:46).
Copyright © 2002-2006 Göran Larsson. All rights reserved.