aboutsummaryrefslogtreecommitdiffstats
path: root/src/PlayerThread.cxx
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/PlayerThread.cxx
parent58352ea69d3e40bd3c91eacc7bbd48f58d5f2c8a (diff)
downloadmpd-7c567e3cbd2cc136ee029cf9300f73eb8f1118c6.tar.gz
mpd-7c567e3cbd2cc136ee029cf9300f73eb8f1118c6.tar.xz
mpd-7c567e3cbd2cc136ee029cf9300f73eb8f1118c6.zip
CrossFade: pass total_time as SignedSongTime instance
Diffstat (limited to 'src/PlayerThread.cxx')
-rw-r--r--src/PlayerThread.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PlayerThread.cxx b/src/PlayerThread.cxx
index c74fdeba6..c5308e612 100644
--- a/src/PlayerThread.cxx
+++ b/src/PlayerThread.cxx
@@ -1001,7 +1001,7 @@ Player::Run()
calculate how many chunks will be required
for it */
cross_fade_chunks =
- pc.cross_fade.Calculate(dc.total_time.ToDoubleS(),
+ pc.cross_fade.Calculate(dc.total_time,
dc.replay_gain_db,
dc.replay_gain_prev_db,
dc.GetMixRampStart(),