[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
Fri Jan 8 22:31:40 PST 2016


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

--- Comment #15 from Tom Yan <tom.ty89 at gmail.com> ---
(In reply to Raymond from comment #11)
> 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)

[tom at 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 at 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 at 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`.

-- 
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/20160109/399193d8/attachment.html>


More information about the pulseaudio-bugs mailing list