.TH ASW 1carl CARL
.SH NAME
asw \- simple audio switch patcher
.SH SYNOPSIS
.B asw
[
.B \-d
] [
.B \-c\fIoutput_device\f1
] [
.B \-r
] [
.B \-R\fI``raw\ asw\ command''\f1
] [
.B \-i
]
.SH DESCRIPTION
.B asw
is a simple program to manually make or break audio switch
connections via the audio switch daemon. It also allows one
to send a reset command to the audio switch daemon, and to
inform the daemon to re-read the configuration file.
.PP
The
.B \-d
flag disconnects all output devices that are connected to
your input space (determined by your tty).
.PP
The
.B \-c
flag connects the specified \fIoutput_device\f1 to your
input space.
.PP
The
.B \-r
flag issues a reset command to the switch. All connections
are broken. This command should only be used if the audio
switch or the daemon has become confused.
.PP
The
.B \-R
flag is for handing the audio switch daemon a raw command.
The command should be enclosed in quotes to protect the
spaces in it. The format of the command is explained in
the paper \fIThe CARL Audio Switch Daemon\f1.
.PP
The
.B \-i
flag is for re-initializing the audio switch daemon. It
causes the daemon to re-read the configuration file. This
obviates the need to figure out the process id of the daemon
and send it a SIGHUP command after the configuration file has
been changed.
.PP
The possible \fIoutput_device\f1s (and \fIinput_space\f1s)
for a particular installation are specified in the
configuration file.
.SH FILES
/usr/local/lib/asw-conf
.SH BUGS
The
.B \-R
and
.B \-r
flags are backwards. One might infer that
.B \-R
is a more important command and care should be excercised
when using it since it is upper case, and that
.B \-r
requires less care when just the opposite is true.
.SH AUTHOR
Rusty Wright
.SH SEE ALSO
aswdaemon(C),
.I "The CARL Audio Switch Daemon"
