From 4eb15d1cf4dbd3b2962cdd3930e2d9559acb248e Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Wed, 15 May 2013 22:36:36 +0200 Subject: [PATCH] alsa: Also dump hardware params. Since this makes the alsa output even more verbose, let's downgrade the loglevel of config dump messages to DEBUG. --- alsa_write.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/alsa_write.c b/alsa_write.c index 53854e08..11e4504d 100644 --- a/alsa_write.c +++ b/alsa_write.c @@ -171,15 +171,16 @@ static int alsa_init(struct private_alsa_write_data *pad, if (ret == 0) { char *buf, *p; size_t sz; - PARA_INFO_LOG("dumping alsa configuration\n"); + PARA_DEBUG_LOG("dumping alsa configuration\n"); snd_pcm_dump(pad->handle, output_log); + snd_pcm_hw_params_dump(hwparams, output_log); sz = snd_output_buffer_string(output_log, &buf); for (p = buf; p < buf + sz;) { char *q = memchr(p, '\n', buf + sz - p); if (!q) break; *q = '\0'; - PARA_INFO_LOG("%s\n", p); + PARA_DEBUG_LOG("%s\n", p); p = q + 1; } snd_output_close(output_log); -- 2.39.5