Commit d548deb4 authored by Max Kellermann's avatar Max Kellermann Committed by Eric Wong

const pointers in normalize.c

git-svn-id: https://svn.musicpd.org/mpd/trunk@7361 09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent f201f2c9
......@@ -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;
......
......@@ -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 */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment