diff options
author | Max Kellermann <max@duempel.org> | 2009-12-14 21:36:25 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-12-25 17:51:08 +0100 |
commit | 870436a592b081c4630b9ecc36ff8daecf6496cc (patch) | |
tree | 96aca67066a54b308cd2958467bb17b81234f3fb /src/decoder_api.c | |
parent | 6a17233f78d177bacc3b13fa4e8ac15fe08a4f51 (diff) | |
download | mpd-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 'src/decoder_api.c')
-rw-r--r-- | src/decoder_api.c | 4 |
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 */ |