X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;ds=sidebyside;f=audiod.c;h=778318cebc2b8958e26b378987a4842c615a237d;hb=9b565c60fd159e12d255bb18db9dbff066deebea;hp=99b4c7df78ddfe2b48058726a5a3acc9ca18fd61;hpb=9bf4bc297a7cb88f4f886c6b8d600fd6c584139c;p=paraslash.git diff --git a/audiod.c b/audiod.c index 99b4c7df..778318ce 100644 --- a/audiod.c +++ b/audiod.c @@ -191,7 +191,7 @@ int get_audio_format_num(const char *name) * It has to to take into account that probably the stream was not started at * the beginning of the file, that the clock between the server and the client * host may differ and that playback of the stream was delayed, e.g. because - * the prebuffer filter is used in the filter chain of the given slot. + * the prebuffer filter is used in the filter configuration of the given slot. * * If no writer is active in the given slot, or \a slot_num is negative * (indicating that para_audiod runs in standby mode), an approximation based @@ -980,15 +980,11 @@ static void signal_pre_select(struct sched *s, struct task *t) para_fd_set(st->fd, &s->rfds, &s->max_fileno); } -static void signal_post_select(struct sched *s, struct task *t) +static void signal_post_select(struct sched *s, __a_unused struct task *t) { - struct signal_task *st = container_of(t, struct signal_task, task); int signum; - if (!FD_ISSET(st->fd, &s->rfds)) - return; - - signum = para_next_signal(); + signum = para_next_signal(&s->rfds); switch (signum) { case SIGINT: case SIGTERM: