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@canonical.com>
This commit is contained in:
David Henningsson 2015-02-16 10:41:54 +01:00
parent 55a25246ee
commit 838742b06e

View file

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