summaryrefslogtreecommitdiff
path: root/audio/volume.app/config.h.in.mod
diff options
context:
space:
mode:
authorYanes Checcacci Balod <yanes@pobox.com>2014-05-03 13:56:50 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-05-03 13:56:50 +0700
commit9a2f809c346508b42d6786d9877d8a6b06445eac (patch)
treefc84585bb021f9d514968b08ce5cc79b1436b71c /audio/volume.app/config.h.in.mod
parent711300a32e22f9708682db5e606257bfccbbb1cb (diff)
downloadslackbuilds-9a2f809c346508b42d6786d9877d8a6b06445eac.tar.gz
audio/volume.app: Fix mute/unmute in ALSA.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/volume.app/config.h.in.mod')
-rw-r--r--audio/volume.app/config.h.in.mod27
1 files changed, 27 insertions, 0 deletions
diff --git a/audio/volume.app/config.h.in.mod b/audio/volume.app/config.h.in.mod
new file mode 100644
index 0000000000..7cdecad2dd
--- /dev/null
+++ b/audio/volume.app/config.h.in.mod
@@ -0,0 +1,27 @@
+/* config.h */
+
+#define _GNU_SOURCE
+#define VERSION "@VERSION@"
+
+#ifndef DEBUG
+#define NDEBUG
+#endif
+
+/* All these settings should eventually be configurable via libPropList */
+
+/* Note that within the program, the first source is 0 and not 1
+ */
+#define DEFAULT_SOURCE 0
+
+#define DEFAULT_MIXER_DEVICE "/dev/mixer2"
+
+/* units: seconds
+ */
+#define MAX_DOUBLE_CLICK_TIME 0.5
+
+/* X11 wheel button codes (for wheel mice)
+ */
+#define BUTTON_WHEEL_UP 4
+#define BUTTON_WHEEL_DOWN 5
+
+/* end config.h */