diff options
author | Max Kellermann <max@duempel.org> | 2008-04-15 05:56:54 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-04-15 05:56:54 +0000 |
commit | d548deb45be699c8194d8c642605e31c869209e6 (patch) | |
tree | 2e6e448435d63668e26205c3016777ec64e80c9e /src | |
parent | f201f2c922003dc4d07a7b7d71ca44976ab8eb7c (diff) | |
download | mpd-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.c | 2 | ||||
-rw-r--r-- | src/normalize.h | 2 |
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 */ |