wmbiff: comparison between pointer and integer.
[dockapps.git] / wmmixer / home.wmmixer
blob6e05f810b473dd28c732ba0c2d8621a32416838e
1 # wmmixer - A mixer designed for WindowMaker
2 # 8 Jun 2002  Release 1.4
3 # Copyright (C) 1998  Sam Hawker <shawkie@geocities.com>
4 # This software comes with ABSOLUTELY NO WARRANTY
5 # This software is free software, and you are welcome to redistribute it
6 # under certain conditions
7 # See the README file for a more complete notice.
9 # User config file
10 # Should be saved as ~/.wmmixer
11 # Comments and blank lines mostly allowed
13 # The format of this file is a series of commands:
15 # addchannel %i
16 #    Adds a channel to the sequence. %i specifies a channel.
17 #    These are the values from my <linux/soundcard.h>:
18 #       SOUND_MIXER_VOLUME    0
19 #       SOUND_MIXER_BASS      1
20 #       SOUND_MIXER_TREBLE    2
21 #       SOUND_MIXER_SYNTH     3
22 #       SOUND_MIXER_PCM       4
23 #       SOUND_MIXER_SPEAKER   5
24 #       SOUND_MIXER_LINE      6
25 #       SOUND_MIXER_MIC       7
26 #       SOUND_MIXER_CD        8
27 #    There are a few more, but these are the important ones (and are
28 #    those identified with appropriate icons).
29 #    Ths channel added becomes the current channel for subsequent
30 #    setmono, setleft, setright and setrecsrc commands.
32 # setchannel %i
33 #    Similar to addchannel, except the channel is not actually added
34 #    to the sequence, merely made the current channel for subsequent
35 #    setmono, setleft, setright and setrecsrc commands.
37 # setmono %i
38 #    Sets both left and right volumes for the current channel.
39 #    The channel may be mono or stereo.
40 #    The value specified must be an integer in the range 0 to 100.
42 # setleft %i
43 #    Sets left volume for the current channel.
44 #    Do not use on a mono channel.
45 #    The value specified must be an integer in the range 0 to 100.
47 # setright %i
48 #    Sets right volume for the current channel.
49 #    Do not use on a mono channel.
50 #    The value specified must be an integer in the range 0 to 100.
52 # setrecsrc TRUE | FALSE
53 #    Enable or disable recording from the current channel.
54 #    Ignored if the channel does not support it.
55 #    The value is TRUE or FALSE.
57 # At least one channel must be added!
59 addchannel 0
61 addchannel 3
63 addchannel 4
65 addchannel 6
67 addchannel 7
69 addchannel 8