Re: Audio on an Ultra 1 and an Ultra 5
* William F. Gannon <wgannon@cs.uml.edu> [010222 10:11]:
> Got the sparc utils package, installed it, no error, but should audioctl
> be an executible now? if so where was it installed and how does it work?
Well, it's it's installed, you make the /dev/audioctl device (if it's
not already there - "mknod audioctl c 14 7") and load the module... if
it's not already loaded.
Then you do a "audioctl -a" and get a long listing with entries like:
play.rate=44100
play.channels=2
play.precision=16
play.encoding=linear_be
play.gain=136
play.balance=32
play.port=0x1 (speaker (0x1))
play.avail_ports=0x7 (speaker (0x1)|headphone (0x2)|line out (0x4))
So then you do something like "audioctl -w play.port=3" to have it come
out on both the headphone and the speaker at the same time... or
"audioctl -w play.gain=150" to raise the volume, etc.
Of course, if it's not installed, then just grab the source (it's tiny,
just 1 C file, 1 manpage, and a Makefile)... and "do it yerself" for it.
Reply to: