aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-12-14 21:36:25 +0100
committerMax Kellermann <max@duempel.org>2009-12-25 17:51:08 +0100
commit870436a592b081c4630b9ecc36ff8daecf6496cc (patch)
tree96aca67066a54b308cd2958467bb17b81234f3fb /src/decoder
parent6a17233f78d177bacc3b13fa4e8ac15fe08a4f51 (diff)
downloadmpd-870436a592b081c4630b9ecc36ff8daecf6496cc.tar.gz
mpd-870436a592b081c4630b9ecc36ff8daecf6496cc.tar.xz
mpd-870436a592b081c4630b9ecc36ff8daecf6496cc.zip
output_init: use the normalize filter plugin
Use the plugin instead of the glue code in normalize.c. This is used wrapped inside a "autoconv" filter, to enable normalization for all input file formats.
Diffstat (limited to '')
-rw-r--r--src/decoder_api.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/decoder_api.c b/src/decoder_api.c
index 73b01533f..ae2c6687b 100644
--- a/src/decoder_api.c
+++ b/src/decoder_api.c
@@ -25,8 +25,6 @@
#include "audio.h"
#include "song.h"
#include "buffer.h"
-
-#include "normalize.h"
#include "pipe.h"
#include "chunk.h"
@@ -340,8 +338,6 @@ decoder_data(struct decoder *decoder,
if (replay_gain_mode != REPLAY_GAIN_OFF)
replay_gain_apply(replay_gain_info, dest, nbytes,
&dc->out_audio_format);
- else if (normalizationEnabled)
- normalizeData(dest, nbytes, &dc->out_audio_format);
/* expand the music pipe chunk */