Updating compress.[ch] from AudioCompress
git-svn-id: https://svn.musicpd.org/mpd/trunk@4476 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
0116c27a6b
commit
a48061bacf
|
@ -1,6 +1,8 @@
|
|||
/* compress.c
|
||||
** Compressor logic
|
||||
*/
|
||||
* Compressor logic
|
||||
*
|
||||
* (c)2003-6 fluffy@beesbuzz.biz
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
|
|
@ -1,13 +1,15 @@
|
|||
/* compress.h
|
||||
** interface to audio compression
|
||||
*/
|
||||
* interface to audio compression
|
||||
*
|
||||
* (c)2003-6 fluffy@beesbuzz.biz
|
||||
*/
|
||||
|
||||
#ifndef COMPRESS_H
|
||||
#define COMPRESS_H
|
||||
|
||||
/* These are copied from the AudioCompress config.h, mainly because CompressDo
|
||||
* needs GAINSHIFT defined. The rest are here so they can be used as defaults
|
||||
* to pass to CompressCfg. */
|
||||
* to pass to CompressCfg(). -- jat */
|
||||
#define ANTICLIP 0 /* Strict clipping protection */
|
||||
#define TARGET 25000 /* Target level */
|
||||
#define GAINMAX 32 /* The maximum amount to amplify by */
|
||||
|
|
Loading…
Reference in New Issue