aboutsummaryrefslogtreecommitdiffstats
path: root/src/CrossFade.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/CrossFade.cxx')
-rw-r--r--src/CrossFade.cxx15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/CrossFade.cxx b/src/CrossFade.cxx
index 647d13ee5..6b95a9c8b 100644
--- a/src/CrossFade.cxx
+++ b/src/CrossFade.cxx
@@ -96,13 +96,14 @@ static float mixramp_interpolate(char *ramp_list, float required_db)
return nan("");
}
-unsigned cross_fade_calc(float duration, float total_time,
- float mixramp_db, float mixramp_delay,
- float replay_gain_db, float replay_gain_prev_db,
- char *mixramp_start, char *mixramp_prev_end,
- const AudioFormat af,
- const AudioFormat old_format,
- unsigned max_chunks)
+unsigned
+cross_fade_calc(float duration, float total_time,
+ float mixramp_db, float mixramp_delay,
+ float replay_gain_db, float replay_gain_prev_db,
+ char *mixramp_start, char *mixramp_prev_end,
+ const AudioFormat af,
+ const AudioFormat old_format,
+ unsigned max_chunks)
{
unsigned int chunks = 0;
float chunks_f;