aboutsummaryrefslogtreecommitdiffstats
path: root/src/CrossFade.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-08-29 23:41:34 +0200
committerMax Kellermann <max@duempel.org>2014-08-29 23:41:34 +0200
commit7c567e3cbd2cc136ee029cf9300f73eb8f1118c6 (patch)
tree3277e8a1640f664de0e4a06d35146ce8c5b3ce68 /src/CrossFade.hxx
parent58352ea69d3e40bd3c91eacc7bbd48f58d5f2c8a (diff)
downloadmpd-7c567e3cbd2cc136ee029cf9300f73eb8f1118c6.tar.gz
mpd-7c567e3cbd2cc136ee029cf9300f73eb8f1118c6.tar.xz
mpd-7c567e3cbd2cc136ee029cf9300f73eb8f1118c6.zip
CrossFade: pass total_time as SignedSongTime instance
Diffstat (limited to '')
-rw-r--r--src/CrossFade.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/CrossFade.hxx b/src/CrossFade.hxx
index b385ea316..81e96e8d3 100644
--- a/src/CrossFade.hxx
+++ b/src/CrossFade.hxx
@@ -23,6 +23,7 @@
#include "Compiler.h"
struct AudioFormat;
+class SignedSongTime;
struct CrossFadeSettings {
/**
@@ -60,7 +61,7 @@ struct CrossFadeSettings {
* should be disabled for this song change
*/
gcc_pure
- unsigned Calculate(float total_time,
+ unsigned Calculate(SignedSongTime total_time,
float replay_gain_db, float replay_gain_prev_db,
const char *mixramp_start,
const char *mixramp_prev_end,