[pulseaudio-tickets] [Bug 93651] pulseaudio try to open non-existent /dev/snd/pcm* which hugely increased startup time

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Jan 10 08:24:07 PST 2016


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

--- Comment #4 from Tanu Kaskinen <tanuk at iki.fi> ---
If the sound card probing takes several seconds, it's an issue in the alsa
kernel driver. It shouldn't take that long.

PulseAudio tries to access those nonexistent devices, because the best way to
figure out whether a given alsa device can be used is to actually try to use
it. Also, PulseAudio doesn't directly use the /dev/snd/* files; instead,
PulseAudio uses logical device names like "front", "surround51", "iec958" and
"hdmi". Alsa's configuration files define how those names map to the actual
device files. The seemingly random selection of device numbers is due to the
hdmi device numbering convention in alsa. PulseAudio probes devices named
"hdmi:x,[0-7]", and the hdmi devices numbered 0-7 typically correspond to
actual device numbers 3 and 7-13 (I don't know the history behind that
convention).

-- 
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/20160110/d2962ca2/attachment.html>


More information about the pulseaudio-bugs mailing list