aboutsummaryrefslogtreecommitdiffstats
path: root/src/player_control.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-10-08 21:12:57 +0200
committerMax Kellermann <max@duempel.org>2009-10-08 21:12:57 +0200
commite5857cb722c4ce3319cb35c3c26c26ab2c5a8d33 (patch)
tree3c5d8113246c38729667657159037c40370108ca /src/player_control.h
parent2ec89c6304a7f72a342a47a3d19f8f04d19735a1 (diff)
downloadmpd-e5857cb722c4ce3319cb35c3c26c26ab2c5a8d33.tar.gz
mpd-e5857cb722c4ce3319cb35c3c26c26ab2c5a8d33.tar.xz
mpd-e5857cb722c4ce3319cb35c3c26c26ab2c5a8d33.zip
player_control: no CamelCase
Diffstat (limited to '')
-rw-r--r--src/player_control.h39
1 files changed, 24 insertions, 15 deletions
diff --git a/src/player_control.h b/src/player_control.h
index e6b19ee68..a18120ca1 100644
--- a/src/player_control.h
+++ b/src/player_control.h
@@ -107,39 +107,47 @@ void
pc_song_deleted(const struct song *song);
void
-playerPlay(struct song *song);
+pc_play(struct song *song);
/**
* see PLAYER_COMMAND_CANCEL
*/
void pc_cancel(void);
-void playerSetPause(int pause_flag);
+void
+pc_set_pause(bool pause_flag);
-void playerPause(void);
+void
+pc_pause(void);
-void playerKill(void);
+void
+pc_kill(void);
void
pc_get_status(struct player_status *status);
-enum player_state getPlayerState(void);
+enum player_state
+pc_get_state(void);
-void clearPlayerError(void);
+void
+pc_clear_error(void);
/**
* Returns the human-readable message describing the last error during
* playback, NULL if no error occurred. The caller has to free the
* returned string.
*/
-char *getPlayerErrorStr(void);
+char *
+pc_get_error_message(void);
-enum player_error getPlayerError(void);
+enum player_error
+pc_get_error(void);
-void playerWait(void);
+void
+pc_stop(void);
void
-queueSong(struct song *song);
+pc_enqueue_song(struct song *song);
/**
* Makes the player thread seek the specified song to a position.
@@ -150,12 +158,13 @@ queueSong(struct song *song);
bool
pc_seek(struct song *song, float seek_time);
-void setPlayerCrossFade(float crossFadeInSeconds);
-
-float getPlayerCrossFade(void);
+void
+pc_set_cross_fade(float cross_fade_seconds);
-double getPlayerTotalPlayTime(void);
+float
+pc_get_cross_fade(void);
-void playerInit(void);
+double
+pc_get_total_play_time(void);
#endif