PlayerControl: use SignedSongTime for the song duration

This commit is contained in:
Max Kellermann
2014-08-29 12:43:47 +02:00
parent ca252804c6
commit 2289968634
3 changed files with 16 additions and 14 deletions

View File

@@ -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;
/**