diff options
author | Max Kellermann <max@duempel.org> | 2014-08-29 23:41:34 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-08-29 23:41:34 +0200 |
commit | 7c567e3cbd2cc136ee029cf9300f73eb8f1118c6 (patch) | |
tree | 3277e8a1640f664de0e4a06d35146ce8c5b3ce68 /src/CrossFade.hxx | |
parent | 58352ea69d3e40bd3c91eacc7bbd48f58d5f2c8a (diff) | |
download | mpd-7c567e3cbd2cc136ee029cf9300f73eb8f1118c6.tar.gz mpd-7c567e3cbd2cc136ee029cf9300f73eb8f1118c6.tar.xz mpd-7c567e3cbd2cc136ee029cf9300f73eb8f1118c6.zip |
CrossFade: pass total_time as SignedSongTime instance
Diffstat (limited to 'src/CrossFade.hxx')
-rw-r--r-- | src/CrossFade.hxx | 3 |
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, |