From c77fa296bceecba8f257d544f1503823f3abcb69 Mon Sep 17 00:00:00 2001 From: Jeffrey Middleton Date: Wed, 2 Dec 2009 21:11:26 -0600 Subject: compress: add config.h This includes some default values of #defined constants used in the code; it won't compile without it. --- src/AudioCompress/config.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/AudioCompress/config.h (limited to 'src') 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 + -- cgit v1.2.3