[Top] [Prev] [Next] [Bottom]


[Contents] [Index]

volume - volume control for an infrared interface

Volumectl: module
{
	PATH:      con "/dis/lib/volume.dis";
	volumectl: fn(ctxt: ref Draw->Context, ch: chan of int, 
device: string);
};

Description

The volumectl module should be spawned as a separate process from any process that desires volume control via an infrared interface.

The parameters are:

ctxt

A Context that provides volumectl with access to the display. It is used to display a slider widget. The slider automatically disappears after several seconds of inactivity.

ch

A chan of int through which volumectl receives input from the infrared controller. The values recognized are:
VolUP increase volume
VolDN decrease volume
Enter exit

device

This argument is a string that is used as a prefix to commands to the device, for example, audio out.

Files

/dev/volume

See Also

ir - infrared remote control



[Top] [Prev] [Next] [Bottom]

infernosupport@lucent.com
Copyright © 1997, Lucent Technologies, Inc.. All rights reserved.