aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder
diff options
context:
space:
mode:
authorDaniel Seuthe <daniel+mpd@seuthe.org>2010-05-30 17:05:43 +0200
committerMax Kellermann <max@duempel.org>2010-05-30 17:06:08 +0200
commite8310211e216a1de0b4e856496633966d106b831 (patch)
treea117c252f846b944a73a85f3f8c3299f0e7eb594 /src/decoder
parent3709b9aa11328c50dff9f7742ce8b5ef967d5d4d (diff)
downloadmpd-e8310211e216a1de0b4e856496633966d106b831.tar.gz
mpd-e8310211e216a1de0b4e856496633966d106b831.tar.xz
mpd-e8310211e216a1de0b4e856496633966d106b831.zip
filter/replay_gain: added option "replaygain_limit"
Diffstat (limited to '')
-rw-r--r--src/decoder_api.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/decoder_api.c b/src/decoder_api.c
index 60d283052..fe34ea34a 100644
--- a/src/decoder_api.c
+++ b/src/decoder_api.c
@@ -420,7 +420,8 @@ decoder_replay_gain(struct decoder *decoder,
return_db = 20.0 * log10f(
replay_gain_tuple_scale(
&replay_gain_info->tuples[replay_gain_get_real_mode()],
- replay_gain_preamp));
+ replay_gain_preamp, replay_gain_missing_preamp,
+ replay_gain_limit));
}
decoder->replay_gain_info = *replay_gain_info;