From: David Henningsson Date: Mon, 16 Feb 2015 09:41:54 +0000 (+0100) Subject: alsa-util: Make two of the warnings "debug" instead of "error" X-Git-Tag: v6.99.1~133 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=838742b06ef2c5bd6cba23ad8577f1940e8a3775;p=platform%2Fupstream%2Fpulseaudio.git alsa-util: Make two of the warnings "debug" instead of "error" ...because we will later try with plug:* which will probably succeed, so this is not an error. Signed-off-by: David Henningsson --- diff --git a/src/modules/alsa/alsa-util.c b/src/modules/alsa/alsa-util.c index d62234c..bb79e71 100644 --- a/src/modules/alsa/alsa-util.c +++ b/src/modules/alsa/alsa-util.c @@ -188,9 +188,9 @@ static void check_access(snd_pcm_t *pcm_handle, snd_pcm_hw_params_t *hwparams, b if ((use_mmap && !snd_pcm_hw_params_test_access(pcm_handle, hwparams, SND_PCM_ACCESS_MMAP_NONINTERLEAVED)) || !snd_pcm_hw_params_test_access(pcm_handle, hwparams, SND_PCM_ACCESS_RW_NONINTERLEAVED)) - pa_log_error("PCM seems to support non-interleaved access, but PA doesn't."); + pa_log_debug("PCM seems to support non-interleaved access, but PA doesn't."); else if (use_mmap && !snd_pcm_hw_params_test_access(pcm_handle, hwparams, SND_PCM_ACCESS_MMAP_COMPLEX)) { - pa_log_error("PCM seems to support mmapped complex access, but PA doesn't."); + pa_log_debug("PCM seems to support mmapped complex access, but PA doesn't."); } }