diff options
author | Daniel Seuthe <daniel+mpd@seuthe.org> | 2010-05-30 17:05:43 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2010-05-30 17:06:08 +0200 |
commit | e8310211e216a1de0b4e856496633966d106b831 (patch) | |
tree | a117c252f846b944a73a85f3f8c3299f0e7eb594 /src/decoder_api.c | |
parent | 3709b9aa11328c50dff9f7742ce8b5ef967d5d4d (diff) | |
download | mpd-e8310211e216a1de0b4e856496633966d106b831.tar.gz mpd-e8310211e216a1de0b4e856496633966d106b831.tar.xz mpd-e8310211e216a1de0b4e856496633966d106b831.zip |
filter/replay_gain: added option "replaygain_limit"
Diffstat (limited to 'src/decoder_api.c')
-rw-r--r-- | src/decoder_api.c | 3 |
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; |