diff options
-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 */ |