Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
7f03f68f
Commit
7f03f68f
authored
Oct 26, 2013
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CrossFade: apply coding style
parent
de862f9f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
CrossFade.cxx
src/CrossFade.cxx
+2
-1
CrossFade.hxx
src/CrossFade.hxx
+2
-1
No files found.
src/CrossFade.cxx
View file @
7f03f68f
...
@@ -96,7 +96,8 @@ static float mixramp_interpolate(char *ramp_list, float required_db)
...
@@ -96,7 +96,8 @@ static float mixramp_interpolate(char *ramp_list, float required_db)
return
nan
(
""
);
return
nan
(
""
);
}
}
unsigned
cross_fade_calc
(
float
duration
,
float
total_time
,
unsigned
cross_fade_calc
(
float
duration
,
float
total_time
,
float
mixramp_db
,
float
mixramp_delay
,
float
mixramp_db
,
float
mixramp_delay
,
float
replay_gain_db
,
float
replay_gain_prev_db
,
float
replay_gain_db
,
float
replay_gain_prev_db
,
char
*
mixramp_start
,
char
*
mixramp_prev_end
,
char
*
mixramp_start
,
char
*
mixramp_prev_end
,
...
...
src/CrossFade.hxx
View file @
7f03f68f
...
@@ -40,7 +40,8 @@ struct music_chunk;
...
@@ -40,7 +40,8 @@ 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
cross_fade_calc
(
float
duration
,
float
total_time
,
float
mixramp_db
,
float
mixramp_delay
,
float
mixramp_db
,
float
mixramp_delay
,
float
replay_gain_db
,
float
replay_gain_prev_db
,
float
replay_gain_db
,
float
replay_gain_prev_db
,
char
*
mixramp_start
,
char
*
mixramp_prev_end
,
char
*
mixramp_start
,
char
*
mixramp_prev_end
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment