From d548deb45be699c8194d8c642605e31c869209e6 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 15 Apr 2008 05:56:54 +0000 Subject: const pointers in normalize.c git-svn-id: https://svn.musicpd.org/mpd/trunk@7361 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/normalize.c | 2 +- src/normalize.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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 */ -- cgit v1.2.3