]> git.alsa-project.org Git - alsa-lib.git/commit
conf: Allow for a directory to be given as a config file.
authorColin Guthrie <colin@mageia.org>
Fri, 16 Sep 2011 09:04:26 +0000 (10:04 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 20 Sep 2011 07:28:46 +0000 (09:28 +0200)
commit7924500688fdfeac71e5968e5f5875726a8dce14
tree9bcba7bb1e6f8ff1c8cf007d6083be7e4600bbcc
parent26e80c2e32bd3a088b56a6ea4e30d5b8ccce9112
conf: Allow for a directory to be given as a config file.

When this is done, *.conf files can be placed in that directory and they
will be processed by as if they were included directly.

A directory (typically /usr/share/alsa/alsa.conf.d/) has been
added into the distribution.

v2: Used existing conf syntax rather than processing via autotools
v3: Split file loading into separate function and made error handling
more consistent.

Signed-off-by: Colin Guthrie <colin@mageia.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
configure.in
src/conf.c
src/conf/Makefile.am
src/conf/alsa.conf
src/conf/alsa.conf.d/Makefile.am [new file with mode: 0644]
src/conf/alsa.conf.d/README [new file with mode: 0644]