aboutsummaryrefslogtreecommitdiffstats
path: root/src
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
parentde862f9f1bb72bd624cf4f341d03584a4123a6cb (diff)
downloadmpd-7f03f68fcc430bee1f5586bf0b6f0f6a16956897.tar.gz
mpd-7f03f68fcc430bee1f5586bf0b6f0f6a16956897.tar.xz
mpd-7f03f68fcc430bee1f5586bf0b6f0f6a16956897.zip
CrossFade: apply coding style
Diffstat (limited to '')
-rw-r--r--src/CrossFade.cxx15
-rw-r--r--src/CrossFade.hxx13
2 files changed, 15 insertions, 13 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;
diff --git a/src/CrossFade.hxx b/src/CrossFade.hxx
index f285c0e9a..3b9aa58cc 100644
--- a/src/CrossFade.hxx
+++ b/src/CrossFade.hxx
@@ -40,11 +40,12 @@ struct music_chunk;
* @return the number of chunks for crossfading, or 0 if cross fading
* should be disabled for this song change
*/
-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,
- AudioFormat af, 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,
+ AudioFormat af, AudioFormat old_format,
+ unsigned max_chunks);
#endif