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

--- Comment #29 from Raymond <superquad.vort...@gmail.com> ---
http://git.alsa-project.org/?p=alsa-plugins.git;a=blob;f=a52/pcm_a52.c;hb=HEAD

tatic int a52_set_hw_constraint(struct a52_ctx *rec)
{
        static unsigned int accesses[] = {
                SND_PCM_ACCESS_MMAP_INTERLEAVED,
                SND_PCM_ACCESS_MMAP_NONINTERLEAVED,
                SND_PCM_ACCESS_RW_INTERLEAVED,
                SND_PCM_ACCESS_RW_NONINTERLEAVED
        };
        static unsigned int accesses_planar[] = {
                SND_PCM_ACCESS_MMAP_NONINTERLEAVED,
                SND_PCM_ACCESS_RW_NONINTERLEAVED
        };
        unsigned int formats[] = { SND_PCM_FORMAT_S16 };
        int err;
        snd_pcm_uframes_t buffer_max;
        unsigned int period_bytes, max_periods;

        if (use_planar(rec))
                err = snd_pcm_ioplug_set_param_list(&rec->io,
                                                    SND_PCM_IOPLUG_HW_ACCESS,
                                                   
ARRAY_SIZE(accesses_planar),
                                                    accesses_planar);
        else
                err = snd_pcm_ioplug_set_param_list(&rec->io,
                                                    SND_PCM_IOPLUG_HW_ACCESS,
                                                    ARRAY_SIZE(accesses),
                                                    accesses);
        if (err < 0)
                return err;


it seem use_planar(rec) is false as pulseaudio log 

D: [pulseaudio] alsa-util.c: Trying a52:0 with SND_PCM_NO_AUTO_FORMAT ...
D: [pulseaudio] alsa-util.c: Managed to open a52:0
D: [pulseaudio] alsa-util.c: snd_pcm_hw_params_set_access() failed: Invalid
argument
D: [pulseaudio] alsa-util.c: PCM seems to support non-interleaved access, but
PA doesn't.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
_______________________________________________
pulseaudio-bugs mailing list
pulseaudio-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs

Reply via email to