From 127fe6ecf001a7bfb7f9a1d704d22c5a866896a5 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 28 Aug 2014 12:53:48 +0200 Subject: PlaylistEdit: pass std::chrono::duration to SetSongIdRange() --- src/queue/Playlist.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/queue/Playlist.hxx') diff --git a/src/queue/Playlist.hxx b/src/queue/Playlist.hxx index 75e861a82..581d2a73b 100644 --- a/src/queue/Playlist.hxx +++ b/src/queue/Playlist.hxx @@ -228,11 +228,11 @@ public: unsigned song_id, uint8_t priority); /** - * Sets the start_ms and end_ms attributes on the song + * Sets the start_time and end_time attributes on the song * with the specified id. */ bool SetSongIdRange(PlayerControl &pc, unsigned id, - unsigned start_ms, unsigned end_ms, + SongTime start, SongTime end, Error &error); bool AddSongIdTag(unsigned id, TagType tag_type, const char *value, -- cgit v1.2.3