From: Andre Noll Date: Thu, 5 Sep 2013 04:18:48 +0000 (+0000) Subject: audiod: Unify startup messages of receivers, filters and writers. X-Git-Tag: v0.5.1~11^2~7 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=cd5f0aa2b06b227f519600705fdde2a13f03424d;p=paraslash.git audiod: Unify startup messages of receivers, filters and writers. During buffer tree startup para_audiod logs one message with log level NOTICE for the receiver and one for each filter. The writer startup message is printed only with loglevel INFO though. Upgrade the loglevel of this message to NOTICE as well. --- diff --git a/audiod.c b/audiod.c index 5ed70673..687fc5c2 100644 --- a/audiod.c +++ b/audiod.c @@ -520,12 +520,13 @@ static void open_writers(struct slot_info *s) assert(s->wns == NULL); s->wns = para_calloc(PARA_MAX(1U, a->num_writers) * sizeof(struct writer_node)); - PARA_INFO_LOG("opening %s writers\n", audio_formats[s->format]); for (i = 0; i < a->num_writers; i++) { wn = s->wns + i; wn->conf = a->writer_conf[i]; wn->writer_num = a->writer_nums[i]; register_writer_node(wn, parent, &sched); + PARA_NOTICE_LOG("%s writer started in slot %d\n", + writer_names[a->writer_nums[i]], (int)(s - slot)); } }