From 2efd8ef52ddf880c26d48bcb55eb1fd4c830481a Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 28 Aug 2014 12:35:26 +0200 Subject: db/LightSong: use std::chrono::duration for start_ms and end_ms --- src/db/LightSong.hxx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/db/LightSong.hxx') diff --git a/src/db/LightSong.hxx b/src/db/LightSong.hxx index add9da855..26f68d18c 100644 --- a/src/db/LightSong.hxx +++ b/src/db/LightSong.hxx @@ -20,6 +20,7 @@ #ifndef MPD_LIGHT_SONG_HXX #define MPD_LIGHT_SONG_HXX +#include "Chrono.hxx" #include "Compiler.h" #include @@ -64,15 +65,15 @@ struct LightSong { time_t mtime; /** - * Start of this sub-song within the file in milliseconds. + * Start of this sub-song within the file. */ - unsigned start_ms; + SongTime start_time; /** - * End of this sub-song within the file in milliseconds. + * End of this sub-song within the file. * Unused if zero. */ - unsigned end_ms; + SongTime end_time; gcc_pure std::string GetURI() const { -- cgit v1.2.3