pcm/AudioCompress: fold config.h into compress.c
This commit is contained in:
parent
0a623122dc
commit
d712c3b408
@ -6,9 +6,15 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
#include "compress.h"
|
#include "compress.h"
|
||||||
|
|
||||||
|
/*** 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 */
|
||||||
|
|
||||||
struct Compressor {
|
struct Compressor {
|
||||||
//! The compressor's preferences
|
//! The compressor's preferences
|
||||||
struct CompressorConfig prefs;
|
struct CompressorConfig prefs;
|
||||||
|
@ -1,19 +0,0 @@
|
|||||||
/* 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
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user