From 8b055c3127fb65aaeceb571b7db264c066b9cc3f Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 20 Jul 2010 22:32:55 +0200 Subject: tag_rva2: set "gain", not "peak" RVA2 tags only store the "gain" value, there is no "peak" attribute. --- src/decoder/mad_plugin.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/decoder/mad_plugin.c b/src/decoder/mad_plugin.c index 88bc4c214..9b3259485 100644 --- a/src/decoder/mad_plugin.c +++ b/src/decoder/mad_plugin.c @@ -277,8 +277,8 @@ parse_rva2(struct id3_tag *tag, struct replay_gain_info *replay_gain_info) voladj_float = (double) voladj_fixed / 512; - replay_gain_info->tuples[REPLAY_GAIN_TRACK].peak = voladj_float; - replay_gain_info->tuples[REPLAY_GAIN_ALBUM].peak = voladj_float; + replay_gain_info->tuples[REPLAY_GAIN_TRACK].gain = voladj_float; + replay_gain_info->tuples[REPLAY_GAIN_ALBUM].gain = voladj_float; g_debug("parseRVA2: Relative Volume " "%+.1f dB adjustment (%s)\n", -- cgit v1.2.3