aboutsummaryrefslogtreecommitdiffstats
path: root/src/player_thread.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-01 18:12:14 +0100
committerMax Kellermann <max@duempel.org>2009-01-01 18:12:14 +0100
commit22bb5a5856ff4c195a179610dfb3f09af3183467 (patch)
treeffc7fede9d6208559217a82b7283725bfd114d31 /src/player_thread.c
parent9f5934d95bac6436ccc9a6dadc57e1e062505a79 (diff)
downloadmpd-22bb5a5856ff4c195a179610dfb3f09af3183467.tar.gz
mpd-22bb5a5856ff4c195a179610dfb3f09af3183467.tar.xz
mpd-22bb5a5856ff4c195a179610dfb3f09af3183467.zip
event_pipe: renamed functions from main_notify_* to event_pipe_*
Continuing the previous patch.
Diffstat (limited to 'src/player_thread.c')
-rw-r--r--src/player_thread.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/player_thread.c b/src/player_thread.c
index c8352555b..75419c9b9 100644
--- a/src/player_thread.c
+++ b/src/player_thread.c
@@ -83,14 +83,14 @@ static void player_command_finished(void)
assert(pc.command != PLAYER_COMMAND_NONE);
pc.command = PLAYER_COMMAND_NONE;
- wakeup_main_task();
+ event_pipe_signal();
}
static void player_stop_decoder(void)
{
dc_stop(&pc.notify);
pc.state = PLAYER_STATE_STOP;
- wakeup_main_task();
+ event_pipe_signal();
}
static int player_wait_for_decoder(struct player *player)
@@ -369,7 +369,7 @@ static void do_play(void)
request the next song from the playlist */
pc.next_song = NULL;
- wakeup_main_task();
+ event_pipe_signal();
}
if (decoder_is_idle() && player.queued) {
@@ -476,7 +476,7 @@ static void do_play(void)
if (player_wait_for_decoder(&player) < 0)
return;
- wakeup_main_task();
+ event_pipe_signal();
} else if (decoder_is_idle()) {
break;
} else {