diff options
author | Max Kellermann <max@duempel.org> | 2009-10-08 21:12:57 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-10-08 21:12:57 +0200 |
commit | e5857cb722c4ce3319cb35c3c26c26ab2c5a8d33 (patch) | |
tree | 3c5d8113246c38729667657159037c40370108ca /src/playlist_control.c | |
parent | 2ec89c6304a7f72a342a47a3d19f8f04d19735a1 (diff) | |
download | mpd-e5857cb722c4ce3319cb35c3c26c26ab2c5a8d33.tar.gz mpd-e5857cb722c4ce3319cb35c3c26c26ab2c5a8d33.tar.xz mpd-e5857cb722c4ce3319cb35c3c26c26ab2c5a8d33.zip |
player_control: no CamelCase
Diffstat (limited to '')
-rw-r--r-- | src/playlist_control.c | 8 |
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; |