aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/MultipleOutputs.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-08-29 13:13:08 +0200
committerMax Kellermann <max@duempel.org>2014-08-29 13:20:58 +0200
commit147d301f102512b1a64c85e3896bdd466fb634af (patch)
tree28678be7dea3760074bd2e8ce2fed07cd8fc8aaf /src/output/MultipleOutputs.hxx
parent75a89c59838ff764b55ba3ce359d59d031446b3d (diff)
downloadmpd-147d301f102512b1a64c85e3896bdd466fb634af.tar.gz
mpd-147d301f102512b1a64c85e3896bdd466fb634af.tar.xz
mpd-147d301f102512b1a64c85e3896bdd466fb634af.zip
MultipleOutputs: use SignedSongTime for elapsed_time
Diffstat (limited to 'src/output/MultipleOutputs.hxx')
-rw-r--r--src/output/MultipleOutputs.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/output/MultipleOutputs.hxx b/src/output/MultipleOutputs.hxx
index f8482037c..2c6536e2a 100644
--- a/src/output/MultipleOutputs.hxx
+++ b/src/output/MultipleOutputs.hxx
@@ -28,6 +28,7 @@
#include "AudioFormat.hxx"
#include "ReplayGainInfo.hxx"
+#include "Chrono.hxx"
#include "Compiler.h"
#include <vector>
@@ -66,7 +67,7 @@ class MultipleOutputs {
* The "elapsed_time" stamp of the most recently finished
* chunk.
*/
- float elapsed_time;
+ SignedSongTime elapsed_time;
public:
/**
@@ -194,7 +195,7 @@ public:
* finished yet.
*/
gcc_pure
- float GetElapsedTime() const {
+ SignedSongTime GetElapsedTime() const {
return elapsed_time;
}