aboutsummaryrefslogtreecommitdiffstats
path: root/src/PlayerControl.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-10-28 10:12:21 +0100
committerMax Kellermann <max@duempel.org>2013-10-28 10:12:33 +0100
commit5b5675cc121eff6ba4b89719a523bfbe3993ce2f (patch)
tree92bd72d3f460d184d5769256270c76db0fb6080b /src/PlayerControl.hxx
parente699f6781e144d02336856d460a74fbaf988447d (diff)
downloadmpd-5b5675cc121eff6ba4b89719a523bfbe3993ce2f.tar.gz
mpd-5b5675cc121eff6ba4b89719a523bfbe3993ce2f.tar.xz
mpd-5b5675cc121eff6ba4b89719a523bfbe3993ce2f.zip
player_control: rename to PlayerControl
Diffstat (limited to '')
-rw-r--r--src/PlayerControl.hxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/PlayerControl.hxx b/src/PlayerControl.hxx
index bdfc10fec..97e15b06c 100644
--- a/src/PlayerControl.hxx
+++ b/src/PlayerControl.hxx
@@ -50,18 +50,18 @@ enum class PlayerCommand : uint8_t {
*/
UPDATE_AUDIO,
- /** player_control.next_song has been updated */
+ /** PlayerControl.next_song has been updated */
QUEUE,
/**
- * cancel pre-decoding player_control.next_song; if the player
+ * cancel pre-decoding PlayerControl.next_song; if the player
* has already started playing this song, it will completely
* stop
*/
CANCEL,
/**
- * Refresh status information in the #player_control struct,
+ * Refresh status information in the #PlayerControl struct,
* e.g. elapsed_time.
*/
REFRESH,
@@ -89,7 +89,7 @@ struct player_status {
float elapsed_time;
};
-struct player_control {
+struct PlayerControl {
unsigned buffer_chunks;
unsigned int buffered_before_play;
@@ -169,9 +169,9 @@ struct player_control {
*/
bool border_pause;
- player_control(unsigned buffer_chunks,
- unsigned buffered_before_play);
- ~player_control();
+ PlayerControl(unsigned buffer_chunks,
+ unsigned buffered_before_play);
+ ~PlayerControl();
/**
* Locks the object.