[pulseaudio-commits] src/modules

David Henningsson diwic at kemper.freedesktop.org
Mon Feb 16 01:43:00 PST 2015


 src/modules/alsa/alsa-util.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 838742b06ef2c5bd6cba23ad8577f1940e8a3775
Author: David Henningsson <david.henningsson at canonical.com>
Date:   Mon Feb 16 10:41:54 2015 +0100

    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 <david.henningsson at canonical.com>

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.");
     }
 }
 



More information about the pulseaudio-commits mailing list