[pulseaudio-tickets] [Bug 84804] Pulseaudio doesn't work on (pro audio) soundcards with high channel counts

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Oct 27 09:14:05 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=84804

--- Comment #18 from Raymond <superquad.vortex2 at gmail.com> ---
 those pa_log_debug() should be pa_log_error() to indicate both
MMAP_NONINTERLEAVED RW_NONINTERLEAVED are not supported





if (_use_mmap) {

        if (snd_pcm_hw_params_set_access(pcm_handle, hwparams,
SND_PCM_ACCESS_MMAP_INTERLEAVED) < 0) {

            /* mmap() didn't work, fall back to interleaved */

            if ((ret = snd_pcm_hw_params_set_access(pcm_handle, hwparams,
SND_PCM_ACCESS_RW_INTERLEAVED)) < 0) {
                pa_log_debug("snd_pcm_hw_params_set_access() failed: %s",
pa_alsa_strerror(ret));
                goto finish;
            }

            _use_mmap = false;
        }

    } else if ((ret = snd_pcm_hw_params_set_access(pcm_handle, hwparams,
SND_PCM_ACCESS_RW_INTERLEAVED)) < 0) {
        pa_log_debug("snd_pcm_hw_params_set_access() failed: %s",
pa_alsa_strerror(ret));
        goto finish;
    }

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20141027/1dbb8173/attachment.html>


More information about the pulseaudio-bugs mailing list