From cd5f0aa2b06b227f519600705fdde2a13f03424d Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Thu, 5 Sep 2013 04:18:48 +0000 Subject: [PATCH] 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. --- audiod.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)); } } -- 2.30.2