aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-04-15 05:56:54 +0000
committerEric Wong <normalperson@yhbt.net>2008-04-15 05:56:54 +0000
commitd548deb45be699c8194d8c642605e31c869209e6 (patch)
tree2e6e448435d63668e26205c3016777ec64e80c9e /src
parentf201f2c922003dc4d07a7b7d71ca44976ab8eb7c (diff)
downloadmpd-d548deb45be699c8194d8c642605e31c869209e6.tar.gz
mpd-d548deb45be699c8194d8c642605e31c869209e6.tar.xz
mpd-d548deb45be699c8194d8c642605e31c869209e6.zip
const pointers in normalize.c
git-svn-id: https://svn.musicpd.org/mpd/trunk@7361 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/normalize.c2
-rw-r--r--src/normalize.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/normalize.c b/src/normalize.c
index c38ffa0fe..b50e5bdcd 100644
--- a/src/normalize.c
+++ b/src/normalize.c
@@ -39,7 +39,7 @@ void finishNormalization(void)
if (normalizationEnabled) CompressFree();
}
-void normalizeData(char *buffer, int bufferSize, AudioFormat *format)
+void normalizeData(char *buffer, int bufferSize, const AudioFormat *format)
{
if ((format->bits != 16) || (format->channels != 2)) return;
diff --git a/src/normalize.h b/src/normalize.h
index ddbefab08..8356b2a7c 100644
--- a/src/normalize.h
+++ b/src/normalize.h
@@ -27,6 +27,6 @@ void initNormalization(void);
void finishNormalization(void);
-void normalizeData(char *buffer, int bufferSize, AudioFormat *format);
+void normalizeData(char *buffer, int bufferSize, const AudioFormat *format);
#endif /* !NORMALIZE_H */