X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=audiod.c;h=91122308f8dada77a3a73121968dca47305d7fc7;hp=41be3c4f757c64e200c1e6772f82bac6cbe56d9b;hb=ce462a35951601577f187e30e0a651ed04c3fb51;hpb=a7f2d19821d3251298364b8a45d5c5f7bf9d5baa diff --git a/audiod.c b/audiod.c index 41be3c4f..91122308 100644 --- a/audiod.c +++ b/audiod.c @@ -1205,7 +1205,7 @@ min_delay: } /* restart the client task if necessary */ -static void status_post_select(struct sched *s, struct task *t) +static int status_post_select(struct sched *s, struct task *t) { struct status_task *st = container_of(t, struct status_task, task); @@ -1278,13 +1278,15 @@ static void status_post_select(struct sched *s, struct task *t) st->last_status_read = *now; out: start_stop_decoders(); + return 0; } static void init_status_task(struct status_task *st) { memset(st, 0, sizeof(struct status_task)); st->task.pre_select = status_pre_select; - st->task.post_select = status_post_select; + st->task.new_post_select = status_post_select; + st->task.post_select = NULL; st->sa_time_diff_sign = 1; st->clock_diff_count = conf.clock_diff_count_arg; st->current_audio_format_num = -1;