aboutsummaryrefslogtreecommitdiffstats
path: root/src/DecoderAPI.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/DecoderAPI.cxx')
-rw-r--r--src/DecoderAPI.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/DecoderAPI.cxx b/src/DecoderAPI.cxx
index f672b1750..1b435c43a 100644
--- a/src/DecoderAPI.cxx
+++ b/src/DecoderAPI.cxx
@@ -541,11 +541,9 @@ decoder_replay_gain(Decoder &decoder,
}
void
-decoder_mixramp(Decoder &decoder,
- char *mixramp_start, char *mixramp_end)
+decoder_mixramp(Decoder &decoder, MixRampInfo &&mix_ramp)
{
decoder_control &dc = decoder.dc;
- dc.MixRampStart(mixramp_start);
- dc.MixRampEnd(mixramp_end);
+ dc.SetMixRamp(std::move(mix_ramp));
}