diff options
| author | Charles.Forsyth <devnull@localhost> | 2006-12-22 20:52:35 +0000 |
|---|---|---|
| committer | Charles.Forsyth <devnull@localhost> | 2006-12-22 20:52:35 +0000 |
| commit | 46439007cf417cbd9ac8049bb4122c890097a0fa (patch) | |
| tree | 6fdb25e5f3a2b6d5657eb23b35774b631d4d97e4 /man/2/volume | |
| parent | 37da2899f40661e3e9631e497da8dc59b971cbd0 (diff) | |
20060303-partial
Diffstat (limited to 'man/2/volume')
| -rw-r--r-- | man/2/volume | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/man/2/volume b/man/2/volume new file mode 100644 index 00000000..58b5d61f --- /dev/null +++ b/man/2/volume @@ -0,0 +1,51 @@ +.TH VOLUME 2 mux +.SH NAME +volume \- volume control for an infrared interface +.SH SYNOPSIS +.EX +include "volume.m"; +vctl := load Volumectl Volumectl->PATH; + +volumectl: fn(ctxt: ref Draw->Context, ch: chan of int, + device: string); +.EE +.SH DESCRIPTION +.B Volumectl +should be spawned as a separate process from any process that desires volume control via an infrared interface. +.I Ctxt +provides +.B volumectl +with access to the display, +on which it displays a slider widget. +The slider automatically disappears after several seconds of inactivity. +.B Volumectl +receives input from the infrared controller on channel +.IR ch . +The values recognized are: +.TF Enter +.PD +.TP +.B VolUP +increase volume +.TP +.B VolDN +decrease volume +.TP +.B Enter +exit +.PP +.I Device +is a string used as a prefix to commands to the device; +for example +.B +"audio out" +.ft P +for +.IR audio (3). +.SH FILES +.B /dev/volume +.SH SOURCE +.B /appl/lib/volume.b +.SH "SEE ALSO" +.IR ir (2), +.IR prefab-intro (2) |
