aboutsummaryrefslogtreecommitdiffstats
path: root/src/queue/Playlist.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-08-28 12:53:48 +0200
committerMax Kellermann <max@duempel.org>2014-08-28 13:03:18 +0200
commit127fe6ecf001a7bfb7f9a1d704d22c5a866896a5 (patch)
tree4aac35b7687d006999c4e1047da5bfa249f6002b /src/queue/Playlist.hxx
parent888ab0c89c154b4bb30b626734ce6a14c42a8ed5 (diff)
downloadmpd-127fe6ecf001a7bfb7f9a1d704d22c5a866896a5.tar.gz
mpd-127fe6ecf001a7bfb7f9a1d704d22c5a866896a5.tar.xz
mpd-127fe6ecf001a7bfb7f9a1d704d22c5a866896a5.zip
PlaylistEdit: pass std::chrono::duration to SetSongIdRange()
Diffstat (limited to '')
-rw-r--r--src/queue/Playlist.hxx4
1 files changed, 2 insertions, 2 deletions
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,