Reference

wmsound(1x)

WindowMaker Sound Server

NAME

wmsound - WindowMaker Sound Server

SYNOPSIS

wmsound

DESCRIPTION

WMSound is the WindowMaker Sound Server. If WindowMaker is configured with the --sound option, this program will communicate with WindowMaker and play different sounds upon request. Sound can be turned off using WindowMaker's option DisableSound.

The most efficient way of using this program is to launch it in the background in ~/.xsession (wmsound &), or by docking it (and optionally autolauching it). Anyways, if the server is not started WindowMaker will run just fine.

ENVIRONMENT

GNUSTEP_USER_ROOT

specifies the initial path for the Defaults directory. "Defaults/" is appended to this variable to determine the actual location of the databases. If the variable is not set, it defaults to "~/GNUstep"

GNUSTEP_LOCAL_ROOT

specifies the location of the system-wide local GNUstep directory (this is useful, for example, in those cases where the system-wide location is really a network wide location). If this variable is empty, GNUSTEP_SYSTEM_ROOT is looked for.

GNUSTEP_SYSTEM_ROOT

specifies the location of the system-wide GNUstep directory. If this variable is empty, it defaults to /etc/GNUstep

FILES

GNUSTEP_*_ROOT/Defaults/WMSound

WMSound configuration

SEE ALSO

setsounds(1x), getsounds(1x), nmaker(1x), wmaker(1x)

FUTURE DEVELOPMENT

Anthony wants to turn wmsound into a totally dynamic program, and independent of any predefined sound events. It could be done in the same fassion as wmsound and wmaker communicate. A new Atom would be needed, probally something like WM_WMSOUND_FUNCTION. It could work like this:

All sound events used by WindowMaker are defined in WindowMaker's wmsound.c.

WindowMaker starts up, and grabs WMSound, then says 'Hey, I have these sound events defined, can you give me an event number for them?'

WMSound will reply 'sure, I have a free event here, so assign ?? event to XXX', then WindowMaker would restore that id into a table of some sorts, so it can find it later.

If WMSound works this way, then any number of programs could use WMSound to play events, without patching wmsound. That would be a great benefit.

AUTHOR

WMSound was written Anthony Quinn <[email protected]>.

This man page was written by Marcelo Magallon <[email protected]>.