[pulseaudio-tickets] [Bug 93637] pulseaudio core dumped when switch to profile output:iec958-ac3-surround-51 (alsa a52 plugin)
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Jul 21 08:00:19 UTC 2016
https://bugs.freedesktop.org/show_bug.cgi?id=93637
--- Comment #29 from Raymond <superquad.vortex2 at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20160721/3f442c54/attachment.html>
More information about the pulseaudio-bugs
mailing list