aboutsummaryrefslogtreecommitdiffstats
path: root/src/DecoderControl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/DecoderControl.cxx')
-rw-r--r--src/DecoderControl.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/DecoderControl.cxx b/src/DecoderControl.cxx
index ff6d1ad2d..cbe93361e 100644
--- a/src/DecoderControl.cxx
+++ b/src/DecoderControl.cxx
@@ -144,8 +144,11 @@ decoder_control::MixRampEnd(char *_mixramp_end)
}
void
-decoder_control::MixRampPrevEnd(char *_mixramp_prev_end)
+decoder_control::CycleMixRamp()
{
+ g_free(mixramp_start);
+ mixramp_start = nullptr;
g_free(mixramp_prev_end);
- mixramp_prev_end = _mixramp_prev_end;
+ mixramp_prev_end = mixramp_end;
+ mixramp_end = nullptr;
}