Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
a48061ba
Commit
a48061ba
authored
Jul 27, 2006
by
J. Alexander Treuman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updating compress.[ch] from AudioCompress
git-svn-id:
https://svn.musicpd.org/mpd/trunk@4476
09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent
0116c27a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
compress.c
src/compress.c
+4
-2
compress.h
src/compress.h
+5
-3
No files found.
src/compress.c
View file @
a48061ba
/* compress.c
/* compress.c
** Compressor logic
* Compressor logic
*/
*
* (c)2003-6 fluffy@beesbuzz.biz
*/
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
...
...
src/compress.h
View file @
a48061ba
/* compress.h
/* compress.h
** interface to audio compression
* interface to audio compression
*/
*
* (c)2003-6 fluffy@beesbuzz.biz
*/
#ifndef COMPRESS_H
#ifndef COMPRESS_H
#define COMPRESS_H
#define COMPRESS_H
/* These are copied from the AudioCompress config.h, mainly because CompressDo
/* 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
* 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 ANTICLIP 0
/* Strict clipping protection */
#define TARGET 25000
/* Target level */
#define TARGET 25000
/* Target level */
#define GAINMAX 32
/* The maximum amount to amplify by */
#define GAINMAX 32
/* The maximum amount to amplify by */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment