From acb265d082fad45d6c298098a255bcb7daa4e954 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 3 Nov 2009 19:18:17 +0100 Subject: player_thread: don't start the decoder asynchronously The START command returns without blocking; we don't need the asynchronous decoder start anymore. --- src/decoder_control.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/decoder_control.c') diff --git a/src/decoder_control.c b/src/decoder_control.c index 9844b691..b3092f77 100644 --- a/src/decoder_control.c +++ b/src/decoder_control.c @@ -93,16 +93,6 @@ dc_start(struct decoder_control *dc, struct song *song) dc_command(dc, DECODE_COMMAND_START); } -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) { -- cgit v1.2.3