aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder_control.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-11-03 19:18:17 +0100
committerMax Kellermann <max@duempel.org>2009-11-03 19:18:17 +0100
commitacb265d082fad45d6c298098a255bcb7daa4e954 (patch)
treeddac97073b1dd958ba4d57f892e326736878cbe4 /src/decoder_control.c
parent77a647fc2695f95dcf47bb42fd3a6cd519d99736 (diff)
downloadmpd-acb265d082fad45d6c298098a255bcb7daa4e954.tar.gz
mpd-acb265d082fad45d6c298098a255bcb7daa4e954.tar.xz
mpd-acb265d082fad45d6c298098a255bcb7daa4e954.zip
player_thread: don't start the decoder asynchronously
The START command returns without blocking; we don't need the asynchronous decoder start anymore.
Diffstat (limited to 'src/decoder_control.c')
-rw-r--r--src/decoder_control.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/decoder_control.c b/src/decoder_control.c
index 9844b6918..b3092f773 100644
--- a/src/decoder_control.c
+++ b/src/decoder_control.c
@@ -94,16 +94,6 @@ dc_start(struct decoder_control *dc, struct song *song)
}
void
-dc_start_async(struct decoder_control *dc, struct song *song)
-{
- assert(dc->pipe != NULL);
- assert(song != NULL);
-
- dc->next_song = song;
- dc_command_async(dc, DECODE_COMMAND_START);
-}
-
-void
dc_stop(struct decoder_control *dc)
{
decoder_lock(dc);