summaryrefslogtreecommitdiff
path: root/src/CrossFade.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-10-26 13:53:08 +0200
committerMax Kellermann <max@duempel.org>2013-10-26 13:53:08 +0200
commit7f03f68fcc430bee1f5586bf0b6f0f6a16956897 (patch)
treeeb66974ad92997148169ae5ac031ae24475a0215 /src/CrossFade.cxx
parentde862f9f1bb72bd624cf4f341d03584a4123a6cb (diff)
CrossFade: apply coding style
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;