diff options
Diffstat (limited to '')
-rw-r--r-- | src/normalize.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/normalize.c b/src/normalize.c index b50e5bdcd..da655a648 100644 --- a/src/normalize.c +++ b/src/normalize.c @@ -19,6 +19,7 @@ #include "normalize.h" #include "compress.h" #include "conf.h" +#include "audio_format.h" #define DEFAULT_VOLUME_NORMALIZATION 0 @@ -39,7 +40,8 @@ void finishNormalization(void) if (normalizationEnabled) CompressFree(); } -void normalizeData(char *buffer, int bufferSize, const AudioFormat *format) +void normalizeData(char *buffer, int bufferSize, + const struct audio_format *format) { if ((format->bits != 16) || (format->channels != 2)) return; |