aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist.c
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/playlist.c
parent2ec89c6304a7f72a342a47a3d19f8f04d19735a1 (diff)
downloadmpd-e5857cb722c4ce3319cb35c3c26c26ab2c5a8d33.tar.gz
mpd-e5857cb722c4ce3319cb35c3c26c26ab2c5a8d33.tar.xz
mpd-e5857cb722c4ce3319cb35c3c26c26ab2c5a8d33.zip
player_control: no CamelCase
Diffstat (limited to '')
-rw-r--r--src/playlist.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/playlist.c b/src/playlist.c
index 62a723d34..6ca9d014b 100644
--- a/src/playlist.c
+++ b/src/playlist.c
@@ -88,7 +88,7 @@ playlist_queue_song_order(struct playlist *playlist, unsigned order)
g_debug("queue song %i:\"%s\"", playlist->queued, uri);
g_free(uri);
- queueSong(song);
+ pc_enqueue_song(song);
}
/**
@@ -190,7 +190,7 @@ playlist_play_order(struct playlist *playlist, int orderNum)
g_debug("play %i:\"%s\"", orderNum, uri);
g_free(uri);
- playerPlay(song);
+ pc_play(song);
playlist->current = orderNum;
}
@@ -209,7 +209,7 @@ playlist_sync(struct playlist *playlist)
playing anymore; ignore the event */
return;
- if (getPlayerState() == PLAYER_STATE_STOP)
+ if (pc_get_state() == PLAYER_STATE_STOP)
/* the player thread has stopped: check if playback
should be restarted with the next song. That can
happen if the playlist isn't filling the queue fast
@@ -237,9 +237,9 @@ playlist_resume_playback(struct playlist *playlist)
enum player_error error;
assert(playlist->playing);
- assert(getPlayerState() == PLAYER_STATE_STOP);
+ assert(pc_get_state() == PLAYER_STATE_STOP);
- error = getPlayerError();
+ error = pc_get_error();
if (error == PLAYER_ERROR_NOERROR)
playlist->error_count = 0;
else