aboutsummaryrefslogtreecommitdiffstats
path: root/src/song.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-12-26 13:56:35 +0100
committerMax Kellermann <max@duempel.org>2009-12-26 13:56:35 +0100
commit6622d69fda7cd885e4695e865a9f9c70392257e2 (patch)
treedf8e9a871b9709bb741dc1bdc7fb5c1a3385e34e /src/song.h
parent216dff98d2f558f4095de50c6a848e3b074c70e6 (diff)
downloadmpd-6622d69fda7cd885e4695e865a9f9c70392257e2.tar.gz
mpd-6622d69fda7cd885e4695e865a9f9c70392257e2.tar.xz
mpd-6622d69fda7cd885e4695e865a9f9c70392257e2.zip
song: added function song_get_duration()
Diffstat (limited to '')
-rw-r--r--src/song.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/song.h b/src/song.h
index c8e80b0d1..832f3d700 100644
--- a/src/song.h
+++ b/src/song.h
@@ -69,6 +69,9 @@ song_file_update_inarchive(struct song *song);
char *
song_get_uri(const struct song *song);
+double
+song_get_duration(const struct song *song);
+
static inline bool
song_in_database(const struct song *song)
{