]> code.delx.au - pulseaudio/commit
alsa: add card ports and path probe cache
authorDavid Henningsson <david.henningsson@canonical.com>
Fri, 25 Nov 2011 14:17:16 +0000 (15:17 +0100)
committerTanu Kaskinen <tanuk@iki.fi>
Thu, 1 Dec 2011 19:49:17 +0000 (21:49 +0200)
commit426daaf6bb7670a775318f243b509ae625c9f700
tree0ed0f6551f6695f0d1cf9d481bb95300b000acb1
parent078a39af886ea3bb590595b973343af77c2837fe
alsa: add card ports and path probe cache

To be able to add ports to all profiles, we need to probe all
profiles at startup. To speed this up, we now have a cache of
probes paths which is owned by the profile set. Since paths
are now owned by the profile set, the path set must now have
a hashmap of paths instead of a linked list.

Signed-off-by: David Henningsson <david.henningsson@canonical.com>
src/modules/alsa/alsa-mixer.c
src/modules/alsa/alsa-mixer.h
src/modules/alsa/alsa-sink.c
src/modules/alsa/alsa-source.c
src/modules/alsa/module-alsa-card.c