aboutsummaryrefslogtreecommitdiffstats
path: root/src/normalize.h
diff options
context:
space:
mode:
authorJ. Alexander Treuman <jat@spatialrift.net>2006-07-27 00:50:59 +0000
committerJ. Alexander Treuman <jat@spatialrift.net>2006-07-27 00:50:59 +0000
commit22b16884a2fb054ed219f07774cc16ec3af34c26 (patch)
tree605a3313d64b7a048c9cab56b2db210eaf7d40a5 /src/normalize.h
parentbf5336cebd9e31e0eb0664ef62ce5c6751aa31a3 (diff)
downloadmpd-22b16884a2fb054ed219f07774cc16ec3af34c26.tar.gz
mpd-22b16884a2fb054ed219f07774cc16ec3af34c26.tar.xz
mpd-22b16884a2fb054ed219f07774cc16ec3af34c26.zip
Use AudioCompress for volume normalization
git-svn-id: https://svn.musicpd.org/mpd/trunk@4474 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/normalize.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/normalize.h b/src/normalize.h
index f131669a8..73e442882 100644
--- a/src/normalize.h
+++ b/src/normalize.h
@@ -16,6 +16,17 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
+#ifndef NORMALIZE_H
+#define NORMALIZE_H
+
#include "audio.h"
+extern int normalizationEnabled;
+
+void initNormalization();
+
+void finishNormalization();
+
void normalizeData(char *buffer, int bufferSize, AudioFormat *format);
+
+#endif /* !NORMALIZE_H */