CrossFade: apply coding style
This commit is contained in:
@@ -96,13 +96,14 @@ static float mixramp_interpolate(char *ramp_list, float required_db)
|
|||||||
return nan("");
|
return nan("");
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned cross_fade_calc(float duration, float total_time,
|
unsigned
|
||||||
float mixramp_db, float mixramp_delay,
|
cross_fade_calc(float duration, float total_time,
|
||||||
float replay_gain_db, float replay_gain_prev_db,
|
float mixramp_db, float mixramp_delay,
|
||||||
char *mixramp_start, char *mixramp_prev_end,
|
float replay_gain_db, float replay_gain_prev_db,
|
||||||
const AudioFormat af,
|
char *mixramp_start, char *mixramp_prev_end,
|
||||||
const AudioFormat old_format,
|
const AudioFormat af,
|
||||||
unsigned max_chunks)
|
const AudioFormat old_format,
|
||||||
|
unsigned max_chunks)
|
||||||
{
|
{
|
||||||
unsigned int chunks = 0;
|
unsigned int chunks = 0;
|
||||||
float chunks_f;
|
float chunks_f;
|
||||||
|
@@ -40,11 +40,12 @@ struct music_chunk;
|
|||||||
* @return the number of chunks for crossfading, or 0 if cross fading
|
* @return the number of chunks for crossfading, or 0 if cross fading
|
||||||
* should be disabled for this song change
|
* should be disabled for this song change
|
||||||
*/
|
*/
|
||||||
unsigned cross_fade_calc(float duration, float total_time,
|
unsigned
|
||||||
float mixramp_db, float mixramp_delay,
|
cross_fade_calc(float duration, float total_time,
|
||||||
float replay_gain_db, float replay_gain_prev_db,
|
float mixramp_db, float mixramp_delay,
|
||||||
char *mixramp_start, char *mixramp_prev_end,
|
float replay_gain_db, float replay_gain_prev_db,
|
||||||
AudioFormat af, AudioFormat old_format,
|
char *mixramp_start, char *mixramp_prev_end,
|
||||||
unsigned max_chunks);
|
AudioFormat af, AudioFormat old_format,
|
||||||
|
unsigned max_chunks);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user