aboutsummaryrefslogtreecommitdiffstats
path: root/src/PlayerControl.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-08-29 12:43:47 +0200
committerMax Kellermann <max@duempel.org>2014-08-29 13:20:58 +0200
commit22899686346088a536be11e0c6a68700d4a237a4 (patch)
tree4e3843a55dd85bd34ac8740561c36506d03cd564 /src/PlayerControl.hxx
parentca252804c6bbba163fe00d660f47ca4856e4874e (diff)
downloadmpd-22899686346088a536be11e0c6a68700d4a237a4.tar.gz
mpd-22899686346088a536be11e0c6a68700d4a237a4.tar.xz
mpd-22899686346088a536be11e0c6a68700d4a237a4.zip
PlayerControl: use SignedSongTime for the song duration
Diffstat (limited to '')
-rw-r--r--src/PlayerControl.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/PlayerControl.hxx b/src/PlayerControl.hxx
index ac5e6602d..abd8e6af5 100644
--- a/src/PlayerControl.hxx
+++ b/src/PlayerControl.hxx
@@ -89,7 +89,7 @@ struct player_status {
PlayerState state;
uint16_t bit_rate;
AudioFormat audio_format;
- float total_time;
+ SignedSongTime total_time;
float elapsed_time;
};
@@ -151,7 +151,7 @@ struct PlayerControl {
uint16_t bit_rate;
AudioFormat audio_format;
- float total_time;
+ SignedSongTime total_time;
float elapsed_time;
/**