Hi,
This is a small patch for alsa-lib that supports the common ".d" folder configs.
The idea here is to make it easier for packagers and distros to supply plugin configuration without having to patch alsa-lib to do so (or by managing a /etc/asound.conf file which may want to be tweaked by multiple files)
If this patch is accepted, I'll modify alsa-plugins to inlcude a pulseaudio.conf file in /usr/share/alsa/alsa.conf.d/ which defines a pcm.pulse anc ctl.pulse. If distros want to default to PA, they should include their own file in there that defines pcm|ctl.!default appropriately.
Similar configuration could be added for third party alsa plugins such as the DTS encoder plugin being developed by Alexander Patrikov which are shipped outside of alsa.
I don't think there is anything too controversial in here, so hopefully it'll be accepted.
Cheers
Col