1 // wmmixer.h - A mixer designed for WindowMaker
4 // Copyright (C) 1998 Sam Hawker <shawkie@geocities.com>
5 // Copyright (C) 2002 Gordon Fraser <gordon@debian.org>
6 // Patch added by Rodolfo (kix) Garcia <kix@kix.es> to select the config file
7 // This software comes with ABSOLUTELY NO WARRANTY
8 // This software is free software, and you are welcome to redistribute it
9 // under certain conditions
10 // See the COPYING file for details.
31 #include "exception.h"
33 // For repeating next and prev buttons
35 #define CONFIGFILELEN 256
44 char mixer_device_
[256];
45 char config_file_
[CONFIGFILELEN
];
46 unsigned num_channels_
;
47 unsigned current_channel_
;
48 unsigned current_channel_left_
;
49 unsigned current_channel_right_
;
50 bool current_recording_
;
51 bool current_show_recording_
;
55 unsigned *channel_list_
;
59 // For draggable volume control
61 // Default scroll amount
65 void readConfigurationFile();
66 void displayVersion(void);
67 void displayUsage(const char*);
70 void motionEvent(XMotionEvent
*xev
);
71 void releaseEvent(XButtonEvent
*xev
);
72 void pressEvent(XButtonEvent
*xev
);
73 void parseArgs(int , char **);
84 void init(int, char **);
89 #endif //__wmmixer_h__