<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#c15">Comment # 15</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:tom.ty89@gmail.com" title="Tom Yan <tom.ty89@gmail.com>"> <span class="fn">Tom Yan</span></a>
</span></b>
<pre>(In reply to Raymond from <a href="show_bug.cgi?id=93637#c11">comment #11</a>)
<span class="quote">> do a52 plugin support non interleaved access mode ?
>
> D: [pulseaudio] alsa-util.c: Slave: A52 Output Plugin
> D: [pulseaudio] alsa-util.c: Its setup is:
> D: [pulseaudio] alsa-util.c: stream : PLAYBACK
> D: [pulseaudio] alsa-util.c: access : MMAP_NONINTERLEAVED
> D: [pulseaudio] alsa-util.c: format : S16_LE
> D: [pulseaudio] alsa-util.c: subformat : STD
> D: [pulseaudio] alsa-util.c: channels : 6
> D: [pulseaudio] alsa-util.c: rate : 48000
> D: [pulseaudio] alsa-util.c: exact rate : 48000 (48000/1)</span >
[tom@localhost ~]$ aplay --dump-hw-param -M -D a52 st.wav
Playing WAVE 'st.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Channels 6
HW Params of device "a52":
--------------------
ACCESS: MMAP_NONINTERLEAVED RW_NONINTERLEAVED
FORMAT: S16_LE
SUBFORMAT: STD
SAMPLE_BITS: 16
FRAME_BITS: 96
CHANNELS: 6
RATE: 48000
PERIOD_TIME: 32000
PERIOD_SIZE: 1536
PERIOD_BYTES: 18432
PERIODS: [2 21]
BUFFER_TIME: [64000 672000]
BUFFER_SIZE: [3072 32256]
BUFFER_BYTES: [36864 387072]
TICK_TIME: ALL
--------------------
Here you go, this is what reported by the a52 plugin. Although it reports
"RW_NONINTERLEAVED" as well, but I can't run aplay without -M:
[tom@localhost ~]$ aplay --dump-hw-param -D a52 st.wav
Playing WAVE 'st.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Channels 6
HW Params of device "a52":
--------------------
ACCESS: MMAP_NONINTERLEAVED RW_NONINTERLEAVED
FORMAT: S16_LE
SUBFORMAT: STD
SAMPLE_BITS: 16
FRAME_BITS: 96
CHANNELS: 6
RATE: 48000
PERIOD_TIME: 32000
PERIOD_SIZE: 1536
PERIOD_BYTES: 18432
PERIODS: [2 21]
BUFFER_TIME: [64000 672000]
BUFFER_SIZE: [3072 32256]
BUFFER_BYTES: [36864 387072]
TICK_TIME: ALL
--------------------
aplay: set_params:1228: Access type not available
These are captured with the original .asoundrc that does not use a "plug"
wrapper btw.
And here is how my sound card goes when it's playing:
[tom@localhost ~]$ cat /proc/asound/card0/pcm1p/sub0/hw_params
access: MMAP_INTERLEAVED
format: S16_LE
subformat: STD
channels: 2
rate: 48000 (48000/1)
period_size: 1536
buffer_size: 24576
FWIW, I see no significant delay in the opening and closing of device when I
monitor this with `watch -n 0.1`.</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>