aboutsummaryrefslogtreecommitdiffstats
path: root/src/player_control.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/player_control.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/player_control.h b/src/player_control.h
index c8bcf2462..b1f7481cd 100644
--- a/src/player_control.h
+++ b/src/player_control.h
@@ -132,8 +132,14 @@ void playerWait(void);
void
queueSong(struct song *song);
-int
-playerSeek(struct song *song, float seek_time);
+/**
+ * Makes the player thread seek the specified song to a position.
+ *
+ * @return true on success, false on failure (e.g. if MPD isn't
+ * playing currently)
+ */
+bool
+pc_seek(struct song *song, float seek_time);
void setPlayerCrossFade(float crossFadeInSeconds);