From 22899686346088a536be11e0c6a68700d4a237a4 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 29 Aug 2014 12:43:47 +0200 Subject: PlayerControl: use SignedSongTime for the song duration --- src/PlayerControl.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/PlayerControl.hxx') 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; /** -- cgit v1.2.3