aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist_control.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_control.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_control.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/playlist_control.c b/src/playlist_control.c
index 16f4d5738..66e7934dc 100644
--- a/src/playlist_control.c
+++ b/src/playlist_control.c
@@ -38,7 +38,7 @@ void playlist_stop(struct playlist *playlist)
assert(playlist->current >= 0);
g_debug("stop");
- playerWait();
+ pc_stop();
playlist->queued = -1;
playlist->playing = false;
@@ -64,7 +64,7 @@ enum playlist_result playlist_play(struct playlist *playlist, int song)
{
unsigned i = song;
- clearPlayerError();
+ pc_clear_error();
if (song == -1) {
/* play any song ("current" song, or the first song */
@@ -75,7 +75,7 @@ enum playlist_result playlist_play(struct playlist *playlist, int song)
if (playlist->playing) {
/* already playing: unpause playback, just in
case it was paused, and return */
- playerSetPause(0);
+ pc_set_pause(false);
return PLAYLIST_RESULT_SUCCESS;
}
@@ -217,7 +217,7 @@ playlist_seek_song(struct playlist *playlist, unsigned song, float seek_time)
else
i = song;
- clearPlayerError();
+ pc_clear_error();
playlist->stop_on_error = true;
playlist->error_count = 0;