[LWN Logo]

Date: Sun, 3 May 1998 22:39:34 -0400 (EDT)
From: Derrick J Brashear <shadow@DEMENTIA.ORG>
To: sparc-list@redhat.com
Subject: new audioctl on ftp.dementia.org

I just dropped a new copy of audioctl at
ftp://ftp.dementia.org/pub/linux/sparcaudio/audioctl-0.1.tar.gz

As before, a port of the NetBSD audioctl tool. This version includes a
better behavior for for choosing ports. Listing looks like:
play.port=0x1 (speaker (0x1))
play.avail_ports=0x7 (speaker (0x1)|headphone (0x2)|line out (0x4))
..
record.port=0x1 (microphone (0x1))
record.avail_ports=0x47 (microphone (0x1)|line in (0x2)|internal cd
(0x4)|analog loopback (0x40))

setting works like:
audioctl -w record.port=0x3
(for both line in and microphone)
or 
audioctl -w record.port=microphone
(for just microphone)
or
audioctl -w record.port=0x1
(also just microphone)

If/when i have time I'll try to come up with a better way to use names,
right now you can't "or" names for play port (where it's supported) and if
the port name includes spaces, you need use quoting.

-D



-- 
To unsubscribe: mail -s unsubscribe sparc-list-request@redhat.com < /dev/null