aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/decoder_api.c')
-rw-r--r--src/decoder_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decoder_api.c b/src/decoder_api.c
index a951b07cf..60d283052 100644
--- a/src/decoder_api.c
+++ b/src/decoder_api.c
@@ -419,7 +419,7 @@ decoder_replay_gain(struct decoder *decoder,
if (REPLAY_GAIN_OFF != replay_gain_mode) {
return_db = 20.0 * log10f(
replay_gain_tuple_scale(
- &replay_gain_info->tuples[replay_gain_mode],
+ &replay_gain_info->tuples[replay_gain_get_real_mode()],
replay_gain_preamp));
}