aboutsummaryrefslogtreecommitdiffstats
path: root/src/AudioCompress
diff options
context:
space:
mode:
authorJeffrey Middleton <jefromi@gmail.com>2009-12-02 21:11:26 -0600
committerJeffrey Middleton <jefromi@gmail.com>2009-12-02 21:14:35 -0600
commitc77fa296bceecba8f257d544f1503823f3abcb69 (patch)
treed592b5af5496de9d249be6d0d02cc29bd2670b51 /src/AudioCompress
parentc412d6251e9cd3abe735b7622af4003502e54f72 (diff)
downloadmpd-c77fa296bceecba8f257d544f1503823f3abcb69.tar.gz
mpd-c77fa296bceecba8f257d544f1503823f3abcb69.tar.xz
mpd-c77fa296bceecba8f257d544f1503823f3abcb69.zip
compress: add config.h
This includes some default values of #defined constants used in the code; it won't compile without it.
Diffstat (limited to '')
-rw-r--r--src/AudioCompress/config.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/AudioCompress/config.h b/src/AudioCompress/config.h
new file mode 100644
index 000000000..25615ee68
--- /dev/null
+++ b/src/AudioCompress/config.h
@@ -0,0 +1,19 @@
+/* config.h
+** Default values for the configuration, and also a few random debug things
+*/
+
+#ifndef AC_CONFIG_H
+#define AC_CONFIG_H
+
+/*** Version information ***/
+#define ACVERSION "2.0"
+
+/*** Default configuration stuff ***/
+#define TARGET 16384 /*!< Target level (on a scale of 0-32767) */
+
+#define GAINMAX 32 /*!< The maximum amount to amplify by */
+#define GAINSMOOTH 8 /*!< How much inertia ramping has*/
+#define BUCKETS 400 /*!< How long of a history to use by default */
+
+#endif
+