mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-25 06:59:54 -05:00
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>
This commit is contained in:
parent
26e80c2e32
commit
7924500688
6 changed files with 87 additions and 13 deletions
|
|
@ -8,6 +8,13 @@
|
|||
{
|
||||
func load
|
||||
files [
|
||||
{
|
||||
@func concat
|
||||
strings [
|
||||
{ @func datadir }
|
||||
"/alsa.conf.d/"
|
||||
]
|
||||
}
|
||||
"/etc/asound.conf"
|
||||
"~/.asoundrc"
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue