<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - pulseaudio core dumped when switch to profile output:iec958-ac3-surround-51 (alsa a52 plugin)"
href="https://bugs.freedesktop.org/show_bug.cgi?id=93637#c29">Comment # 29</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - pulseaudio core dumped when switch to profile output:iec958-ac3-surround-51 (alsa a52 plugin)"
href="https://bugs.freedesktop.org/show_bug.cgi?id=93637">bug 93637</a>
from <span class="vcard"><a class="email" href="mailto:superquad.vortex2@gmail.com" title="Raymond <superquad.vortex2@gmail.com>"> <span class="fn">Raymond</span></a>
</span></b>
<pre><a href="http://git.alsa-project.org/?p=alsa-plugins.git;a=blob;f=a52/pcm_a52.c;hb=HEAD">http://git.alsa-project.org/?p=alsa-plugins.git;a=blob;f=a52/pcm_a52.c;hb=HEAD</a>
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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>