aboutsummaryrefslogtreecommitdiffstats
path: root/src/CrossFade.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/CrossFade.cxx')
-rw-r--r--src/CrossFade.cxx13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/CrossFade.cxx b/src/CrossFade.cxx
index b66f96adf..76820fb45 100644
--- a/src/CrossFade.cxx
+++ b/src/CrossFade.cxx
@@ -87,13 +87,12 @@ mixramp_interpolate(const char *ramp_list, float required_db)
}
unsigned
-cross_fade_calc(float duration, float total_time,
- float mixramp_db, float mixramp_delay,
- float replay_gain_db, float replay_gain_prev_db,
- const char *mixramp_start, const char *mixramp_prev_end,
- const AudioFormat af,
- const AudioFormat old_format,
- unsigned max_chunks)
+CrossFadeSettings::Calculate(float total_time,
+ float replay_gain_db, float replay_gain_prev_db,
+ const char *mixramp_start, const char *mixramp_prev_end,
+ const AudioFormat af,
+ const AudioFormat old_format,
+ unsigned max_chunks) const
{
unsigned int chunks = 0;
float chunks_f;